lkml.org 
[lkml]   [2022]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86/tdx: Annotate a noreturn function
    On Wed, Apr 20, 2022 at 01:50:25PM +0200, Borislav Petkov wrote:
    > From: Borislav Petkov <bp@suse.de>
    >
    > 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>

    Have not seen REACHABLE before.

    Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

    --
    Kirill A. Shutemov

    \
     
     \ /
      Last update: 2022-04-22 04:14    [W:3.842 / U:0.360 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site