From 8b326de3cc02c46e034601535444370e90f127ea Mon Sep 17 00:00:00 2001 From: Logan Gunthorpe Date: Tue, 14 Jul 2026 15:20:08 -0600 Subject: [PATCH 1/3] dmaengine: switchtec-dma: Add PCI1008 device ID Add the PCI1008 device ID for switchtec-dma. Signed-off-by: Logan Gunthorpe Signed-off-by: Bjorn Helgaas Acked-by: Vinod Koul Link: https://patch.msgid.link/20260714212010.230606-2-logang@deltatee.com --- drivers/dma/switchtec_dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/switchtec_dma.c b/drivers/dma/switchtec_dma.c index 3ef928640615..02083e3f6ebe 100644 --- a/drivers/dma/switchtec_dma.c +++ b/drivers/dma/switchtec_dma.c @@ -1424,6 +1424,7 @@ static const struct pci_device_id switchtec_dma_pci_tbl[] = { SW_ID(PCI_VENDOR_ID_EFAR, 0x1004), /* PCI1004 16XG4 */ SW_ID(PCI_VENDOR_ID_EFAR, 0x1005), /* PCI1005 16XG4 */ SW_ID(PCI_VENDOR_ID_EFAR, 0x1006), /* PCI1006 16XG4 */ + SW_ID(PCI_VENDOR_ID_EFAR, 0x1008), /* PCI1008 16XG4 */ {0} }; MODULE_DEVICE_TABLE(pci, switchtec_dma_pci_tbl); From 0d8a6306c680ee534be131e360f0cafa2bada7be Mon Sep 17 00:00:00 2001 From: Logan Gunthorpe Date: Tue, 14 Jul 2026 15:20:09 -0600 Subject: [PATCH 2/3] PCI: switchtec: Add Microchip PCI1008 device ID Add the Microchip PCI1008 device ID to the core switchtec management driver's PCI ID table. Without it, the management endpoint on a PCI1008 switch is not bound by this driver, preventing userspace tools from configuring or monitoring the switch and leaving NTB functionality unavailable. Signed-off-by: Logan Gunthorpe Signed-off-by: Bjorn Helgaas Link: https://patch.msgid.link/20260714212010.230606-3-logang@deltatee.com --- drivers/pci/switch/switchtec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/switch/switchtec.c b/drivers/pci/switch/switchtec.c index 41fc4b512708..5711aaa5df11 100644 --- a/drivers/pci/switch/switchtec.c +++ b/drivers/pci/switch/switchtec.c @@ -1874,6 +1874,7 @@ static const struct pci_device_id switchtec_pci_tbl[] = { SWITCHTEC_PCI100X_DEVICE(0x1004, SWITCHTEC_GEN4), /* PCI1004 16XG4 */ SWITCHTEC_PCI100X_DEVICE(0x1005, SWITCHTEC_GEN4), /* PCI1005 16XG4 */ SWITCHTEC_PCI100X_DEVICE(0x1006, SWITCHTEC_GEN4), /* PCI1006 16XG4 */ + SWITCHTEC_PCI100X_DEVICE(0x1008, SWITCHTEC_GEN4), /* PCI1008 16XG4 */ {0} }; MODULE_DEVICE_TABLE(pci, switchtec_pci_tbl); From 00a479ba1d01249d43ca5e453380d1ed60946f8a Mon Sep 17 00:00:00 2001 From: Logan Gunthorpe Date: Tue, 14 Jul 2026 15:20:10 -0600 Subject: [PATCH 3/3] PCI: switchtec: Add Microchip PCI1008 to NTB DMA alias quirk Add the PCI1008 device ID to the quirk_switchtec_ntb_dma_alias PCI fixup table. Without it, DMA transactions from a PCI1008 switch's NTB function are not given the correct requester ID alias, which can misdirect them under an IOMMU. Signed-off-by: Logan Gunthorpe Signed-off-by: Bjorn Helgaas Link: https://patch.msgid.link/20260714212010.230606-4-logang@deltatee.com --- drivers/pci/quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index b09f27f7846f..44ccee48349c 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -6090,6 +6090,7 @@ SWITCHTEC_PCI100X_QUIRK(0x1003); /* PCI1003XG4 */ SWITCHTEC_PCI100X_QUIRK(0x1004); /* PCI1004XG4 */ SWITCHTEC_PCI100X_QUIRK(0x1005); /* PCI1005XG4 */ SWITCHTEC_PCI100X_QUIRK(0x1006); /* PCI1006XG4 */ +SWITCHTEC_PCI100X_QUIRK(0x1008); /* PCI1008XG4 */ /*