ARM: 8848/1: virt: Align GIC version check with arm64 counterpart
authorVladimir Murzin <vladimir.murzin@arm.com>
Wed, 20 Feb 2019 14:00:13 +0000 (15:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 09:24:18 +0000 (10:24 +0100)
commitf6d5e3ca303e74f2c0a8f4edc5939e47feb9651e
tree9b58542b6049c2bbfbbdbbe38757004affd2a637
parent587603bf49083f786aabe6e24589b54ad89d0225
ARM: 8848/1: virt: Align GIC version check with arm64 counterpart

[ Upstream commit 9db043d36bd379f4cc99054c079de0dabfc38d03 ]

arm64 has got relaxation on GIC version check at early boot stage due
to update of the GIC architecture let's align ARM with that.

To help backports (even though the code was correct at the time of writing)
Fixes: e59941b9b381 ("ARM: 8527/1: virt: enable GICv3 system registers")
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/kernel/hyp-stub.S