From patchwork Thu Mar 7 10:12:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 159826 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp7251186jad; Thu, 7 Mar 2019 02:13:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyiq6AzMlf0Zyl4u/mmomBcAGDIeclpZ+7zqDLbnRAmSW6tGATJ+a5HlXxYtrF3QoUykaG+ X-Received: by 2002:a63:7341:: with SMTP id d1mr10886725pgn.405.1551953618540; Thu, 07 Mar 2019 02:13:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551953618; cv=none; d=google.com; s=arc-20160816; b=q1hECUpZ5oAafYTlg32+dz/cpEBz903CgMs9pfJdDnNyYnBO46w+NhGJQWnrgdKa2W flfvCqC+cT+P5S4d3U2HKhkOvzmahBs7OUX4hw/M3b3YZ64bPdJ6S3dhfFnD0eRJLr5x zRN/LQw28WAWYkZXEvqS2hXgKo6lCcNmFmBgA7WSCnq0udH4u9hig/F1AmgoEzvzHews sXcWa9JwD2Oc3kErLpvkj1g/pBZUhTA+AqDnr9qhFtqWNY+xuiBBUxHepmvIt6sVsust YEI11uuM/40Tn7U5GUu/tIAD7uFo0EEdb3P3ZOuMuOg7kG1rZMno8pxwG5FTpd7VEeJM ql3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Niv4ry4Ht+sxGjnCxKmfDqaEVLiah3CqjMUhN/hOXN4=; b=LyN08ShPytT6wMkn4EZ98UT6Ko4LPx+2EA3liR9OylaiJX0l3e7konD5bUMSjXYc6F ssrfaC2usQhOymrdtjl9eWu10ZvIevS7o9s8UN/4J8HpHy/07gzQV/qj/kubhDmOyJWO 9/0WSHbHwRVkSLHxW+trXb/Xs5aHqkKI+bdVyWr3yBEXqgK/v7r2sjyaga4c10pVhBKt 3JdhGgMkmERbFxTZb6NFKp2aCw5y5jzbsTXQesUh3bxLM9jqJgxSHJ7n+Mor6e2BxKfZ 3PpPkjlu/2yC8x5fv9Ls6gydse8WQeTRWKeT37xGLUbziDJQaOAoBqOXsFfUDrt7ySZY Vagw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yR1nmvMf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p25si3957312pff.77.2019.03.07.02.13.38; Thu, 07 Mar 2019 02:13:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yR1nmvMf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726526AbfCGKN2 (ORCPT + 31 others); Thu, 7 Mar 2019 05:13:28 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40201 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbfCGKNZ (ORCPT ); Thu, 7 Mar 2019 05:13:25 -0500 Received: by mail-wm1-f67.google.com with SMTP id g20so8559628wmh.5 for ; Thu, 07 Mar 2019 02:13:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Niv4ry4Ht+sxGjnCxKmfDqaEVLiah3CqjMUhN/hOXN4=; b=yR1nmvMf1fCdlxvgSENtriX3WgsjDI+IPDnnJk7JFdhE8JCSWg4NTREZytgNAcvFaT IK3l2fRCkQPyDD2Hz4Zsu8j3+ygSljewQzP484SfLz5HPxag9gg3Mre8FwziCHLOE1oJ 78e3K+2UUjYbQVJUl4AUywyzL2uMNP/KLtrELjQBW6vlZMGng2n0gcH/0vwzIVQ2SDZr 0gMdF2+58yoSIefo7o/kJ0VU7Kqcqb5alBDB14uZC4LF797rUozoJpyrf79WA1CDuglq xhXuOwNC7LfiOlsQsw4sIjbib50TmtBenyT70Fr2TDHLqEQE+TCF0E1VC2TJK2joaBvi EZ0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Niv4ry4Ht+sxGjnCxKmfDqaEVLiah3CqjMUhN/hOXN4=; b=JsvYRQXJczjwPXKoUufCGRikbsKNrRwalncgj0Vl9eCZ4A16nH9pF3gep7KWNXzrqO 7S0tUyz+3Q5ea5CVhN0FanQmqPorjhEU83nznowC/YuYFIRmQhLEYoWPQlAlN2yG0kvF ZQ3JCxlzXfhHOj0zCfgHMywJe4wzqSzLf/Bf0GwwJZmX8AZtRlvXbGY5H1i8qsUb+oS2 YtpMmXJuEvWZishT23QUnuEwKR1JaV3Mz6lDO4RAfboUCHjrTVDir3lN9lKsOoygvjdv e5BbbQo44noPnOCc385PZKjJUPtJAeVJrBw+JkIlYizEmHFYmqZZ5cJsTvlVzW49kYKC EIkg== X-Gm-Message-State: APjAAAXcSpCb08szAQOXIttxYBmVOStF6FaOeQ6gqKlz6cBqwSHwp741 pqwOJAuTte31WHDl1+U7OCLBQBQo7+0= X-Received: by 2002:a1c:2dd1:: with SMTP id t200mr5046697wmt.148.1551953603357; Thu, 07 Mar 2019 02:13:23 -0800 (PST) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id n9sm3529767wmi.33.2019.03.07.02.13.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 02:13:22 -0800 (PST) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, bkumar@qti.qualcomm.com, linux-arm-msm@vger.kernel.org, ktadakam@qti.qualcomm.com, Srinivas Kandagatla Subject: [PATCH 8/8] misc: fastrpc: increase max init file size to 64 MB Date: Thu, 7 Mar 2019 10:12:29 +0000 Message-Id: <20190307101229.7856-9-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190307101229.7856-1-srinivas.kandagatla@linaro.org> References: <20190307101229.7856-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/misc/fastrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0 diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c index d0e2e2620087..7e0d4528f3b9 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"