aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/misc/fastrpc.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2019-03-07 10:12:29 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-28 02:09:58 +0900
commitf1cf11c296c599b81549aa2c5221d75138a58aa4 (patch)
tree77a15630b7d3a4424cb2910ef8a379cffd16c526 /drivers/misc/fastrpc.c
parentmisc: fastrpc: fix remote page size calculation (diff)
downloadwireguard-linux-f1cf11c296c599b81549aa2c5221d75138a58aa4.tar.xz
wireguard-linux-f1cf11c296c599b81549aa2c5221d75138a58aa4.zip
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/fastrpc.c')
-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"