aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2012-02-29 23:06:30 -0600
committerZiyann <jaraidaniel@gmail.com>2014-10-01 12:57:08 +0200
commit6ba5bdc9d36b5215823e574e85d70867376a94c5 (patch)
treed48e0cd67eb93738498e367e9cbbac8a66a3e985 /drivers/remoteproc
parent8eb3fcc5dc4d741a7437bf0554fa20f7b0c92cb7 (diff)
downloadkernel_samsung_tuna-6ba5bdc9d36b5215823e574e85d70867376a94c5.tar.gz
kernel_samsung_tuna-6ba5bdc9d36b5215823e574e85d70867376a94c5.tar.bz2
kernel_samsung_tuna-6ba5bdc9d36b5215823e574e85d70867376a94c5.zip
remoteproc: ignore static pool check for dsp IO buffers
The dsp remoteproc is using the same pool of 1D buffer region as the ducati. This cannot be configured in the static pool of dsp as this memory region is co-located only with ducati memory, but not dsp. So, ignore the valid memory check to proceed with the loading & booting for dsp. Change-Id: Ia92a2b7329cd0b9431afad4dde8c83396d861ba2 Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Jesse Villarreal <jesse.villarreal@ti.com> Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r--drivers/remoteproc/remoteproc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/remoteproc/remoteproc.c b/drivers/remoteproc/remoteproc.c
index c8be0ee25c0..92c6bbbde48 100644
--- a/drivers/remoteproc/remoteproc.c
+++ b/drivers/remoteproc/remoteproc.c
@@ -893,7 +893,13 @@ static int rproc_handle_resources(struct rproc *rproc, struct fw_resource *rsc,
rsc->pa = pa;
} else {
ret = rproc_check_poolmem(rproc, rsc->len, pa);
- if (ret) {
+ /*
+ * ignore the error for DSP buffers as they can
+ * not be assigned together with rest of dsp
+ * pool memory
+ */
+ if (ret &&
+ strcmp(rsc->name, "DSP_MEM_IOBUFS")) {
dev_err(dev, "static memory for %s "
"doesn't belong to poolmem\n",
rsc->name);