KVM: arm64: vgic: Consolidate userspace access for base address setting
authorMarc Zyngier <maz@kernel.org>
Tue, 5 Jul 2022 13:39:24 +0000 (14:39 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Jul 2022 10:55:33 +0000 (11:55 +0100)
commit4b85080f4e378f617f88964dec94fd282bcf2af4
tree3d927b06a5558c86fd9385040a53ded8a709c25b
parent9f968c9266aa30b0e81be0c6a560e45b93bed3dc
KVM: arm64: vgic: Consolidate userspace access for base address setting

Align kvm_vgic_addr() with the rest of the code by moving the
userspace accesses into it. kvm_vgic_addr() is also made static.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/vgic/vgic-kvm-device.c
include/kvm/arm_vgic.h