[PATCH v1.5 0/6] R-Car DU: Fix IOMMU operation when connected to VSP

Simon Horman horms at verge.net.au
Wed Aug 30 08:46:47 UTC 2017


On Fri, Dec 09, 2016 at 01:35:06PM +0100, Ulrich Hecht wrote:
> Hi!
> 
> This is a slightly updated version of Laurent's series that adds the fix
> suggested by Magnus Damm and connects the FCP devices on M3-W to their
> IPMMU. It also drops the patches that have already been picked up in the
> media tree.
> 
> With this series and an assortment of patches from the renesas-drivers tree (
>     iommu/ipmmu-vmsa: Remove platform data handling
>     iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context
>     iommu/ipmmu-vmsa: Break out utlb parsing code
>     iommu/ipmmu-vmsa: Break out domain allocation code
>     iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops
>     iommu/ipmmu-vmsa: ARM and ARM64 archdata access
>     iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency
>     iommu/ipmmu-vmsa: Introduce features, break out alias
>     iommu/ipmmu-vmsa: Add optional root device feature
>     iommu/ipmmu-vmsa: Enable multi context support
>     iommu/ipmmu-vmsa: Reuse iommu groups
>     iommu/ipmmu-vmsa: Make use of IOMMU_OF_DECLARE()
>     iommu/ipmmu-vmsa: Teach xlate() to skip disabled iommus
>     iommu/ipmmu-vmsa: IPMMU device is 64-bit bus master
>     iommu/ipmmu-vmsa: Write IMCTR twice
>     iommu/ipmmu-vmsa: Make IMBUSCTR setup optional
>     iommu/ipmmu-vmsa: Allow two bit SL0
>     iommu/ipmmu-vmsa: Hook up r8a7795 DT matching code
>     iommu/ipmmu-vmsa: Add r8a7796 DT binding
>     iommu/ipmmu-vmsa: Increase maximum micro-TLBS to 48
>     iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code
>     arm64: dts: r8a7795: Add IPMMU device nodes
>     arm64: dts: r8a7795: Hook up SYS-DMAC to IPMMU
>     arm64: dts: r8a7795: Point FCP devices to IPMMU
>     arm64: dts: r8a7795: Connect Ethernet AVB to IPMMU
>     arm64: dts: r8a7796: Add IPMMU device nodes
>     clk: renesas: r8a7796: Add FCP clocks
>     clk: renesas: r8a7796: Add VSP clocks
>     clk: renesas: r8a7796: Add DU and LVDS clocks
>     drm: rcar-du: Add R8A7796 device support
>     arm64: dts: renesas: r8a7795: Remove FCP SoC-specific compatible strings
>     arm64: dts: renesas: r8a7796: Add FCPF and FCPV instances
>     arm64: dts: renesas: r8a7796: Add VSP instances
>     arm64: dts: renesas: r8a7796: Add DU device to DT
>     arm64: dts: renesas: r8a7796-salvator-x: Enable DU
> ), I can enable IPMMU on both the H3 and M3-W Salvator-X boards with no ill
> effects on the results of the vsp-tests suite.
> 
> CU
> Uli
> 
> 
> Laurent Pinchart (4):
>   v4l: rcar-fcp: Don't get/put module reference
>   v4l: rcar-fcp: Add an API to retrieve the FCP device
>   v4l: vsp1: Add API to map and unmap DRM buffers through the VSP
>   drm: rcar-du: Map memory through the VSP device
> 
> Ulrich Hecht (2):
>   v4l: vsp1: Provide display list and VB2 queue with FCP device
>   arm64: dts: r8a7796: Connect FCP devices to IPMMU

Hi Ulrich,

I am wondering what the status of this work is.


More information about the dri-devel mailing list