diff options
author | Christoph Hellwig <hch@lst.de> | 2020-04-14 15:31:36 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-04-21 09:20:00 +0300 |
commit | 459b1f86f1cba7de813fbc335df476c111feec22 (patch) | |
tree | 7fa3de01c386bbdf89fa9f88a586758be0fe7109 /usr | |
parent | f49176fb13db5a1716255e8695b68feeb47cea3c (diff) | |
download | linux-459b1f86f1cba7de813fbc335df476c111feec22.tar.xz |
firmware: qcom_scm: fix bogous abuse of dma-direct internals
As far as the device is concerned the dma address is the physical
address. There is no need to convert it to a physical address,
especially not using dma-direct internals that are not available
to drivers and which will interact badly with IOMMUs. Last but not
least the commit introducing it claimed to just fix a type issue,
but actually changed behavior.
Fixes: 6e37ccf78a532 ("firmware: qcom_scm: Use proper types for dma mappings")
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20200414123136.441454-1-hch@lst.de
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions