summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/idtentry.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2021-01-20 14:55:42 +0100
committerBorislav Petkov <bp@suse.de>2021-02-10 12:07:10 +0100
commitc3d7fa6684b5b3a07a48fc379d27bfb8a96661d9 (patch)
tree37a18039a769b210f539b315362a56dada1d674e /arch/x86/include/asm/idtentry.h
parent92bf22614b21a2706f4993b278017e437f7785b3 (diff)
downloadlinux-stable-c3d7fa6684b5b3a07a48fc379d27bfb8a96661d9.tar.gz
linux-stable-c3d7fa6684b5b3a07a48fc379d27bfb8a96661d9.tar.bz2
linux-stable-c3d7fa6684b5b3a07a48fc379d27bfb8a96661d9.zip
x86/xen: Use specific Xen pv interrupt entry for MCE
Xen PV guests don't use IST. For machine check interrupts, switch to the same model as debug interrupts. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20210120135555.32594-3-jgross@suse.com
Diffstat (limited to 'arch/x86/include/asm/idtentry.h')
-rw-r--r--arch/x86/include/asm/idtentry.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/idtentry.h b/arch/x86/include/asm/idtentry.h
index f656aabd1545..616909ea258d 100644
--- a/arch/x86/include/asm/idtentry.h
+++ b/arch/x86/include/asm/idtentry.h
@@ -585,6 +585,9 @@ DECLARE_IDTENTRY_MCE(X86_TRAP_MC, exc_machine_check);
#else
DECLARE_IDTENTRY_RAW(X86_TRAP_MC, exc_machine_check);
#endif
+#ifdef CONFIG_XEN_PV
+DECLARE_IDTENTRY_RAW(X86_TRAP_MC, xenpv_exc_machine_check);
+#endif
#endif
/* NMI */