x86/entry: Convert Machine Check to IDTENTRY_IST
Convert #MC to IDTENTRY_MCE: - Implement the C entry points with DEFINE_IDTENTRY_MCE - Emit the ASM stub with DECLARE_IDTENTRY_MCE - Remove the ASM idtentry in 64bit - Remove the open coded ASM entry code in 32bit - Fixup the XEN/PV code - Remove the old prototypes - Remove the error code from *machine_check_vector() as it is always 0 and not used by any of the functions it can point to. Fixup all the functions as well. No functional change. Signed-off-by:Thomas Gleixner <tglx@linutronix.de> Reviewed-by:
Alexandre Chartre <alexandre.chartre@oracle.com> Acked-by:
Peter Zijlstra <peterz@infradead.org> Acked-by:
Andy Lutomirski <luto@kernel.org> Link: https://lkml.kernel.org/r/20200505135314.334980426@linutronix.de
Showing
- arch/x86/entry/entry_32.S 0 additions, 9 deletionsarch/x86/entry/entry_32.S
- arch/x86/entry/entry_64.S 0 additions, 3 deletionsarch/x86/entry/entry_64.S
- arch/x86/include/asm/idtentry.h 4 additions, 0 deletionsarch/x86/include/asm/idtentry.h
- arch/x86/include/asm/mce.h 1 addition, 1 deletionarch/x86/include/asm/mce.h
- arch/x86/include/asm/traps.h 0 additions, 7 deletionsarch/x86/include/asm/traps.h
- arch/x86/kernel/cpu/mce/core.c 14 additions, 9 deletionsarch/x86/kernel/cpu/mce/core.c
- arch/x86/kernel/cpu/mce/inject.c 2 additions, 2 deletionsarch/x86/kernel/cpu/mce/inject.c
- arch/x86/kernel/cpu/mce/internal.h 1 addition, 1 deletionarch/x86/kernel/cpu/mce/internal.h
- arch/x86/kernel/cpu/mce/p5.c 1 addition, 1 deletionarch/x86/kernel/cpu/mce/p5.c
- arch/x86/kernel/cpu/mce/winchip.c 1 addition, 1 deletionarch/x86/kernel/cpu/mce/winchip.c
- arch/x86/kernel/idt.c 5 additions, 5 deletionsarch/x86/kernel/idt.c
- arch/x86/kvm/svm/svm.c 1 addition, 1 deletionarch/x86/kvm/svm/svm.c
- arch/x86/kvm/vmx/vmx.c 1 addition, 1 deletionarch/x86/kvm/vmx/vmx.c
- arch/x86/xen/enlighten_pv.c 1 addition, 1 deletionarch/x86/xen/enlighten_pv.c
- arch/x86/xen/xen-asm_64.S 1 addition, 1 deletionarch/x86/xen/xen-asm_64.S
Loading
Please register or sign in to comment