Re: [PATCH] arm64: dts: qcom: sdm845: Expand soc bus address range

2019-01-15 Thread Bjorn Andersson
On Tue 15 Jan 14:11 PST 2019, Doug Anderson wrote: > Hi, > > On Mon, Jan 14, 2019 at 1:19 PM Bjorn Andersson > wrote: > > > > DMA memory allocations for devices on the soc bus must be constrained to > > the 36 address bits that the bus provides, which without IOMMU is taken > > care of by the

Re: [PATCH] arm64: dts: qcom: sdm845: Expand soc bus address range

2019-01-15 Thread Doug Anderson
Hi, On Mon, Jan 14, 2019 at 1:19 PM Bjorn Andersson wrote: > > DMA memory allocations for devices on the soc bus must be constrained to > the 36 address bits that the bus provides, which without IOMMU is taken > care of by the addresses being direct physical allocations. The above confuses me

[PATCH] arm64: dts: qcom: sdm845: Expand soc bus address range

2019-01-14 Thread Bjorn Andersson
DMA memory allocations for devices on the soc bus must be constrained to the 36 address bits that the bus provides, which without IOMMU is taken care of by the addresses being direct physical allocations. Unless the bus_dma_mask is defined DMA allocations for devices will use all 40 bits