KVM: arm/arm64: Separate guest and uaccess writes to dist {sc}active
authorChristoffer Dall <cdall@linaro.org>
Tue, 16 May 2017 07:44:39 +0000 (09:44 +0200)
committerChristoffer Dall <cdall@linaro.org>
Tue, 23 May 2017 10:48:11 +0000 (12:48 +0200)
commit3197191e5525ea7cf8b3fdd9afc75ab5779d21fd
tree7e949a0bcb08fce173016459b4e52bee19249b67
parent2602087ef49d8081ece54019aa862dbb12a04806
KVM: arm/arm64: Separate guest and uaccess writes to dist {sc}active

Factor out the core register modifier functionality from the entry
points from the register description table, and only call the
prepare/finish functions from the guest path, not the uaccess path.

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