]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: Allow GICv2 to supply a uaccess register function
authorChristoffer Dall <cdall@linaro.org>
Tue, 16 May 2017 07:31:58 +0000 (09:31 +0200)
committerChristoffer Dall <cdall@linaro.org>
Tue, 23 May 2017 10:48:07 +0000 (12:48 +0200)
commitc9440f81a838a022482b8e5eea8aba8f65d9ec2e
tree17234ea0f92c289fc4352e8ab6f783d3e14dbfbd
parentc4e426cc9eb07cf65ac917a1be45ab4e3e3780d7
KVM: arm/arm64: Allow GICv2 to supply a uaccess register function

We are about to differentiate between writes from a VCPU and from
userspace to the GIC's GICD_ISACTIVER and GICD_ICACTIVER registers due
to different synchronization requirements.

Expand the macro to define a register description for the GIC to take
uaccess functions as well.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-mmio-v2.c
virt/kvm/arm/vgic/vgic-mmio.h