Home
last modified time | relevance | path

Searched hist:"5 af14c29" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/coco/tdx/
H A Dtdcall.S5af14c29 Wed Apr 20 06:45:49 CDT 2022 Borislav Petkov <bp@suse.de> x86/tdx: Annotate a noreturn function

objdump complains:

vmlinux.o: warning: objtool: __tdx_hypercall()+0x74: unreachable instruction

because __tdx_hypercall_failed() won't return but panic the guest.
Annotate that that is ok and desired.

Fixes: eb94f1b6a70a ("x86/tdx: Add __tdx_module_call() and __tdx_hypercall() helper functions")
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220420115025.5448-1-bp@alien8.de