[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v7 0/5] xen/arm: Add GICv3 support



On Wed, 2014-07-16 at 13:38 +0100, Ian Campbell wrote:
> On Wed, 2014-07-16 at 17:17 +0530, Vijay Kilari wrote:
> > On Wed, Jul 16, 2014 at 4:05 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> 
> > wrote:
> > > On Fri, 2014-07-11 at 18:21 +0530, vijay.kilari@xxxxxxxxx wrote:
> > >> Add GICv3 support for arm64 platform.
> > >
> > > I get lots of:
> > > {standard input}:1476: Error: unknown or missing system register name at 
> > > operand 1 -- `msr ICH_VMCR_EL2,x1'
> > >
> > > I'm using:
> > > $ aarch64-linux-gnu-gcc --version
> > > aarch64-linux-gnu-gcc (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro 
> > > GCC 4.8-2014.04) 4.8.3 20140401 (prerelease)
> > >
> > > Do you have a pointer to a toolchain which can build this stuff?
> > 
> >   I am using our internal toolchain based on GCC version 4.7
> 
> OK. We really ought to find some publicly available toolchain before
> accepting this code. Or else we need to make gic v3 functionality depend
> on the toolstack, which would suck.
> 
> I'm going to see if the Linaro 4.9 gcc will do it.

Sadly not.

Mark Rutland pointed me to the workaround which Linux uses:
https://git.kernel.org/cgit/linux/kernel/git/maz/arm-platforms.git/tree/include/linux/irqchip/arm-gic-v3.h?h=gicv3/base&id=1545387f2ca2e51f5ccd3ed764348ee41e15c02f#n143

Which AFAICT works with at least Linaro's gcc 4.8 and 4.9. So I think
we'll have to go down this route.

Please could you make sure that this series compiles with the gcc from
either http://releases.linaro.org/14.04/components/toolchain/binaries
or
http://releases.linaro.org/14.06/components/toolchain/binaries

Presumably this will mostly be a case of adding the defines to
xen/include/asm-arm/sysregs.h.

Thanks,
Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.