All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix Xen boot on XGene
@ 2016-11-04 21:04 Stefano Stabellini
  2016-11-04 21:04 ` [PATCH v2 1/2] Revert "xen/arm: platform: Drop the quirks callback" Stefano Stabellini
  2016-11-07 11:15 ` [PATCH v2 0/2] Fix Xen boot on XGene Wei Liu
  0 siblings, 2 replies; 7+ messages in thread
From: Stefano Stabellini @ 2016-11-04 21:04 UTC (permalink / raw)
  To: xen-devel; +Cc: julien.grall, sstabellini, wei.liu2

Hi all,

the following commit:

commit 21550029f709072aacf3b90edd574e7d3021b400
Author: Julien Grall <julien.grall@citrix.com>
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-11-07 21:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04 21:04 [PATCH v2 0/2] Fix Xen boot on XGene Stefano Stabellini
2016-11-04 21:04 ` [PATCH v2 1/2] Revert "xen/arm: platform: Drop the quirks callback" Stefano Stabellini
2016-11-04 21:04   ` [PATCH v2 2/2] Partially revert 21550029f709072aacf3b90edd574e7d3021b400 Stefano Stabellini
2016-11-07 11:11     ` Julien Grall
2016-11-07 21:04       ` Stefano Stabellini
2016-11-07 11:04   ` [PATCH v2 1/2] Revert "xen/arm: platform: Drop the quirks callback" Julien Grall
2016-11-07 11:15 ` [PATCH v2 0/2] Fix Xen boot on XGene Wei Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.