public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Workaround for partial huge page unmaps in Panthor
@ 2025-11-27  3:50 Adrián Larumbe
  2025-11-27  3:50 ` [PATCH v2 1/1] drm/panthor: Support partial unmaps of huge pages Adrián Larumbe
  0 siblings, 1 reply; 3+ messages in thread
From: Adrián Larumbe @ 2025-11-27  3:50 UTC (permalink / raw)
  To: linux-kernel
  Cc: dri-devel, Steven Price, Boris Brezillon, kernel,
	Adrián Larumbe

This is v2 of [1]. This patch is a workaround for performing partial unmaps of a VM region backed
by huge pages. Since these are now disallowed, the patch makes sure unmaps are done on a backing
page-granularity, and then regions untouched by the VM_BIND unmap operation are restored.

A patch series with IGT tests to validate this functionality is found at [2].

Changelog:

v2:
 - Fixed bug caused by confusion between semantics of gpu_va prev and next ops boundaries
   and those of the original vma object.
 - Coalesce all unmap operations into a single one.
 - Refactored and simplified code.

[1] https://lore.kernel.org/dri-devel/20251019032108.3498086-1-adrian.larumbe@collabora.com/
[2] https://lore.kernel.org/igt-dev/20251127030145.585641-1-adrian.larumbe@collabora.com/T/#t

Adrián Larumbe (1):
  drm/panthor: Support partial unmaps of huge pages

 drivers/gpu/drm/panthor/panthor_mmu.c | 76 +++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

--
2.51.2

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

end of thread, other threads:[~2025-11-27  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27  3:50 [PATCH v2 0/1] Workaround for partial huge page unmaps in Panthor Adrián Larumbe
2025-11-27  3:50 ` [PATCH v2 1/1] drm/panthor: Support partial unmaps of huge pages Adrián Larumbe
2025-11-27  9:11   ` Boris Brezillon

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