aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/check.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2021-10-13 09:47:50 +0200
committerBorislav Petkov <bp@suse.de>2021-12-13 14:12:48 +0100
commit0a5b288e85bbef5227bb6397e31fcf1d7ba9142a (patch)
treeb1c369dfbc7a2bd5f313b5d76af40261da7a2eae /arch/x86/kernel/check.c
parentx86/mce: Allow instrumentation during task work queueing (diff)
downloadlinux-dev-0a5b288e85bbef5227bb6397e31fcf1d7ba9142a.tar.xz
linux-dev-0a5b288e85bbef5227bb6397e31fcf1d7ba9142a.zip
x86/mce: Prevent severity computation from being instrumented
Mark all the MCE severity computation logic noinstr and allow instrumentation when it "calls out". Fixes vmlinux.o: warning: objtool: do_machine_check()+0xc5d: call to mce_severity() leaves .noinstr.text section Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20211208111343.8130-7-bp@alien8.de
Diffstat (limited to 'arch/x86/kernel/check.c')
0 files changed, 0 insertions, 0 deletions