]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbdcda1801dedc792026014371fdcc071ddff5597
tree41be3c95e2de5f93830a573bdb8927275e263bc2
parent522fa64953e0d3fbb5fa5fd7565121714af2a489
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]