Searched hist:"60 f849a5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/remoteproc/ |
H A D | remoteproc_core.c | 60f849a5 Thu Jan 10 07:49:09 CST 2019 Loic Pallardy <loic.pallardy@st.com> remoteproc: fix rproc_alloc_carveout() for rproc with iommu domain
Correct remoteproc core behavior when memory carveout device address is fixed in resource table and rproc device doesn't have associated IOMMU. Current returned error is breaking legacy on TI platforms. This patch restores previous behavior. It adds a warn message when allocation doesn't fit carveout request, but doesn't stop rproc_start() sequence anymore.
Fixes: 3bc8140b157c ("remoteproc: configure IOMMU only if device address requested")
Signed-off-by: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> 60f849a5 Thu Jan 10 07:49:09 CST 2019 Loic Pallardy <loic.pallardy@st.com> remoteproc: fix rproc_alloc_carveout() for rproc with iommu domain Correct remoteproc core behavior when memory carveout device address is fixed in resource table and rproc device doesn't have associated IOMMU. Current returned error is breaking legacy on TI platforms. This patch restores previous behavior. It adds a warn message when allocation doesn't fit carveout request, but doesn't stop rproc_start() sequence anymore. Fixes: 3bc8140b157c ("remoteproc: configure IOMMU only if device address requested") Signed-off-by: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
|