summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-09-30 11:39:59 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2015-10-09 22:16:51 +0100
commitd271976dbb31c3ac5653745d03d68c4235d34119 (patch)
tree4696526bf1052982df10938f3bbb4bf5bd302d53 /drivers
parent0e841b04c829f59a5d5745f98d2857f48882efe9 (diff)
arm64: el2_setup: Make sure ICC_SRE_EL2.SRE sticks before using GICv3 sysregs
Contrary to what was originally expected, EL3 firmware can (for whatever reason) disable GICv3 system register access. In this case, the kernel explodes very early. Work around this by testing if the SRE bit sticks or not. If it doesn't, abort the GICv3 setup, and pray that the firmware has passed a DT that doesn't contain a GICv3 node. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions