Messages in this thread | | | Subject | Re: [PATCH 14/21] x86/xen: Support objtool vmlinux.o validation in xen-head.S | From | boris.ostrovsky@oracle ... | Date | Thu, 14 Jan 2021 19:32:32 -0500 |
| |
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>
| |