PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Nov 2022 13:54:38 +0000 (14:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:19 +0000 (15:15 +0100)
commita474d3fbe287625c6c1cfc56c2a456c5fb7c479e
treeb948e5b57cdad7ba189f93404f6f02f852161182
parentb2bdda205c0c256d6483231d0afe58a6d68fd3ed
PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN

What a zoo:

     PCI_MSI
select GENERIC_MSI_IRQ

     PCI_MSI_IRQ_DOMAIN
      def_bool y
depends on PCI_MSI
select GENERIC_MSI_IRQ_DOMAIN

Ergo PCI_MSI enables PCI_MSI_IRQ_DOMAIN which in turn selects
GENERIC_MSI_IRQ_DOMAIN. So all the dependencies on PCI_MSI_IRQ_DOMAIN are
just an indirection to PCI_MSI.

Match the reality and just admit that PCI_MSI requires
GENERIC_MSI_IRQ_DOMAIN.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20221111122014.467556921@linutronix.de
arch/um/drivers/Kconfig
arch/um/include/asm/pci.h
arch/x86/Kconfig
arch/x86/include/asm/pci.h
drivers/pci/Kconfig
drivers/pci/controller/Kconfig
drivers/pci/controller/dwc/Kconfig
drivers/pci/controller/mobiveil/Kconfig
drivers/pci/msi/Makefile
drivers/pci/probe.c
include/linux/msi.h