Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1240206lfc; Wed, 1 Jun 2022 12:46:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGx1rjGk3O9vWXImIvs7og5QbGjxWN+qpygBgTq/EAFa/fzl/iNv92jG5TrpQQyqJ5T5xJ X-Received: by 2002:a05:6a00:2310:b0:505:a8ac:40e7 with SMTP id h16-20020a056a00231000b00505a8ac40e7mr1224013pfh.11.1654112790223; Wed, 01 Jun 2022 12:46:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654112790; cv=none; d=google.com; s=arc-20160816; b=aLJDujii876Vib1N5x+kCASH43z1LSmikc0VEcfpNOPYkIOBpkRbfvkQO6XOel0LSH 585Xq4FwqCB6N2/4wlKJqzfopQtHWh2IBkUE9oKWJHPab0A58YUFZrSeaGrMegMX73X8 rDEFBOez7Yoi8b2g22eVVuOjLun5j/+jvOw52ekUW6RQMkrMycTg72+Bi3V3VNfZMe/D jhdRT07Sxsr2EF84tct5xMw8HFeH2c88OnTG+UliL1pfIR2mTr8YO/xlObpSwXLTJBL6 z62NEKj7rv/vg/t3IjVvlrU+jPbAUwaPstCAyuhTIILChDPXYdkVz09TcnBGsQTsXk4A qJUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=O2yg0I20nG+oUK+kNJ2d1RGgrkEmhPuBlC/mEvavGQQ=; b=wUB4+OU2J+UUCcFTI2FEzCgjoAxJN1MhT2tpafcNauZEjXOrQstgklv029hsEHzu8h mLcbHGgtr1tJ0yYGeLmZ+6LmRNczMwibLTSCVEXanQfisLGH0AtrICYN7nYah918OG31 /e1h4Ke/Nm79F32FxYJeI9MrKO0qZSjVFVUeUFqLzM97zaR06W8p0Ke4ceh6+FVvPEKM 4WGX8UfDWSJGXA3KtWtD/qgjo3417F20YGjJvZRt+o4+u7fuzlLy3ZAvtOht4XJAL8o6 Wg94c7vUamN1tFI3Pp/AjXL0SZ1n5GWuYwqebNZLFIq5e6IQheZrWw/7xwdoHfOF0Xaa 0xeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="Im/7K/n5"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k11-20020a170902d58b00b00163ebd62816si3214401plh.466.2022.06.01.12.46.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:46:30 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="Im/7K/n5"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C390712D16F; Wed, 1 Jun 2022 12:11:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237001AbiFAKqJ (ORCPT + 99 others); Wed, 1 Jun 2022 06:46:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352269AbiFAKpo (ORCPT ); Wed, 1 Jun 2022 06:45:44 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36C227E1FF; Wed, 1 Jun 2022 03:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654080343; x=1685616343; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=O2yg0I20nG+oUK+kNJ2d1RGgrkEmhPuBlC/mEvavGQQ=; b=Im/7K/n5nTKdBirGInFJ4MXhVodpTpXVcZt7sWsdyNFd44OTcnnKVYa5 +WrUk+wjyv9tJMF5AFe18MgRYRy8nIMFjhatIzG3fLsgFxRz/+IgP942W wdpXAalHv7h6UPP7NIprl4pZKR3FUE1QJWakwVfsJi7EWyqV9Fub8uQ4I 4=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 01 Jun 2022 03:45:43 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 01 Jun 2022 03:45:41 -0700 X-QCInternal: smtphost Received: from hu-rohiagar-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.106.138]) by ironmsg01-blr.qualcomm.com with ESMTP; 01 Jun 2022 16:15:23 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 732EB3FCD; Wed, 1 Jun 2022 16:15:22 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wim@linux-watchdog.org, linux@roeck-us.net Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, manivannan.sadhasivam@linaro.org, Rohit Agarwal Subject: [PATCH 08/11] ARM: dts: qcom: sdx65-mtp: Increase the vmalloc size Date: Wed, 1 Jun 2022 16:15:09 +0530 Message-Id: <1654080312-5408-9-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1654080312-5408-1-git-send-email-quic_rohiagar@quicinc.com> References: <1654080312-5408-1-git-send-email-quic_rohiagar@quicinc.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Increase the size of vmalloc using the bootargs in sdx65 mtp board. It is failing to alloacte the size needed for firmware and giving the error logs due to actual vmalloc region lesser than requested. cat /proc/meminfo shows the size of VmallocTotal as 245760 kB. [ 10.980356] vmap allocation for size 268439552 failed: use vmalloc= to increase size [ 10.980505] qcom_q6v5_pas 4080000.remoteproc: unable to map memory region: 0x90800000+10000000 [ 10.988542] In adsp alloc memory: adsp_probe 482 [ 10.988592] remoteproc remoteproc0: releasing 4080000.remoteproc [ 11.001598] qcom_q6v5_pas: probe of 4080000.remoteproc failed with error -16 Thus, increasing the size to 300000000 as modem is not the only one using vmalloc region. Signed-off-by: Rohit Agarwal --- arch/arm/boot/dts/qcom-sdx65-mtp.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom-sdx65-mtp.dts b/arch/arm/boot/dts/qcom-sdx65-mtp.dts index 85ea02d..966385f 100644 --- a/arch/arm/boot/dts/qcom-sdx65-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx65-mtp.dts @@ -21,6 +21,7 @@ chosen { stdout-path = "serial0:115200n8"; + bootargs = "vmalloc=300000000"; }; reserved-memory { -- 2.7.4