]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/msm: Extend gpu devcore dumps with pgtbl info
authorRob Clark <robdclark@chromium.org>
Tue, 10 Dec 2024 16:51:22 +0000 (08:51 -0800)
committerRob Clark <robdclark@chromium.org>
Thu, 27 Feb 2025 19:58:30 +0000 (11:58 -0800)
commitd7a5ac67d82c50c1f909c7056f78b1630a0f71cf
tree4b0224182122bc6b94312d00755afb1f396428cb
parent977e4ef27591a41cab8ff43cf390d32936d4b7f5
drm/msm: Extend gpu devcore dumps with pgtbl info

In the case of iova fault triggered devcore dumps, include additional
debug information based on what we think is the current page tables,
including the TTBR0 value (which should match what we have in
adreno_smmu_fault_info unless things have gone horribly wrong), and
the pagetable entries traversed in the process of resolving the
faulting iova.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/628117/
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_gpu.c
drivers/gpu/drm/msm/msm_gpu.h
drivers/gpu/drm/msm/msm_iommu.c
drivers/gpu/drm/msm/msm_mmu.h