Skip to content

drm/panthor: Misc fixes

Boris Brezillon dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/panthor: Fix UAF on kernel BO VA nodesdrivers/gpu/drm/panthor/panthor_gem.c+3 -112 replies
2/4drm/panthor: Add support for atomic page table updatesdrivers/gpu/drm/panthor/panthor_mmu.c+90 -922 replies
3/4drm/panthor: Make panthor_vm_[un]map_pages() more robustdrivers/gpu/drm/panthor/panthor_mmu.c+55 -272 replies
4/4drm/panthor: Relax check in panthor_sched_pre_reset()drivers/gpu/drm/panthor/panthor_sched.c+0 -25 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchLiviu Dudau
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/4] drm/panthor: Misc fixes

Hello,

This is a set of fixes for bugs I ran into while looking at [1]. Hopefully that's enough to recover from AS_ACTIVE bit stuck situations, but it'd be good to understand why the MMU block is completely blocked in some cases and try to come up with better mitigations than a full GPU reset.

Regards,

Boris

[1]https://gitlab.freedesktop.org/panfrost/linux/-/issues/57

Boris Brezillon (4):
drm/panthor: Fix UAF on kernel BO VA nodes drm/panthor: Add support for atomic page table updates drm/panthor: Make panthor_vm_[un]map_pages() more robust drm/panthor: Relax check in panthor_sched_pre_reset()

 drivers/gpu/drm/panthor/panthor_gem.c   |  14 +-
 drivers/gpu/drm/panthor/panthor_mmu.c   | 250 +++++++++++++-----------
 drivers/gpu/drm/panthor/panthor_sched.c |   2 -
 3 files changed, 141 insertions(+), 125 deletions(-)
Signature · 1 line
2.51.0