irqchip/gic: Split vGIC probing information from the GIC code
authorMarc Zyngier <maz@kernel.org>
Sat, 27 Feb 2021 10:23:45 +0000 (10:23 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 1 Jun 2021 09:45:58 +0000 (10:45 +0100)
commit0e5cb7770684b4c81bcc63f4675e488f9a0e31eb
tree41be3c95e2de5f93830a573bdb8927275e263bc2
parent8124c8a6b35386f73523d27eacb71b5364a68c4c
irqchip/gic: Split vGIC probing information from the GIC code

The vGIC advertising code is unsurprisingly very much tied to
the GIC implementations. However, we are about to extend the
support to lesser implementations.

Let's dissociate the vgic registration from the GIC code and
move it into KVM, where it makes a bit more sense. This also
allows us to mark the gic_kvm_info structures as __initdata.

Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/vgic/vgic-init.c
drivers/irqchip/irq-gic-common.c
drivers/irqchip/irq-gic-common.h
drivers/irqchip/irq-gic-v3.c
drivers/irqchip/irq-gic.c
include/linux/irqchip/arm-gic-common.h
include/linux/irqchip/arm-vgic-info.h [new file with mode: 0644]