Skip to content

x86/nmi: NMI cleanups

Lai Jiangshan lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/entry: Make paranoid_exit() callablearch/x86/entry/entry_64.S+11 -73 replies
2/4x86/entry: Call paranoid_exit() in asm_exc_nmi()arch/x86/entry/entry_64.S+5 -290 replies
3/4x86/nmi: Use DEFINE_IDTENTRY_NMI for NMI handlerarch/x86/kernel/nmi.c+1 -10 replies
4/4x86/nmi: Convert nmi_cr2/nmi_dr7 to be func-local variablearch/x86/kernel/nmi.c+7 -70 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/4] x86/nmi: NMI cleanups

From: Lai Jiangshan <[email protected]>

These are very simple cleanups for NMI. They make NMI code a bit tidier.

Patch1-3 are picked from the patchset
https://lore.kernel.org/lkml/[email protected]/
which coverts ASM code to C code.

Patch4 is new.

Lai Jiangshan (4):
x86/entry: Make paranoid_exit() callable x86/entry: Call paranoid_exit() in asm_exc_nmi() x86/nmi: Use DEFINE_IDTENTRY_NMI for NMI handler x86/nmi: Convert nmi_cr2/nmi_dr7 to be func-local variable

 arch/x86/entry/entry_64.S | 52 ++++++++++++---------------------------
 arch/x86/kernel/nmi.c     | 16 ++++++------
 2 files changed, 24 insertions(+), 44 deletions(-)
Signature · 1 line
2.19.1.6.gb485710b