aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-09-08 15:29:24 +0200
committerBorislav Petkov <bp@suse.de>2021-09-13 18:23:00 +0200
commit0c2e62ba04cd0b7194b380bae4fc35c45bb2e46e (patch)
tree30b13fa2739ae10240113da2c88cda4f68c43027 /tools/perf/builtin-script.c
parentx86/fpu: Use EX_TYPE_FAULT_MCE_SAFE for exception fixups (diff)
downloadwireguard-linux-0c2e62ba04cd0b7194b380bae4fc35c45bb2e46e.tar.xz
wireguard-linux-0c2e62ba04cd0b7194b380bae4fc35c45bb2e46e.zip
x86/extable: Remove EX_TYPE_FAULT from MCE safe fixups
Now that the MC safe copy and FPU have been converted to use the MCE safe fixup types remove EX_TYPE_FAULT from the list of types which MCE considers to be safe to be recovered in kernel. This removes the SGX exception handling of ENCLS from the #MC safe handling, but according to the SGX wizards the current SGX implementations cannot survive #MC on ENCLS: https://lore.kernel.org/r/YS+upEmTfpZub3s9@google.com The code relies on the trap number being stored if ENCLS raised an exception. That's still working, but it does no longer trick the MCE code into assuming that #MC is handled correctly for ENCLS. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210908132525.445255957@linutronix.de
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions