Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Srinivas Kandagatla and committed by
Greg Kroah-Hartman
f1cf11c2 02b45b47

+1 -1
+1 -1
drivers/misc/fastrpc.c
··· 32 32 #define FASTRPC_CTX_MAX (256) 33 33 #define FASTRPC_INIT_HANDLE 1 34 34 #define FASTRPC_CTXID_MASK (0xFF0) 35 - #define INIT_FILELEN_MAX (2 * 1024 * 1024) 35 + #define INIT_FILELEN_MAX (64 * 1024 * 1024) 36 36 #define INIT_MEMLEN_MAX (8 * 1024 * 1024) 37 37 #define FASTRPC_DEVICE_NAME "fastrpc" 38 38