Re: [PATCH 1/4] drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem

2022-03-31 Thread Guido Günther
Hi Lucas, On Wed, Mar 23, 2022 at 05:08:22PM +0100, Lucas Stach wrote: > When the mapping is already reaped the unmap must be a no-op, as we > would otherwise try to remove the mapping twice, corrupting the involved > data structures. > > Cc: sta...@vger.kernel.org # 5.4 > Signed-off-by: Lucas Sta

Re: [PATCH 1/4] drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem

2022-03-24 Thread Philipp Zabel
On Mi, 2022-03-23 at 17:08 +0100, Lucas Stach wrote: > When the mapping is already reaped the unmap must be a no-op, as we > would otherwise try to remove the mapping twice, corrupting the > involved > data structures. > > Cc: sta...@vger.kernel.org # 5.4 > Signed-off-by: Lucas Stach Reviewed-by

[PATCH 1/4] drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem

2022-03-23 Thread Lucas Stach
When the mapping is already reaped the unmap must be a no-op, as we would otherwise try to remove the mapping twice, corrupting the involved data structures. Cc: sta...@vger.kernel.org # 5.4 Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_mmu.c | 6 ++ 1 file changed, 6 insert