### NVIDIA Open GPU Kernel Modules Version
615.71.09 from ubuntu -- nvidia-dkms…-615-open/noble-updates,noble-security,now 615.71.09-0ubuntu0.24.04.2 amd64 [installed,automatic]
### Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
- [ ] I confirm that this does not happen with the proprietary driver package.
### Operating System and Version
Description: Ubuntu 24.04.5 LTS
### Kernel Release
Linux vireo1114 7.0.0-38-generic #38~24.04.4-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 14 16:37:11 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
### Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- [x] I am running on a stable kernel release.
### Hardware: GPU
GPU 0: NVIDIA RTX PRO 6000 Blackwell Workstation Edition (UUID: GPU-...)
### Describe the bug
I was learning about peer to peer DMA and i noticed in the source that my CPU isn't supported.
From what I can see in the source, it just seems like an omission.
If you think this is the case, I could probably wrangle up my second RTX Pro 6000 (or find 2 lesser GPUs) to demonstrate this or the fix, but I feel like you all might have the hardware ready...
<details><summary>verbosity from claude</summary>
In 615.71.09, Arrow Lake is recognised as a chipset but has no entry in the PCIe peer-access table, and the Intel client platforms after it are not recognised at all.
**How the decision is made.**
1. `nv_dma_buf_attach()` (`kernel-open/nvidia/nv-dmabuf.c`), for the DEFAULT mapping type, calls `nv_grdma_pci_topology_supported()` (`kernel-open/nvidia/nv-pci.c`). When `NV_FLAG_PCI_P2P_UNSUPPORTED_CHIPSET` is set, that function only allows the attach if the GPU and the importer share a PCIe switch.
2. `_checkP2pChipsetSupport()` (`src/nvidia/arch/nvalloc/unix/src/osinit.c`) sets the flag unless both `bPciePeerWriteCapable` and `bPciePeerReadCapable` are true.
3. `clInitChipsetGpuPeerAccessCaps()` sets those two from the chipset's row in `pciePeerAccessCaps[]` (`src/nvidia/src/kernel/platform/chipset/chipset_pcie.c`). A chipset with no row gets neither.
**The oddity.**
- **Arrow Lake is recognised but has no row.** `nvcst.h` maps the Arrow Lake host bridges (`0x7D06`, `0x7D1A`, `0x7D1B`, `0x7D1C`, …, `0x7D30`) to `CS_INTEL_7D06`, and `Intel_7D06_setupFunc` exists. But `pciePeerAccessCaps[]` has no row for `CS_INTEL_7D06`; its newest Intel rows are Raptor Lake (`CS_INTEL_7A04`) and Granite Rapids (`CS_INTEL_5795`). So on Arrow Lake, `NV_FLAG_PCI_P2P_UNSUPPORTED_CHIPSET` is set, and a dma-buf importer on a different root port from the GPU is refused (`NVRM: dma-buf attach failed: PCI topology not supported for dma-buf`).
- **Later client platforms aren't recognised at all.** We found no `chipsetInfo[]` entries for Meteor Lake, Lunar Lake, Panther Lake, or the upcoming Wildcat Lake and Nova Lake.
- **One Arrow Lake host bridge is missing from the list:** `0x7D20` (ARL-UH).
**What we'd propose.** It's below as a patch against 615.71.09. It applies with `git apply`, but we have **not** built or tested it. It's meant as a pointer to the right spot rather than a finished change.
</details>
<details><summary><code>intel-p2p-chipsets.patch</code> (against 615.71.09, untested)</summary>
```diff
diff --git a/src/nvidia/arch/nvalloc/common/inc/nvcst.h b/src/nvidia/arch/nvalloc/common/inc/nvcst.h
index f2ec1cf..c599d01 100644
--- a/src/nvidia/arch/nvalloc/common/inc/nvcst.h
+++ b/src/nvidia/arch/nvalloc/common/inc/nvcst.h
@@ -210,6 +210,44 @@ CSINFO chipsetInfo[] =
{PCI_VENDOR_ID_INTEL, 0x7D35, CS_INTEL_7D06, "Intel-Arrowlake", Intel_7D06_setupFunc},
{PCI_VENDOR_ID_INTEL, 0x7D67, CS_INTEL_7D06, "Intel-Arrowlake", Intel_7D06_setupFunc},
{PCI_VENDOR_ID_INTEL, 0x7D30, CS_INTEL_7D06, "Intel-Arrowlake", Intel_7D06_setupFunc},
+ {PCI_VENDOR_ID_INTEL, 0x7D20, CS_INTEL_7D06, "Intel-Arrowlake", Intel_7D06_setupFunc}, // ARL-UH: Linux igen6_edac DID_ARL_UH_SKU2, coreboot PCI_DID_INTEL_ARL_H_ID_2
+ {PCI_VENDOR_ID_INTEL, 0x7D00, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-M: coreboot PCI_DID_INTEL_MTL_M_ID
+ {PCI_VENDOR_ID_INTEL, 0x7D01, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-P/H: coreboot PCI_DID_INTEL_MTL_P_ID_1, Linux igen6 DID_MTL_P_SKU1, pci.ids
+ {PCI_VENDOR_ID_INTEL, 0x7D02, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-P: coreboot PCI_DID_INTEL_MTL_P_ID_2, Linux igen6 DID_MTL_P_SKU2
+ {PCI_VENDOR_ID_INTEL, 0x7D14, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-P: coreboot PCI_DID_INTEL_MTL_P_ID_3, Linux igen6 DID_MTL_P_SKU3
+ {PCI_VENDOR_ID_INTEL, 0x7D15, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-P: coreboot PCI_DID_INTEL_MTL_P_ID_4
+ {PCI_VENDOR_ID_INTEL, 0x7D16, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-P: coreboot PCI_DID_INTEL_MTL_P_ID_5
+ {PCI_VENDOR_ID_INTEL, 0x7D21, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-PS: Linux igen6 DID_MTL_PS_SKU1
+ {PCI_VENDOR_ID_INTEL, 0x7D22, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-PS: Linux igen6 DID_MTL_PS_SKU2
+ {PCI_VENDOR_ID_INTEL, 0x7D23, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-PS: Linux igen6 DID_MTL_PS_SKU3
+ {PCI_VENDOR_ID_INTEL, 0x7D24, CS_INTEL_7D06, "Intel-MeteorLake", Intel_7D06_setupFunc}, // MTL-PS: Linux igen6 DID_MTL_PS_SKU4
+ {PCI_VENDOR_ID_INTEL, 0x6400, CS_INTEL_7D06, "Intel-LunarLake", Intel_7D06_setupFunc}, // LNL-M: coreboot PCI_DID_INTEL_LNL_M_ID
+ {PCI_VENDOR_ID_INTEL, 0x6410, CS_INTEL_7D06, "Intel-LunarLake", Intel_7D06_setupFunc}, // LNL-M: coreboot PCI_DID_INTEL_LNL_M_ID_1
+ {PCI_VENDOR_ID_INTEL, 0xB000, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-U/H: coreboot PCI_DID_INTEL_PTL_U_ID_1, Linux igen6 DID_PTL_H_SKU1
+ {PCI_VENDOR_ID_INTEL, 0xB001, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: coreboot PCI_DID_INTEL_PTL_H_ID_1, Linux igen6 DID_PTL_H_SKU2
+ {PCI_VENDOR_ID_INTEL, 0xB002, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: coreboot PCI_DID_INTEL_PTL_H_ID_2, Linux igen6 DID_PTL_H_SKU3
+ {PCI_VENDOR_ID_INTEL, 0xB003, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-U: coreboot PCI_DID_INTEL_PTL_U_ID_2, Linux igen6 DID_PTL_H_SKU4
+ {PCI_VENDOR_ID_INTEL, 0xB004, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: coreboot PCI_DID_INTEL_PTL_H_ID_3, Linux igen6 DID_PTL_H_SKU5
+ {PCI_VENDOR_ID_INTEL, 0xB005, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: coreboot PCI_DID_INTEL_PTL_H_ID_7, Linux igen6 DID_PTL_H_SKU6
+ {PCI_VENDOR_ID_INTEL, 0xB008, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: Linux igen6 DID_PTL_H_SKU7
+ {PCI_VENDOR_ID_INTEL, 0xB009, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: coreboot PCI_DID_INTEL_PTL_H_ID_8
+ {PCI_VENDOR_ID_INTEL, 0xB00A, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: coreboot PCI_DID_INTEL_PTL_H_ID_4, Linux igen6 DID_PTL_H_SKU14
+ {PCI_VENDOR_ID_INTEL, 0xB00B, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: coreboot PCI_DID_INTEL_PTL_H_ID_5
+ {PCI_VENDOR_ID_INTEL, 0xB00C, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: coreboot PCI_DID_INTEL_PTL_H_ID_6
+ {PCI_VENDOR_ID_INTEL, 0xB011, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: Linux igen6 DID_PTL_H_SKU8
+ {PCI_VENDOR_ID_INTEL, 0xB014, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: Linux igen6 DID_PTL_H_SKU9
+ {PCI_VENDOR_ID_INTEL, 0xB015, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: Linux igen6 DID_PTL_H_SKU10
+ {PCI_VENDOR_ID_INTEL, 0xB01A, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-U: coreboot PCI_DID_INTEL_PTL_U_ID_3
+ {PCI_VENDOR_ID_INTEL, 0xB028, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: Linux igen6 DID_PTL_H_SKU11
+ {PCI_VENDOR_ID_INTEL, 0xB029, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: Linux igen6 DID_PTL_H_SKU12
+ {PCI_VENDOR_ID_INTEL, 0xB02A, CS_INTEL_7D06, "Intel-PantherLake", Intel_7D06_setupFunc}, // PTL-H: Linux igen6 DID_PTL_H_SKU13
+ {PCI_VENDOR_ID_INTEL, 0xFD00, CS_INTEL_7D06, "Intel-WildcatLake", Intel_7D06_setupFunc}, // WCL: coreboot PCI_DID_INTEL_WCL_ID_1, Linux igen6 DID_WCL_SKU1
+ {PCI_VENDOR_ID_INTEL, 0xFD01, CS_INTEL_7D06, "Intel-WildcatLake", Intel_7D06_setupFunc}, // WCL: coreboot PCI_DID_INTEL_WCL_ID_2
+ {PCI_VENDOR_ID_INTEL, 0xFD02, CS_INTEL_7D06, "Intel-WildcatLake", Intel_7D06_setupFunc}, // WCL: coreboot PCI_DID_INTEL_WCL_ID_3
+ {PCI_VENDOR_ID_INTEL, 0xD701, CS_INTEL_7D06, "Intel-NovaLake", Intel_7D06_setupFunc}, // NVL-H: Linux igen6 DID_NVL_H_SKU1
+ {PCI_VENDOR_ID_INTEL, 0xD702, CS_INTEL_7D06, "Intel-NovaLake", Intel_7D06_setupFunc}, // NVL-H: Linux igen6 DID_NVL_H_SKU2
+ {PCI_VENDOR_ID_INTEL, 0xD704, CS_INTEL_7D06, "Intel-NovaLake", Intel_7D06_setupFunc}, // NVL-H: Linux igen6 DID_NVL_H_SKU3
+ {PCI_VENDOR_ID_INTEL, 0xD705, CS_INTEL_7D06, "Intel-NovaLake", Intel_7D06_setupFunc}, // NVL-H: Linux igen6 DID_NVL_H_SKU4
{PCI_VENDOR_ID_NVIDIA, 0x0FAE, CS_NVIDIA_T210, "T210", Nvidia_T210_setupFunc},
{PCI_VENDOR_ID_NVIDIA, 0x0FAF, CS_NVIDIA_T210, "T210", Nvidia_T210_setupFunc},
diff --git a/src/nvidia/src/kernel/platform/chipset/chipset_pcie.c b/src/nvidia/src/kernel/platform/chipset/chipset_pcie.c
index 271a1c2..640da59 100644
--- a/src/nvidia/src/kernel/platform/chipset/chipset_pcie.c
+++ b/src/nvidia/src/kernel/platform/chipset/chipset_pcie.c
@@ -263,6 +263,11 @@ CHIPSET_PEER_ACCESS_CAPS pciePeerAccessCaps[] =
// Intel - Intel-GraniteRapids
{CS_INTEL_5795, PEER_CAPS(CHIPSET_ANY), PEER_CAPS(CHIPSET_ANY),
PEER_CAPS(CHIPSET_ANY), PEER_CAPS(CHIPSET_ANY), PEER_CAPS(CAPABLE_READWRITE)},
+ // Intel - ArrowLake, and the client platforms after it that nvcst.h maps
+ // onto CS_INTEL_7D06 (MeteorLake, LunarLake, PantherLake, WildcatLake,
+ // NovaLake): P2P between devices on different root ports
+ {CS_INTEL_7D06, PEER_CAPS(CHIPSET_ANY), PEER_CAPS(CHIPSET_ANY),
+ PEER_CAPS(CHIPSET_ANY), PEER_CAPS(CHIPSET_ANY), PEER_CAPS(CAPABLE_READWRITE)},
// AMD - 990FX
{CS_ATI_FX990, PEER_CAPS(CHIPSET_ANY), PEER_CAPS(CHIPSET_ANY),
```
</details>
### To Reproduce
**Questions:**
1. Is the missing Arrow Lake row intentional, for example a platform issue with P2P across root ports? Or could it be added?
2. Are Meteor Lake, Lunar Lake and Panther Lake planned for `chipsetInfo[]` and `pciePeerAccessCaps[]`?
3. Would a pull request with the row (and the IDs) be welcome?
### Bug Incidence
Once
### nvidia-bug-report.log.gz
.
### More Info
_No response_