public inbox for amd-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] drm/amd: Add support for non-4K page size systems
@ 2026-03-26 12:21 Donet Tom
  2026-03-26 12:21 ` [PATCH v4 1/2] drm/amdgpu: Change AMDGPU_VA_RESERVED_TRAP_SIZE to 64KB Donet Tom
  2026-03-26 12:21 ` [PATCH v4 2/2] drm/amdgpu: Fix AMDGPU_GTT_MAX_TRANSFER_SIZE for non-4K page size Donet Tom
  0 siblings, 2 replies; 7+ messages in thread
From: Donet Tom @ 2026-03-26 12:21 UTC (permalink / raw)
  To: amd-gfx, Felix Kuehling, Alex Deucher, Alex Deucher,
	christian.koenig, Philip Yang
  Cc: David.YatSin, Kent.Russell, Ritesh Harjani,
	Vaidyanathan Srinivasan, donettom

This is v4 of the patch series enabling 64 KB system page size
support.

v3 of this series [1] contained 6 patches, of which 4 have been
picked up and applied to drm-next. The initial minimal
infrastructure required for 64 KB page size support has already
been merged upstream [2].

This series includes the remaining fixes:

- Patch 1 fixes a kernel crash observed when running rocminfo
  on systems with a 64 KB page size by updating the trap
  reservation size.

- Patch 2 updates AMDGPU_GTT_MAX_TRANSFER_SIZE to always match
  the PMD size across all page sizes.

Setup details:
==============
System details: Power10 LPAR using 64K pagesize.
AMD GPU:
Name:                    gfx90a
Marketing Name:          AMD Instinct MI210

Changes since v3:
-----------------
- Based on feedback from Felix and Christian,
  AMDGPU_VA_RESERVED_TRAP_SIZE has been updated. The virtual
  address space now reserves 64 KB for the trap, while only
  8 KB is allocated for both 4 KB and 64 KB page sizes. This
  ensures that the allocation remains within the reserved
  region.

Links:
------
[1] https://lore.kernel.org/all/cover.1774239489.git.donettom@linux.ibm.com/
[2] https://lore.kernel.org/all/cover.1765519875.git.donettom@linux.ibm.com/

Previous versions:
------------------
RFC v3 resend:
https://lore.kernel.org/all/cover.1774239489.git.donettom@linux.ibm.com/
RFC v3:
https://lore.kernel.org/all/cover.1771656655.git.donettom@linux.ibm.com/
RFC v2:
https://lore.kernel.org/all/cover.1769612973.git.donettom@linux.ibm.com/
RFC v1:
https://lore.kernel.org/all/cover.1765519875.git.donettom@linux.ibm.com/

Donet Tom (2):
  drm/amdgpu: Change AMDGPU_VA_RESERVED_TRAP_SIZE to 64KB
  drm/amdgpu: Fix AMDGPU_GTT_MAX_TRANSFER_SIZE for non-4K page size

 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 8 +++++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h  | 2 +-
 drivers/gpu/drm/amd/amdgpu/vce_v1_0.c   | 3 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h   | 4 ++--
 5 files changed, 11 insertions(+), 8 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-04-03 13:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26 12:21 [PATCH v4 0/2] drm/amd: Add support for non-4K page size systems Donet Tom
2026-03-26 12:21 ` [PATCH v4 1/2] drm/amdgpu: Change AMDGPU_VA_RESERVED_TRAP_SIZE to 64KB Donet Tom
2026-03-26 12:36   ` Christian König
2026-03-26 13:47     ` Alex Deucher
2026-03-26 19:38     ` Kuehling, Felix
2026-03-26 12:21 ` [PATCH v4 2/2] drm/amdgpu: Fix AMDGPU_GTT_MAX_TRANSFER_SIZE for non-4K page size Donet Tom
2026-04-03 13:43   ` Donet Tom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox