Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Ognyan Kulev
Sat, 28 Nov 2026 09:00
Bug#1155633: Please enable CONFIG_HSA_AMD_P2P (multi-GPU AMD PCIe P2P)
Author: Ognyan Kulev
Date: Sat, 28 Nov 2026 09:00
Date: Sat, 28 Nov 2026 09:00
38 lines
3454 bytes
3454 bytes
Package: src:linux
Version: 7.3.3-1
Severity: wishlist
Dear Maintainer,
for forky please consider adding CONFIG_HSA_AMD_P2P=y to
debian/config/amd64/config (next to CONFIG_PCI_P2PDMA=y, which the amd64
fragment already enables).
It enables GPU-to-GPU PCIe peer-to-peer DMA in the amdgpu driver
(HSA/KFD). Without it, multi-GPU compute workloads (ROCm/HIP, RCCL,
tensor-parallel inference/serving) silently fall back to host
bounce-buffer copies between the cards: no
/sys/module/amdgpu/parameters/pcie_p2p, no KFD p2p_links, rocm-smi
--showtopoaccess reports no peer access, and there is no way to enable
it at runtime (the check is compile-time in
amdgpu_device_is_peer_accessible()).
Both dependencies are already enabled in the current config:
CONFIG_HSA_AMD=y (debian/config/config) and CONFIG_PCI_P2PDMA=y
(debian/config/amd64/config); DMABUF_MOVE_NOTIFY is built-in since 6.13.
Precedent: upstream x86_64_defconfig carries the option (AMD patch
"Update defconfig with peer-to-peer configs", 2022), Ubuntu enables it
(LP: #1987394 [1], "a config option AMD requested us to enable"), and
third-party kernels (e.g. XanMod) ship it on.
Safety: inert on single-GPU systems (activates only when amdgpu finds a
peer whose ReBAR is addressable by the requesting GPU). The upstream bug
that broke the P2P addressability check under IOMMU DMA remapping
("drm/amdgpu: Take IOMMU remapping into account for p2p checks", 2024)
is fixed and present in the current kernel.
[1] https://bugs.launchpad.net/ubuntu/+source/linux-oem-6.0/+bug/1987394
Best regards,
Ognyan
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads