From patchwork Tue Mar 14 05:37:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 69310 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1585850wrd; Mon, 13 Mar 2023 23:03:06 -0700 (PDT) X-Google-Smtp-Source: AK7set+w7z7AssAABK20Jy9W1VMKyNJYARoJZzTT5K1+ibRSS788BRWlJd+JX2CacmkTO7wdxSVu X-Received: by 2002:a17:903:22cc:b0:19c:d5a5:1f52 with SMTP id y12-20020a17090322cc00b0019cd5a51f52mr42909172plg.18.1678773786000; Mon, 13 Mar 2023 23:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678773785; cv=none; d=google.com; s=arc-20160816; b=0t3T5YiMZ+fPG7Nl2wLyRQuUYtU9aYnjNJ2veR7RX/qr/FLzxerF/eOUE5DCIL8Pxz yf9X45ZaFj9eJFxyHI1MQ6J0YVFDbee81GKB72pHJyJdxVxDQGUCRw7ZzwtLafBHV7gQ V2Ha87w2uMB+zTovbWr83dEPteCvmNRileJSNdR2Mfq1O1taKyr11LHrgOVd9y/Fm6Hc WNPsljHs+jZseKky2cJe0pl2wxP7sX6s9yU4Rg/vf0ZO6zvM+D0H29+xJC/ZnbvggvIh UjaKb+HByfYsznNxYpPhu5VyG/y/GeS6xTpy6reUlHK/LEOfTMczs0tl+Is/s0TdT8i9 fUEg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5/ORW+ZG5QT+TPocYHNFiE88/XBOJZ36UEuAeSGiS3k=; b=oWVJhXb9zPv1ncsW45TSyBcR/ZJ0QPUlhV00PAhXdI1fpevgNmBjoF0vXq0ytW/6Ht zsBvj47DRbRVQrwmCB4j+e126iEO78iQ8Pxyw7T6MhNHCyy1qYtFANgTVJ8gxCDvBFcU 3QXPuJwIGW8/+RTIpz2H5ymIuggdAR2XPCcGtZXMEVsWbARtjLLlYIhcyWsRVBGSICAF AXdhy2LeHsFlQniTH8WX8IQz6emOf8N5/w051pgN+skS6s6sKgoEwrjB1I6KwGop7wek 0szjT8pbScHmUCKTVEWdL7dzua4wguGJ4I7pGj3HG17SznUw/PEqntjNR20nObFtQ67z cPsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KgC3W5ID; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p2-20020a170902eac200b0019e698b3cefsi1669256pld.311.2023.03.13.23.02.47; Mon, 13 Mar 2023 23:03:05 -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=@linaro.org header.s=google header.b=KgC3W5ID; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230117AbjCNFiN (ORCPT + 99 others); Tue, 14 Mar 2023 01:38:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbjCNFiI (ORCPT ); Tue, 14 Mar 2023 01:38:08 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 636E7567A2 for ; Mon, 13 Mar 2023 22:37:55 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id d10so8213472pgt.12 for ; Mon, 13 Mar 2023 22:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678772275; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5/ORW+ZG5QT+TPocYHNFiE88/XBOJZ36UEuAeSGiS3k=; b=KgC3W5IDzN4LUdbRT3iFN7d0cAncrE4n8ln/gf+4ncvZddm2JS9mfUvfgLPL/FXDH0 YQpXC5an/SOmxd+w9D63Th+6q0X2rbD8JRL9W8t6Bs8TRsqcZF+UaneG/qXuxKngLkjT 0c65N4SjLlCgGEsmbgUOll4b54vbIFmkTjmwJ3ZVkR2NWnspsczsGtkTdjw9Hg/9Yb2O ijJuyLzi7FEoConmYfLnmjSxknrXksP6K2RDG/Yi8SIia2xyTqHx37ppbXvU01sr45Jq +UO6gJgBexQ6SnagtqQp7cKP+6K/KE8UbRktjMinGIsmWmlAz2sEEduIJ+zMu0RuX+7M mYSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678772275; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5/ORW+ZG5QT+TPocYHNFiE88/XBOJZ36UEuAeSGiS3k=; b=x1pLK5JntqhPgoue15B8o1Gea7qzhcDf/Cz7w2PYKtYy4A54rsX0hLu3SkGr2+H4+Y 5Y1SAqBkpZAw9R7wZAHeX/gVo3maXf81BzyXxpYe7I0d9O8sI8oKDfI5QJaoNqv93hU/ vDp1q9XuiWv6EqQilFrq/VpcqeXrnQHox562ZpqD3wgL+FbLlohcz6RBcCH8qxmRspIF QhW+vSao/61546gQXg3CEAupIOrSGw80I/ObWFpg09Vq6rR79wSlC93WYZYvhdFwonIg 0+D0GdYG363189xKxDGJeLkQ1bcaDvDYJxV1ScrHfz5LrOdE3zCyFD2/sLhz1sUb/GpQ r1yA== X-Gm-Message-State: AO0yUKUxdHOjT5e1MZDThNKD1sH5bpAGvJuDJ3PViDOzLTCrgIccfj6j /ZL1R6sqw3XqWkuTk1rPH7Db X-Received: by 2002:a62:3142:0:b0:5dc:ecea:f650 with SMTP id x63-20020a623142000000b005dceceaf650mr27802545pfx.19.1678772274844; Mon, 13 Mar 2023 22:37:54 -0700 (PDT) Received: from localhost.localdomain ([117.217.177.49]) by smtp.gmail.com with ESMTPSA id n126-20020a634084000000b005034a46fbf7sm675093pga.28.2023.03.13.22.37.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 22:37:54 -0700 (PDT) From: Manivannan Sadhasivam To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, bp@alien8.de, tony.luck@intel.com Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, linux-edac@vger.kernel.org, quic_ppareek@quicinc.com, luca.weiss@fairphone.com, ahalaney@redhat.com, steev@kali.org, Manivannan Sadhasivam Subject: [PATCH v7 04/13] arm64: dts: qcom: sc7180: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 11:07:16 +0530 Message-Id: <20230314053725.13623-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230314053725.13623-1-manivannan.sadhasivam@linaro.org> References: <20230314053725.13623-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760321901351002682?= X-GMAIL-MSGID: =?utf-8?q?1760321901351002682?= The LLCC block has several banks each with a different base address and holes in between. So it is not a correct approach to cover these banks with a single offset/size. Instead, the individual bank's base address needs to be specified in devicetree with the exact size. On SC7180, there is only one LLCC bank available. So let's just pass that as "llcc0_base". Reported-by: Parikshit Pareek Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index ebfa21e9ed8a..62cc9eb4882d 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -2760,7 +2760,7 @@ dc_noc: interconnect@9160000 { system-cache-controller@9200000 { compatible = "qcom,sc7180-llcc"; reg = <0 0x09200000 0 0x50000>, <0 0x09600000 0 0x50000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg-names = "llcc0_base", "llcc_broadcast_base"; interrupts = ; };