Re: [Xen-devel] [PATCH 7/8] xen/arm: gic-v2: Detect automatically aliased GIC400

2015-09-29 Thread Ian Campbell
On Mon, 2015-09-28 at 19:07 +0100, Julien Grall wrote: > On 25/09/15 17:26, Ian Campbell wrote: > > On Tue, 2015-09-22 at 18:47 +0100, Julien Grall wrote: > > > +gicv2.map_cbase = ioremap_nocache(cbase, csize); > > > +if ( !gicv2.map_cbase ) > > > panic("GICv2: Failed to ioremap fo

Re: [Xen-devel] [PATCH 7/8] xen/arm: gic-v2: Detect automatically aliased GIC400

2015-09-28 Thread Julien Grall
On 25/09/15 17:26, Ian Campbell wrote: > On Tue, 2015-09-22 at 18:47 +0100, Julien Grall wrote: >> +gicv2.map_cbase = ioremap_nocache(cbase, csize); >> +if ( !gicv2.map_cbase ) >> panic("GICv2: Failed to ioremap for GIC CPU interface\n"); > > s/for/the/ or just s/for //. That's n

Re: [Xen-devel] [PATCH 7/8] xen/arm: gic-v2: Detect automatically aliased GIC400

2015-09-25 Thread Ian Campbell
On Tue, 2015-09-22 at 18:47 +0100, Julien Grall wrote: Subject: "automatically detect..." > We are currently using a per-platform quirk to know if the 2 4KB region of > the GIC CPU interface are each aligned to 64KB. Although, it may be > possible to have different layout on a same platform (depe

[Xen-devel] [PATCH 7/8] xen/arm: gic-v2: Detect automatically aliased GIC400

2015-09-22 Thread Julien Grall
We are currently using a per-platform quirk to know if the 2 4KB region of the GIC CPU interface are each aligned to 64KB. Although, it may be possible to have different layout on a same platform (depending on the firmware version). Rather than having a quirk it's possible to detect by reading the