From patchwork Thu Dec 22 13:16:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 35759 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp320342wrn; Thu, 22 Dec 2022 05:21:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXvJMbGTdnwR5zp18oQiQ1t9Ay7lshoZLmqTzlC5OiUL2W7A9y2TmD5rW+qfRKA79WSsNu3G X-Received: by 2002:a17:907:77da:b0:803:3f50:a7ae with SMTP id kz26-20020a17090777da00b008033f50a7aemr4157264ejc.57.1671715263074; Thu, 22 Dec 2022 05:21:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671715263; cv=none; d=google.com; s=arc-20160816; b=LVZpCkKZb9iwJQYx08nV29TSZTAj/C+uIkDHLnrDriDCesPn8HOPu+x7uqtcXe23bF nXRXd5AtUrNtX4f09Jb6CI03lX5GTi0Sw7OvrQAXN1gpx+cpRXocsKgBk4nfV1Qhu2A8 dpbWLM9YlBG80TcmA26//TUbMz1Ck18t+1BaUnmh4LtQQrOWQCRZRj4FDOXalDWL32GZ HgkIEcOlGJtfDSA1stMb/Le9JDcvgP3XBwbFkQd+PTLE16htKVgw4uiiHw3vj/lG6ftV uXhnCKlJu42c/rJJi27ppxv1/+oDS2aPa+Z+Dt5q/dq7Q8zkx6gUSR8YAvkCEcplRkyB qrJQ== 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=znASgBClq0rwhBOl4/Fw1c5T/s1foKbyxf4XPqRiKDI=; b=KqPE3Wq0E3QLVhSV+QcOrIwnnvzXgVxUCl9G+CDSgLU4fmPZ2o5CPdi9WNigo7uvHK hN+yRRz/x1xw7MhfnuIhWMs8ltDM+SY0/VlHbEgpqobkMN3K6t9CL8z4aH6UVKEw1gQN YbMjJZcNgdE+J4UQYsD2/QkxN4C6s+Oha5GL6IFmCa2WESDfE+wIVk6DkgxUMC3IsUgE RjVqMofhlKB09q7oreRA++lkHe+ywgftmQ/W/fD0G5R7fqTeHh+uTJpzq38zsGwFtLgm RejJjfYVCf3oKnIImwujBtBO5LUTvRgLV2zIvanFw8s3mRN4ggj9wgFvrd6pTQemoWvL gOrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VXe+Xf10; 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 nc7-20020a1709071c0700b00835203f1170si503549ejc.575.2022.12.22.05.20.39; Thu, 22 Dec 2022 05:21:03 -0800 (PST) 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=VXe+Xf10; 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 S235541AbiLVNTZ (ORCPT + 99 others); Thu, 22 Dec 2022 08:19:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235531AbiLVNSx (ORCPT ); Thu, 22 Dec 2022 08:18:53 -0500 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 6E45D2B262 for ; Thu, 22 Dec 2022 05:18:49 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id w20so1962511ply.12 for ; Thu, 22 Dec 2022 05:18:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=znASgBClq0rwhBOl4/Fw1c5T/s1foKbyxf4XPqRiKDI=; b=VXe+Xf10elUr+UnSO49j92OhvgPpDswCeSmg+CP9iS6mREZbL8qbFc661pe6BPRjfQ S3oNVU7zYqI9S1bS7I58nmbbA8es6jmQ8pwyAbsbtAM9JJNu3C53jeDKRxU7zvt1xzSS ZFR7zig5z3K+G8wse0/DQhpC6YKUPAVB4WSwfAxXcprqqx7YKa4ShdLkmbLNPILPPFYj pS0zS4x976uQd/9EIjjzzwX5G9bm8b7a91lqP78l2dYEd86dCFaIDGRFs+0TZ00WTUC3 RgkVd4NehMkFcgHCza83ksV8+nHNj/ZIlImHcPegVB9YmotZURTeMSUfuO0CHz9Ezn0L Dz/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=znASgBClq0rwhBOl4/Fw1c5T/s1foKbyxf4XPqRiKDI=; b=i3G+jqZbTpE+f7I9nqBqIVHE/2glHvqNZbS14r5x6FanU4ZTwQoxH2YCf/q3mCOQS5 sxnqumGLuaZ59mGDGiL01exJ0Im3SdeuG+Snb7LdscWiOOfJ/NK+qhSnHKsZ5fdzIQj8 PzartqLAxymo+st/H2/4KkWCneqtU85JhG66ea1U8BYFm4O998tVEVdmRXoKlasrFAtQ lzPuZ/1Scf2qgk4qsTdUOy0Nmeqk0Ei4O20euwELWwembi51pvTGP92BeNqYNwleVZuP 1U7Yg5kM+E5Vq+8UE2X1lFlGiF+t4tsDLo+jBRJFEQ/qRefjobb2p2TlSmCMO3OBaLsk kK/g== X-Gm-Message-State: AFqh2koMyn5DaZieg8OR4Mz6k71UWmbnBpQUjWpW/So/7sEpWo6II2N/ Gw8sUy51SaTh4jv6K7sQVwBl X-Received: by 2002:a17:902:c382:b0:189:e3d0:2682 with SMTP id g2-20020a170902c38200b00189e3d02682mr6521113plg.30.1671715129086; Thu, 22 Dec 2022 05:18:49 -0800 (PST) Received: from localhost.localdomain ([117.217.177.99]) by smtp.gmail.com with ESMTPSA id g12-20020a170902fe0c00b001896040022asm491570plj.190.2022.12.22.05.18.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 05:18:48 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, bp@alien8.de, tony.luck@intel.com Cc: quic_saipraka@quicinc.com, 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 v4 11/16] arm64: dts: qcom: sm6350: Fix the base addresses of LLCC banks Date: Thu, 22 Dec 2022 18:46:51 +0530 Message-Id: <20221222131656.49584-12-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221222131656.49584-1-manivannan.sadhasivam@linaro.org> References: <20221222131656.49584-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 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?1752920503743733232?= X-GMAIL-MSGID: =?utf-8?q?1752920503743733232?= 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 SM6350, there is only one LLCC bank available. So let's just pass that as "llcc0_base". Reported-by: Parikshit Pareek Tested-by: Luca Weiss Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 43324bf291c3..c7701f5e4af6 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1174,7 +1174,7 @@ dc_noc: interconnect@9160000 { system-cache-controller@9200000 { compatible = "qcom,sm6350-llcc"; reg = <0 0x09200000 0 0x50000>, <0 0x09600000 0 0x50000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg-names = "llcc0_base", "llcc_broadcast_base"; }; gem_noc: interconnect@9680000 {