]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: report configured SRE value to 32-bit world
authorVladimir Murzin <vladimir.murzin@arm.com>
Wed, 10 Aug 2016 09:49:43 +0000 (10:49 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 17 Aug 2016 10:46:23 +0000 (12:46 +0200)
commitcc59f4857bd24d505848759e3894e5640e4c556b
tree3fdc0a6c493b70cf71c690d0fbb51f267137803c
parent01f5d0a609913c523f0b7397a5a33329957eb2f4
arm64: KVM: report configured SRE value to 32-bit world

After commit 9b0f815 ("arm64: KVM: Make ICC_SRE_EL1 access return the
configured SRE value") we report SRE value to 64-bit guest, but 32-bit
one still handled as RAZ/WI what leads to funny promise we do not keep:

"GICv3: GIC: unable to set SRE (disabled at EL2), panic ahead"

Instead, return the actual value of the ICC_SRE_EL1 register that the
guest should see.

 [ Tweaked commit message - Christoffer ]

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/sys_regs.c