x86/mce: Allow instrumentation during task work queueing
authorBorislav Petkov <bp@suse.de>
Wed, 13 Oct 2021 07:07:19 +0000 (09:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 09:54:15 +0000 (10:54 +0100)
commitde360d94438688fd29e548a79abb9ee6ecd4de0f
tree9f27bb59f3263ced4608333fe085b486fb44d99f
parentaf371e0abb6c42af9a4e26fa4e24b9917e8edcf9
x86/mce: Allow instrumentation during task work queueing

[ Upstream commit 4fbce464db81a42f9a57ee242d6150ec7f996415 ]

Fixes

  vmlinux.o: warning: objtool: do_machine_check()+0xdb1: call to queue_task_work() leaves .noinstr.text section

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211208111343.8130-6-bp@alien8.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kernel/cpu/mce/core.c