[v4,0/2] arm64: dts: qcom: sdm845: Fix DMA allocations for devices with IOMMU
mbox series

Message ID 20190117042940.25487-1-bjorn.andersson@linaro.org
Headers show
Series
  • arm64: dts: qcom: sdm845: Fix DMA allocations for devices with IOMMU
Related show

Message

Bjorn Andersson Jan. 17, 2019, 4:29 a.m. UTC
These patches extends the size cells of the soc bus and define the dma-ranges,
so that DMA allocations for devices with IOMMU attached will get valid IOVAs.

Changes since v3:
- Split patch in two
- Rewrote commit message from scratch

Bjorn Andersson (2):
  arm64: dts: qcom: sdm845: Increase address and size cells for soc
  arm64: dts: qcom: sdm845: Extend ranges and describe DMA space

 arch/arm64/boot/dts/qcom/sdm845.dtsi | 301 ++++++++++++++-------------
 1 file changed, 151 insertions(+), 150 deletions(-)

Comments

Srinivas Kandagatla Jan. 18, 2019, 1:05 p.m. UTC | #1
On 17/01/2019 04:29, Bjorn Andersson wrote:
> These patches extends the size cells of the soc bus and define the dma-ranges,
> so that DMA allocations for devices with IOMMU attached will get valid IOVAs.
> 
> Changes since v3:
> - Split patch in two
> - Rewrote commit message from scratch
> 
> Bjorn Andersson (2):
>    arm64: dts: qcom: sdm845: Increase address and size cells for soc
>    arm64: dts: qcom: sdm845: Extend ranges and describe DMA space
> 
>   arch/arm64/boot/dts/qcom/sdm845.dtsi | 301 ++++++++++++++-------------
>   1 file changed, 151 insertions(+), 150 deletions(-)
> 

Thanks for the fix, finally managed to get both fastrpc and ufs working 
together with iommu!


Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>