]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: KVM: Correctly order SGI register entries in the cp15 array
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 4 Oct 2018 08:35:35 +0000 (09:35 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 9 Oct 2018 10:55:47 +0000 (11:55 +0100)
commitb3e2e95a12227735db386a1b4df9b9e7133ba751
treef580cd3c4bc0e6476ca6fc7da78c927fedf31edb
parent000c4f68e5c85848dfaa344de8c058722e62bc59
ARM: KVM: Correctly order SGI register entries in the cp15 array

The ICC_ASGI1R and ICC_SGI0R register entries in the cp15 array
are not correctly ordered, leading to a BUG() at boot time.

Move them to their natural location.

Fixes: 96ba6cbb9503 ("KVM: arm: vgic-v3: Add support for ICC_SGI0R and ICC_ASGI1R accesses")
Reported-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/coproc.c