diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-11-13 20:25:59 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-11-13 20:25:59 +0300 |
commit | 29f411399aaa2e53882858e01d21981f3c301e2a (patch) | |
tree | 70d789beb74e5ed5626bcfb564efb3fec8a2b635 /drivers/irqchip/Kconfig | |
parent | 47f9d0bf526058b3fdc077698fcb19748d5700e4 (diff) | |
download | linux-29f411399aaa2e53882858e01d21981f3c301e2a.tar.xz |
irqchip/gic-v3-its: Remove artificial dependency on PCI
The GICv3 ITS doesn't really depend on PCI. Only the PCI/MSI
part of it does, and there is no reason not to blow away most
of the irqchip stack because PCI is not selected (though not
selecting PCI seem to be asking for punishment, but hey...).
So let's split the PCI-specific part from the ITS in the Kconfig
file, and let's make that part depend on PCI. Architecture specific
hacks (arch/arm{,64}/Kconfig) will be addressed in a separate patch.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r-- | drivers/irqchip/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index ccfb14de57e4..3f637f3055e9 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -41,8 +41,15 @@ config ARM_GIC_V3 config ARM_GIC_V3_ITS bool + select GENERIC_MSI_IRQ_DOMAIN + default ARM_GIC_V3 + +config ARM_GIC_V3_ITS_PCI + bool + depends on ARM_GIC_V3_ITS depends on PCI depends on PCI_MSI + default ARM_GIC_V3_ITS config ARM_NVIC bool |