Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1217116rwi; Fri, 14 Oct 2022 14:59:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM683u+1Iwjfbs3tJT2HCn2/KLePgo4dXB4Zq5Olui6mPZnwI2OOnQ4boF/4/d9iNjlkS0hp X-Received: by 2002:a17:907:2e19:b0:78e:281d:91fe with SMTP id ig25-20020a1709072e1900b0078e281d91femr41342ejc.482.1665784749865; Fri, 14 Oct 2022 14:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665784749; cv=none; d=google.com; s=arc-20160816; b=R0aMfqNAreeYgsx94F9ZAvlulK7mXjQyucVZjhns/nJ6g1e24Xyij3HgMQDBHEYrau Dm4EghOQBAk0OBiq6spoLSdkismqdUcei5UIcZPXfiTYFn7PXz30i6/caWMMgvKfhRaX X8zqY4dyoHRbe30vDYBidYs01peTNmwg3E0GyKqxLcRcyM0ojehD0WBh0zZVv3B5PbR3 wsWoD52hIm1A7yaYK2DISqP5YWgH/8iBxaoJH5hwYadzZcuFo/ulSEV7zbbWzVD9nBQj wcVAx+3UFRvXZ7xZALbW9uyEO1M9TMGYRzd2hVV6+1uqXAlc4IXOWlMuxWuolwUUq6Zm yAbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=o1t17x5zzSpdCuf+jFEyQQCtGA/0x7inpYCOmKSTCbI=; b=QPfWf/T3NxEI/wco9XE+Mw8UpBO3Zer0rmxyU71gtagdjAPzn8sAXyR6fZ86VH2Po5 /tlhI6qMdJ+ieH+u2qusvO+uzSMIGQi+1RYOaGT1BmZLHxXU6IulMKzf5k1ej2tZDQJM Vq7ao1HzLcOyJlKeD5PZTNSva1LH+fcjvXUAkWdWqhP64afJZg9qD8JuPp422FMpeDG8 aMiRUxu635YddyCZIEMTKji3Dx+YUEf5sUo87/83DT0PlmWrh3ajLb4y7++/ACbYQldl EZjmbVljDD5FooQ6kYU5tXXvggOjSD1Pt2cInYUcPghwya4Knbd4up3e/oCVMHGEZM99 4IuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Uo/GHpK8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a056402254f00b0045d4b7ad0e4si186463edb.400.2022.10.14.14.58.44; Fri, 14 Oct 2022 14:59:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Uo/GHpK8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229691AbiJNVxH (ORCPT + 99 others); Fri, 14 Oct 2022 17:53:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbiJNVxF (ORCPT ); Fri, 14 Oct 2022 17:53:05 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDEDE178BD for ; Fri, 14 Oct 2022 14:53:04 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id l4so5916550plb.8 for ; Fri, 14 Oct 2022 14:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=o1t17x5zzSpdCuf+jFEyQQCtGA/0x7inpYCOmKSTCbI=; b=Uo/GHpK8vU+smItb6OkYUg4Tbd+055hEHZN7hanO/jiPIWezUApYxsQMXMB6pYaNHW YN66dB0oETBKwriK4Nmb5J9TkN89fw0Z1ls/fLsECw/qHWGQjTN79WOUuwSOTqI8vUme ycK4KPHzIMv/LQwAtM1LH0zOkn9dBCsMmfJoY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=o1t17x5zzSpdCuf+jFEyQQCtGA/0x7inpYCOmKSTCbI=; b=5XFxyPk345bvhDHKth8NjY+R0akJAlGRMJlW0ASqJxuZYmbk+/hzCzwDQytnSAIPWC 7c+GdKuNAk37xT5aZlPLleXkZooKM4A3tz8YQbB1MfXZ1FiJdAyykyeZbWZprfHMpCcz ga/iUxDi5/fDnp1/7eMmUq/c1f4EUHdhNk0JHBgm9tOa2qg2+fQQPigTPrqMAGPpRweq VUbvIVV6TulObTIROpEsCi6fJHyvtVAEoEhknDFmq1IkMC3+t46IxROGT++3VmfMsKA1 zbQ1gSJZZqXcUXjMjuWxH6vM3Py8mkWjWIz3A6Kag0CitG0SatJ0jxPrxxhTquWh9/fO 6xXQ== X-Gm-Message-State: ACrzQf1CXuKbRaFcALFsMuGScOOiC2Jx7aSY8FOrhB0eRBdkyXYuo4HP Hm7Ctn2cTAb13UfQL0+0HCMOXQ== X-Received: by 2002:a17:90b:380b:b0:20d:7364:796f with SMTP id mq11-20020a17090b380b00b0020d7364796fmr30737pjb.13.1665784384453; Fri, 14 Oct 2022 14:53:04 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:9d:2:9f6e:fc87:d13f:1fa6]) by smtp.gmail.com with ESMTPSA id p184-20020a625bc1000000b005618189b0ffsm2197437pfb.104.2022.10.14.14.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 14:53:03 -0700 (PDT) From: Stephen Boyd To: stable@vger.kernel.org Cc: Sibi Sankar , linux-kernel@vger.kernel.org, patches@lists.linux.dev, Alex Elder , Evan Green , Bjorn Andersson Subject: [PATCH 5.10] arm64: dts: qcom: sc7180-trogdor: Fixup modem memory region Date: Fri, 14 Oct 2022 14:53:02 -0700 Message-Id: <20221014215302.3905135-1-swboyd@chromium.org> X-Mailer: git-send-email 2.38.0.413.g74048e4d9e-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 From: Sibi Sankar commit ef9a5d188d663753e73a3c8e8910ceab8e9305c4 upstream. The modem firmware memory requirements vary between 32M/140M on no-lte/lte skus respectively, so fixup the modem memory region to reflect the requirements. Reviewed-by: Evan Green Signed-off-by: Sibi Sankar Link: https://lore.kernel.org/r/1602786476-27833-1-git-send-email-sibis@codeaurora.org Signed-off-by: Bjorn Andersson --- This fixes boot of the modem on trogdor boards with the DTS from 5.10.y stable tree. Without this patch I run into memory assignment errors and then the modem fails to boot. arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi | 4 ++++ arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi index 44956e3165a1..469aad4e5948 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi @@ -9,6 +9,10 @@ &ap_sar_sensor { label = "proximity-wifi-lte"; }; +&mpss_mem { + reg = <0x0 0x86000000 0x0 0x8c00000>; +}; + &remoteproc_mpss { firmware-name = "qcom/sc7180-trogdor/modem/mba.mbn", "qcom/sc7180-trogdor/modem/qdsp6sw.mbn"; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 5b2a616c6257..cb2c47f13a8a 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -39,7 +39,7 @@ atf_mem: memory@80b00000 { }; mpss_mem: memory@86000000 { - reg = <0x0 0x86000000 0x0 0x8c00000>; + reg = <0x0 0x86000000 0x0 0x2000000>; no-map; }; base-commit: 014862eecf03f58066a957027dde73cbecdf4395 -- https://chromeos.dev