summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2019-03-07 13:12:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-27 20:09:58 +0300
commitf1cf11c296c599b81549aa2c5221d75138a58aa4 (patch)
tree77a15630b7d3a4424cb2910ef8a379cffd16c526 /drivers/misc
parent02b45b47fbe84e23699bb6bdc74d4c2780e282b4 (diff)
downloadlinux-f1cf11c296c599b81549aa2c5221d75138a58aa4.tar.xz
misc: fastrpc: increase max init file size to 64 MB
In some cases where Neural Processing is required the size of init process exceeds default size of 2MB, increase this size to 64MB which is required for QCS404 CDSP Neural Processing. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/fastrpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c
index aa2d55894263..c4cc8e53243d 100644
--- a/drivers/misc/fastrpc.c
+++ b/drivers/misc/fastrpc.c
@@ -32,7 +32,7 @@
#define FASTRPC_CTX_MAX (256)
#define FASTRPC_INIT_HANDLE 1
#define FASTRPC_CTXID_MASK (0xFF0)
-#define INIT_FILELEN_MAX (2 * 1024 * 1024)
+#define INIT_FILELEN_MAX (64 * 1024 * 1024)
#define INIT_MEMLEN_MAX (8 * 1024 * 1024)
#define FASTRPC_DEVICE_NAME "fastrpc"