]> 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)
commite0c9c263ac6ca93c05bcc9336ecf2dc44655195b
treef580cd3c4bc0e6476ca6fc7da78c927fedf31edb
parentb952db094f6189476b97fccaee073915d3359a25
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: bd28aaaeea98 ("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