Remove EL2/EL1 GICv3 register updates
authorVikram Kanigiri <vikram.kanigiri@arm.com>
Fri, 26 Jun 2015 09:13:22 +0000 (10:13 +0100)
committerVikram Kanigiri <vikram.kanigiri@arm.com>
Tue, 1 Sep 2015 11:44:00 +0000 (12:44 +0100)
commit889fce4259579e589bfe280140a667d38961e264
treeaaa2aaac1132183c2a90f507b752f476601fb380
parent468f808cb8967ffe69505a67c03405f1b1dc7bc6
Remove EL2/EL1 GICv3 register updates

From Linux 3.17 onwards, the mainline kernel has support for GICv3
systems and if EL3 exists, it only needs to initialise ICC_SRE_EL3.SRE
and ICC_SRE_EL3.Enable to 1. Hence, this patch removes the redundant
updates of ICC_SRE_EL2 and ICC_PMR_EL1.

NOTE: For partner software's which enter kernel in EL1,
ICC_SRE_EL2.Enable and ICC_SRE_EL2.SRE bit needs to be set to 1
in EL2 before jumping to linux.

Change-Id: I09ed47869351b08a3b034735f532bc677eaa6917
drivers/arm/gic/arm_gic.c