Skip to content

x86_64: Merge (paranoid)?(zero|error)entry(_idt)?

Andy Lutomirski lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86_64: Add missing 'DEFAULT_FRAME 0' entry annotationsarch/x86/kernel/entry_64.S+2 -00 replies
2/3x86_64: Merge most 64-bit asm entry macrosarch/x86/kernel/entry_64.S+64 -880 replies
3/3x86_64: Merge paranoidzeroentry_ist into idtentryarch/x86/kernel/entry_64.S+22 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] x86_64: Merge (paranoid)?(zero|error)entry(_idt)?

Inspired by the RET vs IRET discussion, I thought about how much of a mess the current entry macros are and I shuddered at the thought of trying to modify them.

This little series merges them all into one idtentry macro that has arguments that specify all the various weird behaviors. It has a major
benefit: you can now look at the code and see how, say, the has_error_code and !has_error_code cases differ.

Andy Lutomirski (3):
x86_64: Add missing 'DEFAULT_FRAME 0' entry annotations
x86_64: Merge most 64-bit asm entry macros
x86_64: Merge paranoidzeroentry_ist into idtentry

 arch/x86/kernel/entry_64.S | 185 ++++++++++++++++++++-------------------------
 1 file changed, 80 insertions(+), 105 deletions(-)
Signature · 1 line
1.9.0