[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211213150340.9419-1-jiangshanlai@gmail.com>
Date: Mon, 13 Dec 2021 23:03:36 +0800
From: Lai Jiangshan <jiangshanlai@...il.com>
To: linux-kernel@...r.kernel.org
Cc: x86@...nel.org, Lai Jiangshan <laijs@...ux.alibaba.com>
Subject: [PATCH 0/4] x86/nmi: NMI cleanups
From: Lai Jiangshan <laijs@...ux.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
Powered by blists - more mailing lists