]> git.baikalelectronics.ru Git - kernel.git/commit
x86/entry: Implement user mode C entry points for #DB and #MCE
authorThomas Gleixner <tglx@linutronix.de>
Tue, 25 Feb 2020 22:33:29 +0000 (23:33 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:00 +0000 (15:15 +0200)
commita16f4286b1480bbb92d177b63484812c0b330b30
treec4d232c3383abba5950c28850b905980ab6bdc28
parent9ea089d0bd74a11c718112cddd45e7c67807aef3
x86/entry: Implement user mode C entry points for #DB and #MCE

The MCE entry point uses the same mechanism as the IST entry point for
now. For #DB split the inner workings and just keep the nmi_enter/exit()
magic in the IST variant. Fixup the ASM code to emit the proper
noist_##cfunc call.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200505135315.177564104@linutronix.de
arch/x86/entry/entry_64.S
arch/x86/kernel/cpu/mce/core.c
arch/x86/kernel/traps.c