From patchwork Tue Mar 14 08:04:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 69355 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1625142wrd; Tue, 14 Mar 2023 01:07:45 -0700 (PDT) X-Google-Smtp-Source: AK7set9N0PTqFFhRqO0BGWl1L1J02Vley7XMwLfCKYDRLyCgTwMi7GPLgRs5l46axrguXrc9Hz6z X-Received: by 2002:a17:90a:660b:b0:23d:c49:3875 with SMTP id l11-20020a17090a660b00b0023d0c493875mr5703676pjj.33.1678781265399; Tue, 14 Mar 2023 01:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678781265; cv=none; d=google.com; s=arc-20160816; b=kdSJkYskSc+W/wMjswdW+cVBFj7HzH1ZeHsu1C9QWlkxA51yKO4YcJpMq5PBaHzk9W k2A3gHm/Tz4fjDImsDthoHt32E9KRjBTV3swy0uqWSGrEg4xpXjcRQBHddCFZzeoDGCR 6oPemQQtsjGjIoOLtr62kyg1gWaenPLDPILAm9BL3lzK01Buu3tU7DkPQyHffLkjuCT0 oF80pDJY66rMEK5mm7jC+VT+/wcmxXqvE0hAGVmJeIcJGxo8zq2Ak3RQcamt9I1+HYuj TLY0nk7Bie+dMMiqYK53dtWla1NlctEldjEGR1YAmJsOhHUspJuZhee7ZPuOvVPxX9fK oS+w== 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=yqwK6TcGjAz04KGXLoszY4ospGxs4tGDAzQeGyANDbE=; b=iV+SNalhjY5eSwPPulwoQ5zGqlM8dZ27I981fxA7fAK+FIdA37P8UJl8ugLiqgLRCU K6W114SIgAi23OPUrmLlkhA8JmtOPcl5Lqaq0chBC3/2jZXjZxqN1OgUj77hoJJcvJ6a s216IpIW0TrtOS/2brB2c0jLdpdBRR77UzHm8KEoO2VjMEYKJJqLRBiAYVCIgzdVgQki xtXwbqc7jrDqoziDJr6GOGWCw8hKdRDLnLN9vRN3xJfC4bObmH2RrJE9qJ+7CqvNwb4T QMzLtFpZoo/mSrMM1nk+sTasEQNPS1ANazyMqZsce8h6xqUa/5cjmWKlbE2VPj6cRjFg d1dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nP/Tw2wi"; 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 m3-20020a632603000000b004fbacd1a872si1680701pgm.853.2023.03.14.01.07.32; Tue, 14 Mar 2023 01:07:45 -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="nP/Tw2wi"; 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 S230430AbjCNIGe (ORCPT + 99 others); Tue, 14 Mar 2023 04:06:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230406AbjCNIGB (ORCPT ); Tue, 14 Mar 2023 04:06:01 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1006848CC for ; Tue, 14 Mar 2023 01:05:51 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id ix20so9199438plb.3 for ; Tue, 14 Mar 2023 01:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678781151; 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=yqwK6TcGjAz04KGXLoszY4ospGxs4tGDAzQeGyANDbE=; b=nP/Tw2wixTXRLo4uciqirv8e2e05IGj3I3RKHIWEL/gCrS0deSj14T78ipg5nURkyt hZzdCjeuDl1uU7oXq3zjmsgUa70kRudHCDliEUnEFfwtMcuH3ScQw/ptFAghBUU5ElfP LqkHr6cIfMR1H6U3tKB0rJBY7f6+k+HkEKzZ53tD+Mw2fe7QUpqG7utRX80Byf7f1Yfd 4XaQUIwcFOXj8sEQ9E1O3TwuhfktGqaz2hOrvav1zxZdAK4eLDiAQBnOrK2QHUPxUbJ7 0qLNcBhn9NbhGBIUCPyWtDzR7xaBj71gdjEzxOTBUDXtIqEO3cI+5kHJYMEmxv/+oc3/ 9RwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678781151; 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=yqwK6TcGjAz04KGXLoszY4ospGxs4tGDAzQeGyANDbE=; b=mEDoMYYWCBJc3MzztmyeyD0U0RO3Rnunn0eVRaveKxNlfC8DUNGcAfToJo4mXQBBg7 NzQ6EFm5Z4hQ2zzWhp/onuvdMmR5mJzfKyTlMHURw2HbkynFmFpgYMYmIOSGClZq/q8x KFVmUZuHt+/5X/IH8eppfv/Q+bkmqXyRF2vJQQDEhz2G2+/yPx1/lVI8xu97ETt8CzWF ImEKm41HSdGnKpLND6M/hq6Mwn9cXSv2lk86RUenjI0uUFvA35iWMk5TF/BWnTNqK+pH dSPHYdV+X+3avqxMaX8TERzE9brWEVKc6cAvv3ZGpcViIZwRBnalsR1hAkgN2JXNRN0+ S6dg== X-Gm-Message-State: AO0yUKWDUkx0JLZnyvfkh385Df4v6b9gu0OuQmX5IIlDl+UgpLPAgBqm +qw9yJjWWgF4tr9Ydb2OAPpF X-Received: by 2002:a17:902:c412:b0:19c:be03:d18b with SMTP id k18-20020a170902c41200b0019cbe03d18bmr51755970plk.22.1678781151536; Tue, 14 Mar 2023 01:05:51 -0700 (PDT) Received: from localhost.localdomain ([117.217.177.49]) by smtp.gmail.com with ESMTPSA id l8-20020a170902f68800b001994a0f3380sm1078022plg.265.2023.03.14.01.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 01:05:50 -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 v8 10/14] arm64: dts: qcom: sm8450: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 13:34:39 +0530 Message-Id: <20230314080443.64635-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230314080443.64635-1-manivannan.sadhasivam@linaro.org> References: <20230314080443.64635-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=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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760329744084473447?= X-GMAIL-MSGID: =?utf-8?q?1760329744084473447?= 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. Reported-by: Parikshit Pareek Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 1a744a33bcf4..636dc6823d4c 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -3981,8 +3981,11 @@ gem_noc: interconnect@19100000 { system-cache-controller@19200000 { compatible = "qcom,sm8450-llcc"; - reg = <0 0x19200000 0 0x580000>, <0 0x19a00000 0 0x80000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg = <0 0x19200000 0 0x80000>, <0 0x19600000 0 0x80000>, + <0 0x19300000 0 0x80000>, <0 0x19700000 0 0x80000>, + <0 0x19a00000 0 0x80000>; + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", + "llcc3_base", "llcc_broadcast_base"; interrupts = ; };