]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: juno: enable some SMMUs
authorRobin Murphy <robin.murphy@arm.com>
Thu, 18 May 2017 12:23:36 +0000 (13:23 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 19 May 2017 13:38:16 +0000 (14:38 +0100)
commit487071bc1ecc030e0b03e96712a247ae2334e161
tree701cff35073df9919a94b4b206460b944c990d16
parent042ad7f8e8823588bd164daa950d47b5efd0621b
arm64: dts: juno: enable some SMMUs

The IOMMU-backed DMA API support has now been in place for a while and
proven stable, so there's no real need to keep most of Juno's SMMUs
disabled. The USB, HDLCDs, and CoreSight ETR all just need to map RAM
buffers for DMA - enabling their SMMUs obviates CPU bounce buffering for
USB's streaming DMA to the upper memory bank, and lets the other two
allocate their relatively large coherent buffers without pressuring CMA.

Some more software work is still needed for the DMA-330 and PCIe before
those can accommodate SMMU translation correctly in all cases, so we
leave those alone for now.

Tested-by: Liviu Dudau <Liviu.Dudau@arm.com> [only HDLCD]
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm64/boot/dts/arm/juno-base.dtsi