lkml.org 
[lkml]   [2021]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 14/21] x86/xen: Support objtool vmlinux.o validation in xen-head.S
    From
    Date

    On 1/14/21 2:40 PM, Josh Poimboeuf wrote:
    > The Xen hypercall page is filled with zeros, causing objtool to fall
    > through all the empty hypercall functions until it reaches a real
    > function, resulting in a stack state mismatch.
    >
    > The build-time contents of the hypercall page don't matter, since it
    > gets mapped to the hypervisor. Make it more palatable to objtool by
    > making each hypervisor function a true empty function, with nops and a
    > return.
    >
    > Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
    > Cc: Juergen Gross <jgross@suse.com>
    > Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>


    Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

    \
     
     \ /
      Last update: 2021-01-15 01:35    [W:2.840 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site