summaryrefslogtreecommitdiff
path: root/virt/kvm/arm/vgic/vgic-init.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-04-09 15:05:26 +0300
committerMarc Zyngier <maz@kernel.org>2020-04-22 19:13:30 +0300
commit41ee52ecbcdc98eb2a03241923b1a7d46f476bb3 (patch)
treea82fefae445268e338524b3188192d0bab8cc2c0 /virt/kvm/arm/vgic/vgic-init.c
parent9a50ebbffa9862db7604345f5fd763122b0f6fed (diff)
downloadlinux-41ee52ecbcdc98eb2a03241923b1a7d46f476bb3.tar.xz
KVM: arm: vgic: Only use the virtual state when userspace accesses enable bits
There is no point in accessing the HW when writing to any of the ISENABLER/ICENABLER registers from userspace, as only the guest should be allowed to change the HW state. Introduce new userspace-specific accessors that deal solely with the virtual state. Reported-by: James Morse <james.morse@arm.com> Tested-by: James Morse <james.morse@arm.com> Reviewed-by: James Morse <james.morse@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-init.c')
0 files changed, 0 insertions, 0 deletions