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(-) -- 2.51.0
