KVM: arm64: vgic-v3: Push user access into vgic_v3_cpu_sysregs_uaccess()
authorMarc Zyngier <maz@kernel.org>
Mon, 4 Jul 2022 07:07:44 +0000 (08:07 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Jul 2022 10:55:33 +0000 (11:55 +0100)
commitdb25081e147c3cc496b8cd8c9d67f992546df6d5
tree652a47469902ee86f6bc1f433b560cdb56843475
parentb61fc0857a3ad4cdee44128ad13685033e237367
KVM: arm64: vgic-v3: Push user access into vgic_v3_cpu_sysregs_uaccess()

In order to start making the vgic sysreg access from userspace
similar to all the other sysregs, push the userspace memory
access one level down into vgic_v3_cpu_sysregs_uaccess().

The next step will be to rely on the sysreg infrastructure
to perform this task.

Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/vgic-sys-reg-v3.c
arch/arm64/kvm/vgic/vgic-kvm-device.c
arch/arm64/kvm/vgic/vgic.h