diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2024-05-16 18:14:14 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-05-16 18:14:14 -0500 |
commit | 375a99fd867cb6b91685708886ccf23e5dee39d4 (patch) | |
tree | 81c08e0ec5dcc74f387c7ffb97e6c9c6237087fa /include/linux/pci.h | |
parent | f8891023bbf8d571b5020e73c52e69a56fed800c (diff) | |
parent | 8a1940bca94bbf060bba4fc4f69c37270d5828f8 (diff) | |
download | linux-375a99fd867cb6b91685708886ccf23e5dee39d4.tar.gz linux-375a99fd867cb6b91685708886ccf23e5dee39d4.tar.bz2 linux-375a99fd867cb6b91685708886ccf23e5dee39d4.zip |
Merge branch 'pci/ims-removal'
- Remove unused Interrupt Message Store (IMS) support (Bjorn Helgaas)
* pci/ims-removal:
Revert "genirq/msi: Provide constants for PCI/IMS support"
Revert "x86/apic/msi: Enable PCI/IMS"
Revert "iommu/vt-d: Enable PCI/IMS"
Revert "iommu/amd: Enable PCI/IMS"
Revert "PCI/MSI: Provide IMS (Interrupt Message Store) support"
Revert "PCI/MSI: Provide pci_ims_alloc/free_irq()"
Revert "PCI/MSI: Provide stubs for IMS functions"
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 011d0f6827d1..fb004fd4e889 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1656,8 +1656,6 @@ struct msix_entry { u16 entry; /* Driver uses to specify entry, OS writes */ }; -struct msi_domain_template; - #ifdef CONFIG_PCI_MSI int pci_msi_vec_count(struct pci_dev *dev); void pci_disable_msi(struct pci_dev *dev); @@ -1690,11 +1688,6 @@ void pci_msix_free_irq(struct pci_dev *pdev, struct msi_map map); void pci_free_irq_vectors(struct pci_dev *dev); int pci_irq_vector(struct pci_dev *dev, unsigned int nr); const struct cpumask *pci_irq_get_affinity(struct pci_dev *pdev, int vec); -bool pci_create_ims_domain(struct pci_dev *pdev, const struct msi_domain_template *template, - unsigned int hwsize, void *data); -struct msi_map pci_ims_alloc_irq(struct pci_dev *pdev, union msi_instance_cookie *icookie, - const struct irq_affinity_desc *affdesc); -void pci_ims_free_irq(struct pci_dev *pdev, struct msi_map map); #else static inline int pci_msi_vec_count(struct pci_dev *dev) { return -ENOSYS; } @@ -1758,25 +1751,6 @@ static inline const struct cpumask *pci_irq_get_affinity(struct pci_dev *pdev, { return cpu_possible_mask; } - -static inline bool pci_create_ims_domain(struct pci_dev *pdev, - const struct msi_domain_template *template, - unsigned int hwsize, void *data) -{ return false; } - -static inline struct msi_map pci_ims_alloc_irq(struct pci_dev *pdev, - union msi_instance_cookie *icookie, - const struct irq_affinity_desc *affdesc) -{ - struct msi_map map = { .index = -ENOSYS, }; - - return map; -} - -static inline void pci_ims_free_irq(struct pci_dev *pdev, struct msi_map map) -{ -} - #endif /** |