mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT pull] irq/urgent for v6.2
@ 2023-02-18 23:42 Thomas Gleixner
  2023-02-18 23:42 ` [GIT pull] timers/urgent " Thomas Gleixner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Thomas Gleixner @ 2023-02-18 23:42 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, x86

Linus,

please pull the latest irq/urgent branch from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-2023-02-19

up to:  2b129f0b24ab: PCI/MSI: Provide missing stubs for CONFIG_PCI_MSI=n


A single fix for the PCI/MSI infrastructure:

 The addition of the new alloc/free interfaces in this cycle forgot to
 add stub functions for pci_msix_alloc_irq_at() and pci_msix_free_irq()
 for the CONFIG_PCI_MSI=n case


Thanks,

	tglx

------------------>
Reinette Chatre (1):
      PCI/MSI: Provide missing stubs for CONFIG_PCI_MSI=n


 include/linux/pci.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/linux/pci.h b/include/linux/pci.h
index adffd65e84b4..254c8a4126a8 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1621,6 +1621,18 @@ pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs,
 					      flags, NULL);
 }
 
+static inline struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index,
+						   const struct irq_affinity_desc *affdesc)
+{
+	struct msi_map map = { .index = -ENOSYS, };
+
+	return map;
+}
+
+static inline void pci_msix_free_irq(struct pci_dev *pdev, struct msi_map map)
+{
+}
+
 static inline void pci_free_irq_vectors(struct pci_dev *dev)
 {
 }


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-02-19  2:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-18 23:42 [GIT pull] irq/urgent for v6.2 Thomas Gleixner
2023-02-18 23:42 ` [GIT pull] timers/urgent " Thomas Gleixner
2023-02-19  2:07   ` pr-tracker-bot
2023-02-18 23:42 ` [GIT pull] x86/urgent " Thomas Gleixner
2023-02-19  2:07   ` pr-tracker-bot
2023-02-19  2:07 ` [GIT pull] irq/urgent " pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®