x86/mm: Force-inline __phys_addr_nodebug()
authorBorislav Petkov <bp@suse.de>
Wed, 23 Mar 2022 22:24:12 +0000 (23:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2022 10:39:43 +0000 (12:39 +0200)
commit0b009e5fd1462c12870a4908bbe862f87a5967ad
treedd531e7eaa09805366e834fe633924fd31caed98
parentf9571a969973f8d48b4bd6b94fd6115489bbaee1
x86/mm: Force-inline __phys_addr_nodebug()

[ Upstream commit ace1a98519270c586c0d4179419292df67441cd1 ]

Fix:

  vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x8b: call to __phys_addr_nodebug() leaves .noinstr.text section

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220324183607.31717-4-bp@alien8.de
Stable-dep-of: 54c3931957f6 ("tracing: hold caller_addr to hardirq_{enable,disable}_ip")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/include/asm/page_64.h