Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Revert "genirq/msi: Provide constants for PCI/IMS support"

This reverts commit e23d4192bf9b612bce5b24f22719fd3cc6edaa69.

IMS (Interrupt Message Store) support appeared in v6.2, but there are no
users yet.

Remove it for now. We can add it back when a user comes along.

Link: https://lore.kernel.org/r/20240410221307.2162676-8-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

-4
-1
include/linux/irqdomain_defs.h
··· 25 25 DOMAIN_BUS_PCI_DEVICE_MSIX, 26 26 DOMAIN_BUS_DMAR, 27 27 DOMAIN_BUS_AMDVI, 28 - DOMAIN_BUS_PCI_DEVICE_IMS, 29 28 DOMAIN_BUS_DEVICE_MSI, 30 29 DOMAIN_BUS_WIRED_TO_MSI, 31 30 };
-2
include/linux/msi.h
··· 573 573 MSI_FLAG_MSIX_CONTIGUOUS = (1 << 19), 574 574 /* PCI/MSI-X vectors can be dynamically allocated/freed post MSI-X enable */ 575 575 MSI_FLAG_PCI_MSIX_ALLOC_DYN = (1 << 20), 576 - /* Support for PCI/IMS */ 577 - MSI_FLAG_PCI_IMS = (1 << 21), 578 576 }; 579 577 580 578 /**
-1
include/linux/msi_api.h
··· 15 15 */ 16 16 enum msi_domain_ids { 17 17 MSI_DEFAULT_DOMAIN, 18 - MSI_SECONDARY_DOMAIN, 19 18 MSI_MAX_DEVICE_IRQDOMAINS, 20 19 }; 21 20