[patch 00/16] x86/entry: Consolidation - Part IV

From: Thomas Gleixner
Date: Tue Feb 25 2020 - 18:28:26 EST


Hi!

This is the forth batch of a 73 patches series which consolidates the x86
entry code. The larger explanation is in the part I cover letter:

https://lore.kernel.org/r/20200225213636.689276920@xxxxxxxxxxxxx

I applies on top of part III which can be found here:

https://lore.kernel.org/r/20200225221606.511535280@xxxxxxxxxxxxx

This part consolidates the entry stub ASM code generation further by:

- Converting the more complex exceptions to the new IDTENTRY scheme

- Providing seperate C entry points for #DB and #MC (entry from
user/kernel) to make addressing the RCU vs. world issues which were
discussed in the last weeks simpler.

- Moving the CR2 read for page fault handlers out of ASM code

This applies on top of part three which is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git entry-v1-part3

To get part 1 - 4 pull from here:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git entry-v1-part4

Thanks,

tglx

8<---------------
entry/entry_32.S | 77 +-----------
entry/entry_64.S | 89 ++------------
include/asm/idtentry.h | 287 +++++++++++++++++++++++++++++++++++++++++++++-
include/asm/kvm_para.h | 1
include/asm/mce.h | 2
include/asm/traps.h | 34 -----
kernel/cpu/mce/core.c | 25 ++--
kernel/cpu/mce/inject.c | 4
kernel/cpu/mce/internal.h | 2
kernel/cpu/mce/p5.c | 2
kernel/cpu/mce/winchip.c | 2
kernel/doublefault_32.c | 7 -
kernel/idt.c | 24 +--
kernel/kvm.c | 8 -
kernel/nmi.c | 4
kernel/traps.c | 49 +++++--
kvm/vmx/vmx.c | 2
mm/fault.c | 20 ++-
xen/enlighten_pv.c | 17 +-
xen/setup.c | 4
xen/smp_pv.c | 3
xen/xen-asm_32.S | 8 -
xen/xen-asm_64.S | 14 +-
xen/xen-ops.h | 1
24 files changed, 432 insertions(+), 254 deletions(-)