]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fab5eca67ad4ed0708f8c4c69094546316736ae
tree9b839bae46e7b61ff0ba2607f2c288060fb7fb20
parent5d22eb54348ad1bfb812961bd6bf776938ba36d5
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