KVM: arm/arm64: Use uaccess functions for GICv3 {sc}active
authorChristoffer Dall <cdall@linaro.org>
Sun, 4 Jun 2017 11:23:52 +0000 (13:23 +0200)
committerChristoffer Dall <cdall@linaro.org>
Sun, 4 Jun 2017 11:26:03 +0000 (13:26 +0200)
commit0710f9a637ef209e53c8127cf588a46130fcdcc5
tree0a720891a1f06cac3d8e678d5fc70a63a1d55f71
parentabd7229626b9339e378a8cfcdebe0c0943b06a7f
KVM: arm/arm64: Use uaccess functions for GICv3 {sc}active

We recently rewrote the sactive and cactive handlers to take the kvm
lock for guest accesses to these registers.  However, when accessed from
userspace this lock is already held.  Unfortunately we forgot to change
the private accessors for GICv3, because these are redistributor
registers and not distributor registers.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
virt/kvm/arm/vgic/vgic-mmio-v3.c