Messages in this thread | | | From | Lai Jiangshan <> | Subject | [PATCH 0/4] x86/nmi: NMI cleanups | Date | Mon, 13 Dec 2021 23:03:36 +0800 |
| |
From: Lai Jiangshan <laijs@linux.alibaba.com>
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/20211126101209.8613-1-jiangshanlai@gmail.com/ 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(-)
-- 2.19.1.6.gb485710b
| |