KVM: arm64: vgic-v2: Add helper for legacy dist/cpuif base address setting
authorMarc Zyngier <maz@kernel.org>
Tue, 5 Jul 2022 13:34:33 +0000 (14:34 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Jul 2022 10:55:33 +0000 (11:55 +0100)
commit9f968c9266aa30b0e81be0c6a560e45b93bed3dc
tree9b839bae46e7b61ff0ba2607f2c288060fb7fb20
parentd7df6f282db67677c06456fd29d47eda0ba060b9
KVM: arm64: vgic-v2: Add helper for legacy dist/cpuif base address setting

We carry a legacy interface to set the base addresses for GICv2.
As this is currently plumbed into the same handling code as
the modern interface, it limits the evolution we can make there.

Add a helper dedicated to this handling, with a view of maybe
removing this in the future.

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