]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/msm: Support IO_PGTABLE_QUIRK_NO_WARN_ON
authorRob Clark <robdclark@chromium.org>
Sun, 29 Jun 2025 20:13:15 +0000 (13:13 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Sat, 5 Jul 2025 00:48:37 +0000 (17:48 -0700)
commit2b93efeb83bd2d4bc82817109a1973acb8129173
tree666047fec77f2ff29d020406c509ad935e10e03a
parent92395af63a9958615edfa9d4ef1ea72c92a00410
drm/msm: Support IO_PGTABLE_QUIRK_NO_WARN_ON

With user managed VMs and multiple queues, it is in theory possible to
trigger map/unmap errors.  These will (in a later patch) mark the VM as
unusable.  But we want to tell the io-pgtable helpers not to spam the
log.  In addition, in the unmap path, we don't want to bail early from
the unmap, to ensure we don't leave some dangling pages mapped.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Tested-by: Antonino Maniscalco <antomani103@gmail.com>
Reviewed-by: Antonino Maniscalco <antomani103@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/661520/
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/msm_iommu.c
drivers/gpu/drm/msm/msm_mmu.h