Re: [Xen-devel] [PATCH v2 0/2] Fix Xen boot on XGene
On Fri, Nov 04, 2016 at 02:04:21PM -0700, Stefano Stabellini wrote: > Hi all, > > the following commit: > > commit 21550029f709072aacf3b90edd574e7d3021b400 > Author: Julien Grall > Date: Thu Oct 8 19:23:53 2015 +0100 > > xen/arm: gic-v2: Automatically detect aliased GIC400 > > > removed PLATFORM_QUIRK_GIC_64K_STRIDE and introduced an heuristic to > check whether the two GICC pages have a 64K stride. However the > heuristic needs device tree to report a GICC region size of 128K to work > properly. That is not the case for some versions of XGene (including the > one I am using, kindly provided by CloudLab.us). > > The patch series fixes the issue by reintroducing platform quirks, > PLATFORM_QUIRK_GIC_64K_STRIDE, and forcing GICC size to 128K if > PLATFORM_QUIRK_GIC_64K_STRIDE. > > We should consider this series for 4.8. I think this patch series is rather self-contained: Release-acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel
[Xen-devel] [PATCH v2 0/2] Fix Xen boot on XGene
Hi all, the following commit: commit 21550029f709072aacf3b90edd574e7d3021b400 Author: Julien Grall Date: Thu Oct 8 19:23:53 2015 +0100 xen/arm: gic-v2: Automatically detect aliased GIC400 removed PLATFORM_QUIRK_GIC_64K_STRIDE and introduced an heuristic to check whether the two GICC pages have a 64K stride. However the heuristic needs device tree to report a GICC region size of 128K to work properly. That is not the case for some versions of XGene (including the one I am using, kindly provided by CloudLab.us). The patch series fixes the issue by reintroducing platform quirks, PLATFORM_QUIRK_GIC_64K_STRIDE, and forcing GICC size to 128K if PLATFORM_QUIRK_GIC_64K_STRIDE. We should consider this series for 4.8. Changes in v2: - only set csize to SZ_128K if it is initially SZ_4K - set vsize to match - add warning if gicc is SZ_128K and not aliased Stefano Stabellini (2): Revert "xen/arm: platform: Drop the quirks callback" Partially revert 21550029f709072aacf3b90edd574e7d3021b400 xen/arch/arm/gic-v2.c| 10 -- xen/arch/arm/platform.c | 10 ++ xen/arch/arm/platforms/xgene-storm.c | 6 ++ xen/include/asm-arm/platform.h | 13 + 4 files changed, 37 insertions(+), 2 deletions(-) ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel