Skip to content

x86/entry: Consolidation - Part III (simple exceptions)

Thomas Gleixner lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest23 patches 3 repliesIn review
  2. v124 patches 15 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23x86/traps: Split trap numbers out in a seperate headerarch/x86/include/asm/trapnr.h arch/x86/include/asm/traps.h+32 -250 replies
2/23x86/entry/64: Avoid pointless code when CONTEXT_TRACKING=narch/x86/entry/entry_64.S+2 -00 replies
3/23x86/entry/64: Reorder idtentriesarch/x86/entry/entry_64.S+19 -230 replies
4/23x86/entry: Distangle idtentryarch/x86/entry/entry_64.S+220 -1820 replies
5/23x86/entry/32: Provide macro to emit IDT entry stubsarch/x86/entry/entry_32.S+42 -02 replies
6/23x86/idtentry: Provide macros to define/declare IDT entry pointsarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +1 more+98 -10 replies
7/23x86/traps: Prepare for using DEFINE_IDTENTRYarch/x86/kernel/traps.c+5 -00 replies
8/23x86/entry: Convert Divide Error to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+26 -150 replies
9/23x86/entry: Convert Overflow exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+9 -150 replies
10/23x86/entry: Convert Bounds exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+9 -190 replies
11/23x86/entry: Convert Invalid Opcode exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +6 more+25 -160 replies
12/23x86/entry: Convert Device not available exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+6 -180 replies
13/23x86/entry: Convert Coprocessor segment overrun exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+10 -150 replies
14/23x86/entry: Provide IDTENTRY_ERRORCODEarch/x86/include/asm/idtentry.h+45 -00 replies
15/23x86/entry: Convert Invalid TSS exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+12 -140 replies
16/23x86/entry: Convert Segment not present exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+10 -140 replies
17/23x86/entry: Convert Stack segment exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+10 -140 replies
18/23x86/entry: Convert General protection exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+9 -190 replies
19/23x86/entry: Convert Spurious interrupt bug exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+5 -160 replies
20/23x86/entry: Convert Coprocessor error exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+6 -160 replies
21/23x86/entry: Convert Alignment check exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+8 -210 replies
22/23x86/entry: Convert SIMD coprocessor error exception to IDTENTRYarch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/idtentry.h +5 more+15 -330 replies
23/23x86/entry/32: Convert IRET exception to IDTENTRY_SWarch/x86/entry/entry_32.S arch/x86/include/asm/idtentry.h arch/x86/include/asm/traps.h +2 more+20 -130 replies

Reviews trailers per patch

8 of 23 patches have a Reviewed-by or Acked-by.

PatchAndy LutomirskiAlexandre ChartreFrederic Weisbecker
1/23R-b R-b
2/23A-b R-b A-b
3/23A-b R-b
4/23R-b
5/23R-b
6/23R-b
7/23R-b
8/23R-b
9/23
10/23
11/23
12/23
13/23
14/23
15/23
16/23
17/23
18/23
19/23
20/23
21/23
22/23
23/23

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [patch part-III V2 00/23] x86/entry: Consolidation - Part III (simple exceptions)

Hi!

This is the second version of the entry consolidation work part III covering simple exceptions. V1 can be found here:

https://lore.kernel.org/r/[email protected]

It applies on top of part II which is available here

https://lore.kernel.org/r/[email protected]

and is also available from git (including part II):

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

The changes vs. V1:

- Remove #BP (int3) conversion as this needs extra care vs. kprobes (Peter)

- Fixup the FOOF bug do_invalid_op() call in fault.c

- Address the few review comments (mostly changelog and comment improvements)

- Picked up Reviewed-by and Acked-by tags

Thanks,

tglx

---
 arch/x86/entry/entry_32.S         |  160 +++++---------
 arch/x86/entry/entry_64.S         |  410 ++++++++++++++++++++------------------
 arch/x86/include/asm/traps.h      |   76 -------
 arch/x86/kernel/idt.c             |   28 +-
 arch/x86/kernel/traps.c           |  131 +++++++-----
 arch/x86/mm/fault.c               |    2 
 arch/x86/xen/enlighten_pv.c       |   33 +--
 arch/x86/xen/xen-asm_32.S         |    2 
 arch/x86/xen/xen-asm_64.S         |   28 +-
 b/arch/x86/include/asm/idtentry.h |  167 +++++++++++++++
 b/arch/x86/include/asm/trapnr.h   |   31 ++
 11 files changed, 611 insertions(+), 457 deletions(-)