]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: Relax GIC version check during early boot
authorVladimir Murzin <vladimir.murzin@arm.com>
Wed, 20 Feb 2019 11:43:05 +0000 (11:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 13:35:15 +0000 (14:35 +0100)
commitb18d4687a9ed8432550fe6c69be2b1881ab1b2b4
tree7927ec9d900400c18b8e8521cd107674a6efc8a5
parent156ca708eab5313fcc75ffb1c17256cee4efd02f
arm64: Relax GIC version check during early boot

[ Upstream commit 74698f6971f25d045301139413578865fc2bd8f9 ]

Updates to the GIC architecture allow ID_AA64PFR0_EL1.GIC to have
values other than 0 or 1. At the moment, Linux is quite strict in the
way it handles this field at early boot stage (cpufeature is fine) and
will refuse to use the system register CPU interface if it doesn't
find the value 1.

Fixes: 021f653791ad17e03f98aaa7fb933816ae16f161 ("irqchip: gic-v3: Initial support for GICv3")
Reported-by: Chase Conklin <Chase.Conklin@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/kernel/head.S