On Mon, Apr 14, 2025 at 09:48:10AM -0400, Alex Deucher wrote:
On Mon, Apr 14, 2025 at 9:28 AM Sasha Levin <sas...@kernel.org> wrote:
From: Christian König <christian.koe...@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.vet...@ffwll.ch>
Signed-off-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Felix Kuehling <felix.kuehl...@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehl...@amd.com>
Tested-by: Pak Nin Lui <pak....@amd.com>
Cc: Simona Vetter <simona.vet...@ffwll.ch>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
Signed-off-by: Sasha Levin <sas...@kernel.org>
This should not go to stable. It depends on dmem cgroups.
I'll drop it.
--
Thanks,
Sasha