On Mon, Apr 14, 2025 at 09:48:10AM -0400, Alex Deucher wrote:
On Mon, Apr 14, 2025 at 9:28 AM Sasha Levin sashal@kernel.org wrote:
From: Christian König christian.koenig@amd.com
[ Upstream commit f5e7fabd1f5c65b2e077efcdb118cfa67eae7311 ]
Try pinning into VRAM to allow P2P with RDMA NICs without ODP support if all attachments can do P2P. If any attachment can't do P2P just pin into GTT instead.
Acked-by: Simona Vetter simona.vetter@ffwll.ch Signed-off-by: Christian König christian.koenig@amd.com Signed-off-by: Felix Kuehling felix.kuehling@amd.com Reviewed-by: Felix Kuehling felix.kuehling@amd.com Tested-by: Pak Nin Lui pak.lui@amd.com Cc: Simona Vetter simona.vetter@ffwll.ch Signed-off-by: Alex Deucher alexander.deucher@amd.com Signed-off-by: Sasha Levin sashal@kernel.org
This should not go to stable. It depends on dmem cgroups.
I'll drop it.