]> asedeno.scripts.mit.edu Git - linux.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)
commit2602087ef49d8081ece54019aa862dbb12a04806
tree17234ea0f92c289fc4352e8ab6f783d3e14dbfbd
parente8ec032b182cd4841605de4fc297a8edffe55972
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