]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: allwinner: h6: Fix Cedrus IOMMU usage
authorMaxime Ripard <maxime@cerno.tech>
Sun, 28 Jun 2020 18:08:04 +0000 (20:08 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jul 2020 08:10:30 +0000 (10:10 +0200)
commita6d4864e28fb31e64a5c86bd2c980770eb721a92
treee7f04e76fbdfcf661d8df0d885a51580f8eecd25
parentaed8e0880b554acff764a025d5fe5ba749a586e6
arm64: dts: allwinner: h6: Fix Cedrus IOMMU usage

Now that the IOMMU driver has been introduced, it prevents any access from
a DMA master going through it that hasn't properly mapped the pages, and
that link is set up through the iommus property.

Unfortunately we forgot to add that property to the video engine node when
adding the IOMMU node, so now any DMA access is broken.

Fixes: 637ff2a004f5 ("arm64: dts: allwinner: h6: Add IOMMU")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200628180804.79026-1-maxime@cerno.tech
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi