All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 00/16] x86/entry: Consolidation - Part IV
@ 2020-02-25 22:33 Thomas Gleixner
  2020-02-25 22:33 ` [patch 01/16] x86/entry: Provide IDTENTRY_IST Thomas Gleixner
                   ` (15 more replies)
  0 siblings, 16 replies; 31+ messages in thread
From: Thomas Gleixner @ 2020-02-25 22:33 UTC (permalink / raw)
  To: LKML
  Cc: x86, Steven Rostedt, Brian Gerst, Juergen Gross, Paolo Bonzini,
	Arnd Bergmann

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@linutronix.de

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

 https://lore.kernel.org/r/20200225221606.511535280@linutronix.de

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(-)

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2020-03-05 23:02 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-25 22:33 [patch 00/16] x86/entry: Consolidation - Part IV Thomas Gleixner
2020-02-25 22:33 ` [patch 01/16] x86/entry: Provide IDTENTRY_IST Thomas Gleixner
2020-02-25 22:33 ` [patch 02/16] x86/entry: Convert Machine Check to IDTENTRY_IST Thomas Gleixner
2020-02-25 22:33 ` [patch 03/16] x86/idtentry: Provide IDTENTRY_XEN for XEN/PV Thomas Gleixner
2020-02-25 22:33 ` [patch 04/16] x86/entry: Convert NMI to IDTENTRY_NMI Thomas Gleixner
2020-02-25 22:33 ` [patch 05/16] x86/entry: Convert Debug exception to IDTENTRY_DB Thomas Gleixner
2020-02-25 22:33 ` [patch 06/16] x86/entry/64: Remove error code clearing from #DB and #MCE ASM stub Thomas Gleixner
2020-02-25 22:33 ` [patch 07/16] x86/entry: Provide IDTRENTRY_NOIST variants for #DB and #MC Thomas Gleixner
2020-02-25 22:33 ` [patch 08/16] x86/entry: Implement user mode C entry points for #DB and #MCE Thomas Gleixner
2020-02-25 22:33 ` [patch 09/16] x86/entry: Provide IDTENTRY_DF Thomas Gleixner
2020-02-25 22:33 ` [patch 10/16] x86/entry: Convert double fault exception to IDTENTRY_DF Thomas Gleixner
2020-02-25 22:33 ` [patch 11/16] x86/entry: Switch XEN/PV hypercall entry to IDTENTRY Thomas Gleixner
2020-02-25 22:33 ` [patch 12/16] x86/entry/64: Simplify idtentry_body Thomas Gleixner
2020-02-25 22:33 ` [patch 13/16] x86/entry: Move irqflags and context tracking to C for simple idtentries Thomas Gleixner
2020-02-26  8:05   ` Peter Zijlstra
2020-02-26  9:20     ` Peter Zijlstra
2020-02-26 15:11       ` Andy Lutomirski
2020-02-26 16:28         ` Peter Zijlstra
2020-02-26 19:15           ` Andy Lutomirski
2020-02-26 20:25             ` Thomas Gleixner
2020-02-26 17:05     ` Frederic Weisbecker
2020-02-26 17:09       ` Andy Lutomirski
2020-02-26 17:17         ` Frederic Weisbecker
2020-02-25 22:33 ` [patch 14/16] x86/entry: Provide IDTENTRY_CR2 Thomas Gleixner
2020-02-25 22:33 ` [patch 15/16] x86/entry: Switch page fault exceptions to idtentry_simple Thomas Gleixner
2020-03-05 21:51   ` Andy Lutomirski
2020-03-05 23:02     ` Thomas Gleixner
2020-02-25 22:33 ` [patch 16/16] x86/entry: Disable interrupts in IDTENTRY Thomas Gleixner
2020-02-26  9:23   ` Peter Zijlstra
2020-02-26 20:21     ` Thomas Gleixner
2020-02-27  8:41       ` Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.