Re: [PATCH 14/21] x86/xen: Support objtool vmlinux.o validation in xen-head.S

From: Josh Poimboeuf
Date: Fri Jan 15 2021 - 14:47:53 EST


On Fri, Jan 15, 2021 at 06:17:25AM +0100, Jürgen Groß wrote:
> On 14.01.21 20:40, 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.
>
> This sentence is technically wrong: the contents don't matter, as the
> page will be rewritten by the hypervisor.

Thanks, updated for v2.

--
Josh