[PATCH] ARM: kvm: round HYP section to page size instead of log2 upper bound

Simon Horman horms at verge.net.au
Fri Mar 27 05:13:11 PDT 2015


Hi Ard, Hi Will,

On Fri, Mar 27, 2015 at 12:12:00PM +0100, Ard Biesheuvel wrote:
> On 27 March 2015 at 12:09, Will Deacon <will.deacon at arm.com> wrote:
> > On Fri, Mar 27, 2015 at 10:18:01AM +0000, Ard Biesheuvel wrote:
> >> Older binutils do not support expressions involving the values of
> >> external symbols so just round up the HYP region to the page size.
> >>
> >> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> >
> > Thanks Ard. I managed to reproduce the failures in -next, and this solves
> > the problem for me (the only toolchain that chokes seems to be the one on
> > kernel.org, unfortunately).

For the record that is the one I am using.

> > I'll push an updated branch after a bit more testing. Let's not touch this
> > file ever again :)

:)

> Fingers crossed ...

I have tested this patch applied on top of next-20150326 and the build
problem I observed is gone. I have also tested that the resulting kernel
boots on a range of Renesas boards.

Tested-by: Simon Horman <horms+renesas at verge.net.au>



More information about the linux-arm-kernel mailing list