Re: [PATCH v3] drm/shmem-helper: Fix Map huge page mapping in fault handler
From: Thomas Zimmermann
Date: Mon Mar 16 2026 - 08:15:25 EST
Hi
Am 16.03.26 um 11:36 schrieb Boris Brezillon:
On Mon, 16 Mar 2026 11:14:40 +0100
Thomas Zimmermann <tzimmermann@xxxxxxx> wrote:
Am 16.03.26 um 10:50 schrieb Boris Brezillon:We need a fix in drm-misc-fixes since it's a bug that exists in v7.0,
This patch will conflict heavily with the folio-tracking patches thatAvoid this race by adding a huge_fault callback to drm_gem_shmem_vm_ops so that
PMD-sized mappings are handled through the appropriate huge page fault path.
has been merged into upstream DRM. How do we deal with that?
and a conflict resolution recorded in drm-tip to deal with the
drm-misc-fixes vs drm-misc-next conflicts (I don't remember the exact
process, but it's documented in dim).
I can easily do that when I merge the fix into drm-misc-fixes. I'd only need the fixed and tested patch that applies to the current drm-misc-next beforehand.
Best regards
Thomas
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)