Messages in this thread | | | From | Jernej Skrabec <> | Subject | [PATCH 0/5] iommu/sun50i: Fix various issues | Date | Thu, 13 Oct 2022 20:12:15 +0200 |
| |
Testing IOMMU together with video decoder (Cedrus) exposed many bugs in sun50i-iommu driver. This series addresses all issues so video decoder works well with IOMMU.
First two patches address recovery issues in interrupt when either page faults or permission errors were reported. Third patch fixes permission domain assignment. Fourth patch fixes dma sync size. Sometimes sync also touched some other buffers and kernel generated warning in dmesg. Fifth patch fixes issue with synching PDE and PTE tables. Without it, page faults were randomly generated even with valid iova addresses.
Please take a look.
Best regards, Jernej
Jernej Skrabec (5): iommu/sun50i: Fix reset release iommu/sun50i: Consider all fault sources for reset iommu/sun50i: Fix R/W permission check iommu/sun50i: Fix flush size iommu/sun50i: Invalidate iova in map and unmap callback
drivers/iommu/sun50i-iommu.c | 66 +++++++++++++++++++++++++++++++++--- 1 file changed, 61 insertions(+), 5 deletions(-)
-- 2.38.0
| |