[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251127035021.624045-1-adrian.larumbe@collabora.com>
Date: Thu, 27 Nov 2025 03:50:12 +0000
From: Adrián Larumbe <adrian.larumbe@...labora.com>
To: linux-kernel@...r.kernel.org
Cc: dri-devel@...ts.freedesktop.org,
Steven Price <steven.price@....com>,
Boris Brezillon <boris.brezillon@...labora.com>,
kernel@...labora.com,
Adrián Larumbe <adrian.larumbe@...labora.com>
Subject: [PATCH v2 0/1] Workaround for partial huge page unmaps in Panthor
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
Powered by blists - more mailing lists