From patchwork Tue Mar 14 05:37:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 69319 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1591295wrd; Mon, 13 Mar 2023 23:18:02 -0700 (PDT) X-Google-Smtp-Source: AK7set+H4OlI0sx++xfw4b+3yNyv7sLz4Jeny9AkLdYnHqB425HMSEowxRap2QBSZ9fwcV4hkDKD X-Received: by 2002:aa7:9f44:0:b0:622:844e:80a8 with SMTP id h4-20020aa79f44000000b00622844e80a8mr7179520pfr.26.1678774682626; Mon, 13 Mar 2023 23:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678774682; cv=none; d=google.com; s=arc-20160816; b=mylv4jrokuSt7hnKFpEUSB55peaUfUYiZda4VLy3JboapDsbs/5idIc4d7+MJ8d7b/ COsZEi1Zrpaa60n85YizflsSy2QZNsoI2VYzJk8SRXtHmqZIzbf5vgyM2ho+y2d5v28S ImpvFhNzYfHjGRkz9poYI6L/9bbtEFCbEEzJWdBdh7sK6fkGRhUa+TvPC4Ql1m72g2tw 5IZztsTxOTwD+df1CZ/hkoTRrTuLvt7+GJgi4NGv7/xJ+2xF0K+TiEheQw0qH+XBNcnG yaJNsOABd5ZcORx8zCw5X5CvSe3QkvjWQQMLRJXuQhPjl/IO+zRFQCxHAYU7YK6kyS1O /+BQ== 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=sggevdgcbKkipnWP4TBoy7JyP1Clj0YxXKdQjrw2BUc=; b=bbLGeAFamg38ED4hvtZXEOpT7HcXiplg6VV0BWfsBcPQ1lRJC6e4JtFRkfFJG+GyP9 sse0NOJcJQtTY4Ho2qzdM+KyGszA9DNo0G3XFigIeEq+QzefO0a5pU/8wGDXRsk7lV6V VecobBXkWvpqom51OCCTT1lnSHTrfhusQvSxZkEv5LWXM2E4FHoj4Z0/FU/2eNBN0Qx4 2DDZuq5/w3JRBtjc3NEgBPac4M/sKk6rxlVYPWmgjMzgn8VLi4I5UjK9DZkmv14CBs9/ dDWLzJWAoLbOOEfKDyGOXBKWNs4AeItrX0vszd89pSxdG7egwiHm/hpwpHbR7hc/zyIs aAqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yt8ROJAi; 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 q20-20020a631f54000000b00502fd16cd1csi1451757pgm.367.2023.03.13.23.17.47; Mon, 13 Mar 2023 23:18:02 -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=yt8ROJAi; 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 S229869AbjCNFjH (ORCPT + 99 others); Tue, 14 Mar 2023 01:39:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbjCNFi5 (ORCPT ); Tue, 14 Mar 2023 01:38:57 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CFD795BE0 for ; Mon, 13 Mar 2023 22:38:32 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id cn6so1699339pjb.2 for ; Mon, 13 Mar 2023 22:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678772310; 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=sggevdgcbKkipnWP4TBoy7JyP1Clj0YxXKdQjrw2BUc=; b=yt8ROJAiLtl01UPND6vY+ee9uaQi/8WI/fmaFZjd+WARpr5QhAwJlxkaCLRVUsV45J a/Im2ar7+D6BWDGaYyDPOQYIuvjqwu/lMDtXS6HYLpkOTK9SlaJorjDwY4AiBfuixPgK n+Rrc7U4EyZhLQD5bK8QzEIXujYC7WctbXNgznPZM0GnLDjV+bJeU9+GZTysKDloY9ot 84UquxeZdLt/QYItlA4PEQBvSstAkEaizAiEXJys9iqwHBkANYNFC5UzdTGNtdiun+kN SvOY+stsGovsfH2kC7y74gY7l6XnlJeRuepqSZ8nvcWiIu8+IRjJtfqTfjErVoFSveiE 8c0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678772310; 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=sggevdgcbKkipnWP4TBoy7JyP1Clj0YxXKdQjrw2BUc=; b=lSurftw1S4ZSrrAXURuXx4AFvsHgYshlGeS2JZ/+b4eSucoLJFIcldEhqaPV2NgCBO lZMWPzrREWYN/9dHG2d9FV/sFYc7FhyyIkfZTIfRsFFrOLJauEFZhzdKurQ22r1dIDcw SL35gUdy0A70SqAi9KM4gpjVkcSe90GbUa8vuycjp1YiVn6HuprWmvtDJkgV9SYG5qx0 clhyOZ8sd9tyso2mlplIKexz/Uth/SJVt0eS/ZVpJZJmw6K9+fFSKQQy5AaCdT7NbZeJ wvosrLN8OjXRaxp3QkECgA+wUyuQjX2dYeJmQkFleiVoMJ3lCjjMA1E8tk+O07qN5NCB xkig== X-Gm-Message-State: AO0yUKWc6GWZ6dHmto00zrqwlqTUHLINIBjQ08/pJvQC3arTkIzCo785 JZTeQz2xyiorBs37D2XkolPd X-Received: by 2002:a05:6a20:4c2a:b0:d4:b5dc:2909 with SMTP id fm42-20020a056a204c2a00b000d4b5dc2909mr3342007pzb.28.1678772310119; Mon, 13 Mar 2023 22:38:30 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 22:38:29 -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 11/13] arm64: dts: qcom: sm6350: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 11:07:23 +0530 Message-Id: <20230314053725.13623-12-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?1760322841084673490?= X-GMAIL-MSGID: =?utf-8?q?1760322841084673490?= 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 1e1d366c92c1..63e55579e9c4 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1348,7 +1348,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 {