lkml.org 
[lkml]   [2021]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] x86/nmi: NMI cleanups
Date
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

\
 
 \ /
  Last update: 2021-12-13 16:03    [W:0.063 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site