]> asedeno.scripts.mit.edu Git - linux.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)
commit6806f2c70cfe145b3b6809242c8e1254071c1cf3
tree701cff35073df9919a94b4b206460b944c990d16
parent60f01d7a138cbae38148dd5d579d88866f691bf6
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