From patchwork Tue Mar 14 08:04:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 69363 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1626589wrd; Tue, 14 Mar 2023 01:12:14 -0700 (PDT) X-Google-Smtp-Source: AK7set/+Cp42dF69vwlFx9BymeJRICqtuw7XFrK+lK6pMRHXdIyfAc2w/03Uf2ISA66KmsRRLTiX X-Received: by 2002:a62:1dd6:0:b0:622:e1ad:2534 with SMTP id d205-20020a621dd6000000b00622e1ad2534mr6008082pfd.6.1678781534042; Tue, 14 Mar 2023 01:12:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678781534; cv=none; d=google.com; s=arc-20160816; b=ua3AwCY8JVQ8veIDW4+DG0w2mFCXqM/bERNprjPxrf5ly+Btv0KCrghRPycmgIDMHf hCLi8Rc/d1GA8Lcv6FOOfa6O95Vsc+GdVJIdSuUtWiZTCPe4dALkV/FTAVfIEK2ihFv2 KMmrxOMfkFJQT3X14DObPg9JdVs3BynnnvoJ/Om1VQpcO9VXCyXFxI8Qa3Qz+4iKcahT vTBbc2WBT1Fhajm7KwY5pcoFeDJpiDl129jwrVJFF4UluMQS7dONJGLZQUVLvLv1uhjQ 6jK9hAS+sy0w4+zCm9nWbHG6FOUbujuNOWon7rFOlXszSUm+c9o1MhZFVzwwPvthpT3N Topw== 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=Z5etO8xpPLdp1ZjUYMAWnmC0J6F3DU/p3Gp8jCJujInxH3kj9c7JV8R2rHSSHGGZuI fzlGtozllraFzfKMexG+2cp/NCpQaO8+ebY41XxpTax4nCTQosJV0RkKZ+R7oXh8hATj wwLy1sQw2iYBfcIuWaBWUSgrpT2gkV9LLR4RABujEJId7hoMgeT9NwxIQRupNZ3vbcmz X5dZ7GzPd71DzLaXxRANDlkz/d0J3U2ZQViPIW8LE6O/txgE8WXOB06iqycssQNj5cyJ 3SBpbVQwZq/4vGX0D4U8nKdSyvyfFwCMlO47INlkjJefdO0Rz4WWqE57zcMLcF2FaV9a 0xEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n5ShiHu8; 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 s9-20020aa78bc9000000b005a8d205db7bsi1684859pfd.272.2023.03.14.01.12.01; Tue, 14 Mar 2023 01:12:14 -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=n5ShiHu8; 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 S231208AbjCNIG7 (ORCPT + 99 others); Tue, 14 Mar 2023 04:06:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230423AbjCNIGT (ORCPT ); Tue, 14 Mar 2023 04:06:19 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D931397FF5 for ; Tue, 14 Mar 2023 01:05:57 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id l9-20020a17090a3f0900b0023d32684e7fso625884pjc.1 for ; Tue, 14 Mar 2023 01:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678781157; 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=n5ShiHu8TkifJ0rpTG3JyQ6+qX/9SlTcOKdiiRJo/l6aDmDiBrYXy1HcKwqr7467jj oEXtF/BwJ27I+1JMUNMVG66bwuQQwdnQx5qfFmOW/QBIUk26+ohXYo2xo96qW/heofsd El6IBaTR2yEu+ge99Ysh36mUSo7WAKF4wLgzThC9+uKTGaCjkshefW7pC28U8qj32lr0 cf6RoTkIRqYduRW7JGM9Bkr5GTUZ7D2CMmHsylcX9uCKA9Cg5BpFjZiAtLejSDqr/2m0 u4MOGQHHdsx9uzIIeSnV82eN0d9vpvKy61lG8/2X+Jnw7ZmEYW5PI34Tc6soqaT4fZmI PnEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678781157; 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=rd1nAhp045Bk/Wsuj2lvGKodilyrWS4Urqq9xMrbuHn4foF21a/f4tvcbIJbdfv+gs olw0AvKG+zkwuOvAO2/PqDb4zznMr5Zv+YrqDYrFf3+7FKUThJ3RvNh4DugS+eq/RzUA weGh/p3Tgjf+ZNKohWljL53UmAAHlIl90/W5G84tGhjjbX2MGagDXPglT707HyfApb3l Ypv/5zfIzlmyuFZcWw8FElIGuIalHL3dksHwVCDrNAr7I9UzhYsNObSU12h7okL/jKvp 4BxhnRotxzZyyn4zkRiH6hTnDOFRiLb8E9TOo6wmUJHoJfG7zkLJ7OFcV3bwoGNr3dmb iAMQ== X-Gm-Message-State: AO0yUKVQgaIdTPiQN4UGU6w1yN6vUNlAiM7NLqPQYpDiYCWT/GpQYsbG 3NpRTpyLZbpSOIe4I7JrLllo X-Received: by 2002:a17:903:24f:b0:19c:c8c8:b545 with SMTP id j15-20020a170903024f00b0019cc8c8b545mr40241222plh.50.1678781157396; Tue, 14 Mar 2023 01:05:57 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 01:05:56 -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 11/14] arm64: dts: qcom: sm6350: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 13:34:40 +0530 Message-Id: <20230314080443.64635-12-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?1760330025824987226?= X-GMAIL-MSGID: =?utf-8?q?1760330025824987226?= 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 {