arm-trusted-firmware/drivers/arm
Soby Mathew 47c6876a49 GIC: Ensure SGIs and PPIs are Group0 before setup
The legacy GIC driver assumes that the SGIs and PPIs are Group0 during
initialization. This is true if the driver is the first one to initialize
the GIC hardware after reset. But in some cases, earlier BL stages could
have already initialized the GIC hardware which means that SGI and PPI
configuration are not the expected reset values causing assertion failure
in `gicd_set_ipriorityr()`. This patch explicitly resets the SGI and PPI
to Group0 prior to their initialization in the driver. The same patch is
not done in the GICv2-only driver because unlike in the legacy driver,
`gicd_set_ipriorityr()` of GICv2 driver doesn't enforce this policy and
the appropriate group is set irrespective of the initial value.

Fixes ARM-software/tf-issues#396

Change-Id: I521d35caa37470ce542c796c2ba99716e4763105
2016-07-07 11:59:33 +01:00
..
cci Use uintptr_t as base address type in ARM driver APIs 2015-07-09 11:53:32 +01:00
cci400 Fix debug assertion in deprecated CCI-400 driver 2015-10-12 10:21:55 +01:00
ccn CCN: Add API to query the PART0 ID from CCN 2016-05-25 10:24:23 +01:00
gic GIC: Ensure SGIs and PPIs are Group0 before setup 2016-07-07 11:59:33 +01:00
pl011 Fix potential deadlock in PL011 init function 2016-02-24 10:05:11 +00:00
pl061 arm: gpio: add pl061 driver 2016-02-12 23:19:48 +08:00
sp804 Add SP804 delay timer driver 2015-06-18 16:06:26 +01:00
sp805 Add a simple ARM SP805 watchdog driver 2015-11-27 09:34:20 +00:00
tzc Use unsigned long long instead of uintptr_t in TZC400/DMC500 drivers 2016-04-12 16:51:39 +01:00
tzc400 Refactor the ARM CoreLink TZC-400 driver 2016-03-31 21:23:23 +01:00