From patchwork Tue Mar 14 05:37:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 69314 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1591099wrd; Mon, 13 Mar 2023 23:17:21 -0700 (PDT) X-Google-Smtp-Source: AK7set8t0eGnyFpiHqAfrb7Ct/rsMlT+7nAlp9GSXvEszwZDr8FpBlAe7YEft1CE2FSK6k/LHy5g X-Received: by 2002:a05:6870:1197:b0:17a:a3f9:9f6e with SMTP id 23-20020a056870119700b0017aa3f99f6emr744490oau.59.1678774640937; Mon, 13 Mar 2023 23:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678774640; cv=none; d=google.com; s=arc-20160816; b=Bt2d1jmJH4Zfwa3hBBt3ZUBQAFvHiwJx4DKkpm4Ji4V2vbHHdmeJSo3681aiPIA75V 8uT3mvYUuTNTfzTSrExAFrSIjc6aEWze0qd51XjhmIhIgCMU0WOCA43JO7ybPRHqQfHu 3INuBhQQltKoH+YEqA8ICda/jx02jxubXnqacKVUcUfH8lSPSg2P73Oa+3GSbpF7sK2X Qzww6FdQ9/g/mgrLW0gjFn1usge/WefgPKW/xdyL9QkP48WZDkasTfrOJetoVziu4lpP Mxe4UKWe783MNzm8Yq33OMvI8k/fxJ82OXsTeylFcxXSri/GrZOiLa7dUZpsHq9MkOg3 dnCw== 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=WM/W3mGHWee04PiGhWaePDSEFLq+5Xz9JBoWs5RSs+4=; b=E8uncgcXQNEUls1lPnHxMOGGlrBB/bpAV2xpyQ9Ukocv6hEP7AyOjEl4/AoOG/6N83 JulKLNGya5OZGqcvf+GgNYTm+N6QOqYZK/rVXlt6dGOKIW0M58sGD3l4cdLNH2obbX1F 8OcHiqGiySrpIinDdOxtyKtsQt94fSVT7WKHcASv9IVppF8chNAQVNQejPnDeGnRM6Gw 1itPO7w0vKzo0c9rQ+UDGS1eJGzco8a3cZgxs7XTkTfiJsyje3nUcqcG3RZoketDI32w ewF/ixS2+816Lj0XLbuHOg5zbpjYhUAteYgFxt4a4zXzldhPtNw7tjD1NKC4K8uNKbis bqiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JzMSob1P; 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 k23-20020a056870959700b00172a86692b0si1746634oao.99.2023.03.13.23.17.08; Mon, 13 Mar 2023 23:17:20 -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=JzMSob1P; 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 S230080AbjCNFix (ORCPT + 99 others); Tue, 14 Mar 2023 01:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbjCNFir (ORCPT ); Tue, 14 Mar 2023 01:38:47 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 599C918B1A for ; Mon, 13 Mar 2023 22:38:22 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id h11-20020a17090a2ecb00b00237c740335cso14002235pjs.3 for ; Mon, 13 Mar 2023 22:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678772300; 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=WM/W3mGHWee04PiGhWaePDSEFLq+5Xz9JBoWs5RSs+4=; b=JzMSob1P4e3VwB0wL6lNs4Pa+MXu0mZYABvUByRuQD9G3tRF3fed1F70Df/U+C5rnt /vjrHfiOXf0cnrJUD+3UiCGbQdM3S2nSrUVZ70QaRO5cUW/xSpS6M9VGjlrB5Hx5txG6 GjZI+B78ehVktIWhsjYQfYVYNVl8jOp01zhoy5wi+7EkchQkvQ18ZabH5aF2H83kTezH ixGX4dRqpYzid8VAn395TqP3IpDv5GdfePsNFytWEnddGeUB5TVWwyEQIBXrDFNQY6G4 gCzNU2WgUtbhG1pYKg5B7CPJLStTgaDmGHqeSDO9LYsBut6u1qzK9eqbUifxkUNY+1oi bZ5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678772300; 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=WM/W3mGHWee04PiGhWaePDSEFLq+5Xz9JBoWs5RSs+4=; b=m2YLeHLtoXFEUMqNVcKB96NzoAevnmeQi5vWwxW8tK3ASxhEaG6y4XuONSAkz0NMd2 sO4YWoPg4Kyz+EaqHC46vG8BfeX9laHyouYS7M4fqgWUgOMPrTG91aVbmf5X85eRejY9 MbKboHYitPIpmJvCnP/vJbu07zex7IEONf90hXm8v+7gHewAAo7+QaZiMyn18nOGI4e6 lMeYBSAY9kiEgt0/QMOU+lBAR3gr/sUViVz5rc5IVlXcBcOWSj0FRIgCTYWBu+YRyWZC +8YGv5UYXApdsVqU+puWbnxVP/i7z42loICDDf2ZO7aE9FNCcGwhDF/NR2MC92aF6SIP 4w9g== X-Gm-Message-State: AO0yUKX+j8l4NP3UVUkAV3MTjY4/pF+D0i02WYcWKsfbTHEFTEHFoIs9 HVoEPpuKXlNIEduyurCvopg9WoSuyrRktdnkBA== X-Received: by 2002:a17:90b:1b52:b0:22b:b82a:f3a2 with SMTP id nv18-20020a17090b1b5200b0022bb82af3a2mr37908027pjb.11.1678772300272; Mon, 13 Mar 2023 22:38:20 -0700 (PDT) Received: from localhost.localdomain ([117.217.177.49]) by smtp.gmail.com with ESMTPSA id n126-20020a634084000000b005034a46fbf7sm675093pga.28.2023.03.13.22.38.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 22:38:19 -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 09/13] arm64: dts: qcom: sm8350: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 11:07:21 +0530 Message-Id: <20230314053725.13623-10-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?1760322798056443496?= X-GMAIL-MSGID: =?utf-8?q?1760322798056443496?= 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/sm8350.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 1c97e28da6ad..3fefd8cbba6d 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2204,8 +2204,11 @@ gem_noc: interconnect@9100000 { system-cache-controller@9200000 { compatible = "qcom,sm8350-llcc"; - reg = <0 0x09200000 0 0x1d0000>, <0 0x09600000 0 0x50000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg = <0 0x09200000 0 0x58000>, <0 0x09280000 0 0x58000>, + <0 0x09300000 0 0x58000>, <0 0x09380000 0 0x58000>, + <0 0x09600000 0 0x58000>; + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", + "llcc3_base", "llcc_broadcast_base"; }; compute_noc: interconnect@a0c0000 {