x86/entry: Consolidation - Part IV
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | x86/entry: Provide IDTENTRY_ISTarch/ | +70 | 0 replies | |
| 2/16 | x86/entry: Convert Machine Check to IDTENTRY_ISTarch/ arch/ arch/ +11 more | +25 | 0 replies | |
| 3/16 | x86/idtentry: Provide IDTENTRY_XEN for XEN/PVarch/ | +17 | 0 replies | |
| 4/16 | x86/entry: Convert NMI to IDTENTRY_NMIarch/ arch/ arch/ +5 more | +25 | 0 replies | |
| 5/16 | x86/entry: Convert Debug exception to IDTENTRY_DBarch/ arch/ arch/ +5 more | +17 | 0 replies | |
| 6/16 | x86/entry/64: Remove error code clearing from #DB and #MCE ASM stubarch/ | +0 | 0 replies | |
| 7/16 | x86/entry: Provide IDTRENTRY_NOIST variants for #DB and #MCarch/ | +16 | 0 replies | |
| 8/16 | x86/entry: Implement user mode C entry points for #DB and #MCEarch/ arch/ arch/ | +34 | 0 replies | |
| 9/16 | x86/entry: Provide IDTENTRY_DFarch/ | +82 | 0 replies | |
| 10/16 | x86/entry: Convert double fault exception to IDTENTRY_DFarch/ arch/ arch/ +6 more | +21 | 0 replies | |
| 11/16 | x86/entry: Switch XEN/PV hypercall entry to IDTENTRYarch/ arch/ arch/ +5 more | +32 | 0 replies | |
| 12/16 | x86/entry/64: Simplify idtentry_bodyarch/ | +0 | 0 replies | |
| 13/16 | x86/entry: Move irqflags and context tracking to C for simple idtentriesarch/ arch/ arch/ | +18 | 9 replies | |
| 14/16 | x86/entry: Provide IDTENTRY_CR2arch/ | +45 | 0 replies | |
| 15/16 | x86/entry: Switch page fault exceptions to idtentry_simplearch/ arch/ arch/ +7 more | +34 | 2 replies | |
| 16/16 | x86/entry: Disable interrupts in IDTENTRYarch/ arch/ | +3 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 00/16] x86/entry: Consolidation - Part IV
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/[email protected]
I applies on top of part III which can be found here:
https://lore.kernel.org/r/[email protected]
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(-)