]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc0341c36fd3f7b656a18523086b14326faf3feb
tree0a720891a1f06cac3d8e678d5fc70a63a1d55f71
parent7d61b52556dae12117d07cf1e0b9e83e72a9091d
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