]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI/P2PDMA: Add Google SoCs to the P2P DMA host bridge list
authorJacob Moroni <jmoroni@google.com>
Thu, 9 Apr 2026 15:01:23 +0000 (15:01 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 10 Apr 2026 22:27:39 +0000 (17:27 -0500)
All Google SoCs support peer-to-peer DMA between Root Ports, so add a
wildcard rule to the host bridge list.

Signed-off-by: Jacob Moroni <jmoroni@google.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: David Hu <xuehaohu@google.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://patch.msgid.link/20260409150123.3538444-2-jmoroni@google.com
drivers/pci/p2pdma.c
include/linux/pci_ids.h

index 25e9358d066e0bdd0742e7a3e69d3ec88ae2de3a..7c898542af8d5ea309e721709440445d160f7f3b 100644 (file)
@@ -548,6 +548,8 @@ static const struct pci_p2pdma_whitelist_entry {
        {PCI_VENDOR_ID_INTEL,   0x2033, 0},
        {PCI_VENDOR_ID_INTEL,   0x2020, 0},
        {PCI_VENDOR_ID_INTEL,   0x09a2, 0},
+       /* Google SoCs. */
+       {PCI_VENDOR_ID_GOOGLE,  PCI_ANY_ID, 0},
        {}
 };
 
index 406abf629be2e4c1cd0d407f1f01047b945eeee4..24cb42f66e4b6068b3ef7f712d4a01dba98e0f50 100644 (file)
 
 #define PCI_VENDOR_ID_AZWAVE           0x1a3b
 
+#define PCI_VENDOR_ID_GOOGLE           0x1ae0
+
 #define PCI_VENDOR_ID_REDHAT_QUMRANET    0x1af4
 #define PCI_SUBVENDOR_ID_REDHAT_QUMRANET 0x1af4
 #define PCI_SUBDEVICE_ID_QEMU            0x1100