From patchwork Mon Dec 19 18:29:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 34682 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2550405wrn; Mon, 19 Dec 2022 10:34:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXstZndYuNj5M6ApJtWLJqGKydxJu4r0/Fy6LkG6fJw2VyDsMTi3TDtmGEzaJzrWWV1ayT+E X-Received: by 2002:a05:6a20:9391:b0:ad:2f8b:ed7c with SMTP id x17-20020a056a20939100b000ad2f8bed7cmr11726811pzh.56.1671474844591; Mon, 19 Dec 2022 10:34:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671474844; cv=none; d=google.com; s=arc-20160816; b=k/nvWun//kQ90rWxYfwPhjABWZw6eKDwU5wWrZ4Khg3s23fPMdeQKWANz26uTHgvUw ZwdKhFzvNxH9LDEPuk1/w2FmISmdYnc3VlkmUbfdxGpjoD7zYBCJ6n3GpfEKpumMepJf yqnBgcxJNNeUYxfgT1LWzha8jK8wxwd7SL1M+3vNIjI4xYSZLZeDws7x7YFK/ZeM8GUW wKrSU9pg9qs96Dq/wmCmHUaGShW0H4UifSzCaneeZ4uT+oHYj6BGvUUF9/b3hcZPdB/G 8X+x6P6cfZHyAahn1yzc9lWykAR+Y0FzEeSANj+T18fCRS4O+OUIadjtxv4m6EgHFqpp AcgQ== 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=Y6d5fPBuYjetx0oEmRpNV7sZ+Ly6OwIzVlBi+mu5pLuPzObkAYsZajjzQ+gMk87EFY mKa6F0RWaeFDydVmISXhkcIv5F5ciiiZLHDEPRrzuDGQOhMTTetHx6dIGDDgf8U+m3Mv a6XwyVbPRrDMdZT8tqUMLnPU7+s/3+KLK95nxZT46+fmLHvekCwmV/Az3dXyp7VPbL6k 0oiNCiTTp8vZMju7T/GZnAU7soSi3pMLq4QD14WP6HZQ1J0ROenovGkKkfhefZ/dFlMM Z5OgFzFF8SaJC8GXPUPCHlYXYwCuyF5WoPck/1VeH4BzNV/f+EEju9B1L19pbB5aFurj /izg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZcH4+Fj7; 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 h69-20020a638348000000b00478e3c07ee0si11249779pge.385.2022.12.19.10.33.51; Mon, 19 Dec 2022 10:34:04 -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=ZcH4+Fj7; 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 S232532AbiLSSdD (ORCPT + 99 others); Mon, 19 Dec 2022 13:33:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231931AbiLSScN (ORCPT ); Mon, 19 Dec 2022 13:32:13 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C437A140A4 for ; Mon, 19 Dec 2022 10:31:28 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id a9so9855543pld.7 for ; Mon, 19 Dec 2022 10:31:28 -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=ZcH4+Fj7XdRiM5/WNqZ4MSezhDedo6LtSkFK/MVe1KCI2fYu1lmKLZYRnPdzEXrbaw IKBmfIwSJgqonEBBQ/oVHF0lnRKw3hPkffybL01gl+f5T4eF2EaTlv6wWovnduWoEDFo pHebHcqk46zQtuWhJom59c2X3EkLupK+qh4Wh3pUX5/dSfKr9X2A/LeNTU8NdbsxQyPm kL4HjU79zRaUfq2L47qEJA4/SElSccv8nFI8MkjLrZxNfXtfYmmyHea5G217gUtvWtNU 9+h3ARHlC9Zgi/j8/sM91gT455506xFLZ68SITuaRPaYYjiJshwOJOLe8z2oFAhu5FMK XpgQ== 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=hYne4Y6w6HBrAP9znG5nflI30M9CLzC+dKkhn7Rob4roI9RmYp7yNP+eaLF740jFt6 DkAZbkz9QTlgXnXWnBZ8mkUB2QbrqOqGMAZ7qrk7YD+kjD854drTuxyfFsVkpbcy0071 tYjb+yHu3femvnEyffZD5MK/prcZEBvR5KL+XObb931kGJIjtgVF+gZjTdvn8OnlWgKx UVqU7cpdLQYko/7WK52yXO/jueDhfewDXVTuaUPekj0xaFxFr/ZbIgbp8wgFCBvBtZpg vwQCpEyiTNVWEVc2FDLpv935TQWMBNg9tXt5TeUGZF3q1gbv1vzLghXgEK299AD82Cwo kZgA== X-Gm-Message-State: AFqh2krYmgqC6zDy/lUu5wO+OG1X6AbZv+qA1z8R1YKcNY6wKBXtJ5E+ xmbXzr/Rl2Ruv5iPmarWRuIg X-Received: by 2002:a17:902:e845:b0:188:fc0c:b736 with SMTP id t5-20020a170902e84500b00188fc0cb736mr15763512plg.67.1671474688106; Mon, 19 Dec 2022 10:31:28 -0800 (PST) Received: from localhost.localdomain ([220.158.159.17]) by smtp.gmail.com with ESMTPSA id d2-20020a170903230200b00186e34524e3sm7480979plh.136.2022.12.19.10.31.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 10:31:27 -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, Manivannan Sadhasivam Subject: [PATCH v3 11/15] arm64: dts: qcom: sm6350: Fix the base addresses of LLCC banks Date: Mon, 19 Dec 2022 23:59:54 +0530 Message-Id: <20221219182958.476231-12-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221219182958.476231-1-manivannan.sadhasivam@linaro.org> References: <20221219182958.476231-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?1752668406540241580?= X-GMAIL-MSGID: =?utf-8?q?1752668406540241580?= 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 {