summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2019-01-16 20:29:40 -0800
committerAndy Gross <andy.gross@linaro.org>2019-01-24 22:20:34 -0600
commit9feb667d8674f7f85f5ab6c8d88788a0fbef8d7d (patch)
treef0f3ebbb521f80fe45e244d61b7235726aca16aa /net/lapb/lapb_subr.c
parentbede7d2dc8f36cc88212ae8d1e849fc7203cf2fe (diff)
arm64: dts: qcom: sdm845: Extend ranges and describe DMA space
For devices attached to an IOMMU, translation between IOVA and physical addresses is no longer 1:1 and dma-ranges should be specified to describe the available IOVA address space. On SDM845 the busses are implemented with 36 address bits, so dma-ranges must be defined to reduce the size of the IOVA address space from the 48 bits supported by the SMMU. Without this DMA allocations may end up with IOVAs outside the valid range, that gets truncated by the bus between the device and its translation unit. Also extend ranges to describe the available address space. Tested-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions