diff options
author | Loic Pallardy <loic.pallardy@st.com> | 2017-03-28 13:49:44 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-08-24 15:37:28 -0700 |
commit | 9dd87c2af651b09e34eed09e60228a1fd2edf969 (patch) | |
tree | 66659cacce12f13a0c98c550a0b0445420af8e5e /drivers/rpmsg/Kconfig | |
parent | f93848f9eeb0f87874b8ba8798570bf391eff17f (diff) | |
download | linux-9dd87c2af651b09e34eed09e60228a1fd2edf969.tar.bz2 |
rpmsg: virtio_rpmsg_bus: fix sg_set_buf() when addr is not a valid kernel address
To specify memory for remoteproc, we declare (dma_declare_coherent_memory())
an area which is ioremap'ed to the vmalloc area. However, this address is
not a kernel address so virt_addr_valid(buf) fails.
Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Tested-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg/Kconfig')
0 files changed, 0 insertions, 0 deletions