]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/coco: Mark cc_platform_has() and descendants noinstr
authorBorislav Petkov (AMD) <bp@alien8.de>
Tue, 28 Mar 2023 20:17:11 +0000 (22:17 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 8 May 2023 09:39:35 +0000 (11:39 +0200)
commit1eaf282e2c7d062a946980758df013f09f934a54
treecb3f040f133fe8809d78d29a1c1e04fc07645dee
parentac9a78681b921877518763ba0e89202254349d1b
x86/coco: Mark cc_platform_has() and descendants noinstr

Those will be used in code regions where instrumentation is not allowed
so mark them as such.

No functional changes.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20230328201712.25852-2-bp@alien8.de
arch/x86/coco/core.c