Files
kernel-starfive-jh7110/drivers/gpu/drm/msm
Rob Clark c96a494c9b drm/msm: Wire up tlb ops
commit 8c7bfd8262319fd3f127a5380f593ea76f1b88a2 upstream.

The brute force iommu_flush_iotlb_all() was good enough for unmap, but
in some cases a map operation could require removing a table pte entry
to replace with a block entry.  This also requires tlb invalidation.
Missing this was resulting an obscure iova fault on what should be a
valid buffer address.

Thanks to Robin Murphy for helping me understand the cause of the fault.

Cc: Robin Murphy <robin.murphy@arm.com>
Cc: stable@vger.kernel.org
Fixes: b145c6e65e ("drm/msm: Add support to create a local pagetable")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/578117/
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 09:25:07 +01:00
..
2024-01-25 15:35:35 -08:00
2024-02-05 20:14:38 +00:00
2023-08-10 13:08:03 -07:00
2023-08-10 13:08:03 -07:00
2023-08-07 14:51:21 -07:00
2024-02-23 09:25:07 +01:00
2023-08-02 12:37:36 +03:00