diff options
author | Borislav Petkov <bp@suse.de> | 2021-11-02 08:14:44 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-12-13 14:13:35 +0100 |
commit | 75581a203e63210aabb1336c8c9cb65a7858b596 (patch) | |
tree | be6f9303a1ab68da1b077bea6d10f8f214dd5bcc /scripts/bpf_doc.py | |
parent | db6c996d6ce45dfb44891f0824a65ecec216f47a (diff) |
x86/mce: Move the tainting outside of the noinstr region
add_taint() is yet another external facility which the #MC handler
calls. Move that tainting call into the instrumentation-allowed part of
the handler.
Fixes
vmlinux.o: warning: objtool: do_machine_check()+0x617: call to add_taint() leaves .noinstr.text section
While at it, allow instrumentation around the mce_log() call.
Fixes
vmlinux.o: warning: objtool: do_machine_check()+0x690: call to mce_log() leaves .noinstr.text section
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211208111343.8130-11-bp@alien8.de
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions