arm64: KVM: Make ICC_SRE_EL1 access return the configured SRE value
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 25 May 2016 14:26:37 +0000 (15:26 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 31 May 2016 14:12:16 +0000 (16:12 +0200)
commitb34f2bcbf59fe2d27c37d6553c33611754677103
tree58c1b3b69e484ef9a73c50852d4b2d560db3edb7
parent637d122baac7ff386c8e96df38ac88cee1551db9
arm64: KVM: Make ICC_SRE_EL1 access return the configured SRE value

When we trap ICC_SRE_EL1, we handle it as RAZ/WI. It would be
more correct to actual make it RO, and return the configured
value when read.

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