diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-02-25 23:33:29 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-06-11 15:15:00 +0200 |
commit | 4c0dcd8350a03cb65f645a039f2772be880ee74a (patch) | |
tree | c4d232c3383abba5950c28850b905980ab6bdc28 /arch/x86/entry | |
parent | f08e32ec3cfcf9e6d3640007de590c225ab2e201 (diff) | |
download | linux-4c0dcd8350a03cb65f645a039f2772be880ee74a.tar.gz linux-4c0dcd8350a03cb65f645a039f2772be880ee74a.tar.bz2 linux-4c0dcd8350a03cb65f645a039f2772be880ee74a.zip |
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
Diffstat (limited to 'arch/x86/entry')
-rw-r--r-- | arch/x86/entry/entry_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S index eeb428582d3d..d302839b9b3c 100644 --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S @@ -657,7 +657,7 @@ SYM_CODE_START(\asmsym) /* Switch to the regular task stack and use the noist entry point */ .Lfrom_usermode_switch_stack_\@: - idtentry_body vector \cfunc, has_error_code=0 + idtentry_body vector noist_\cfunc, has_error_code=0 sane=1 _ASM_NOKPROBE(\asmsym) SYM_CODE_END(\asmsym) |