From patchwork Thu Dec 22 13:16:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 35755 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp320230wrn; Thu, 22 Dec 2022 05:20:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXsDbIsoN8rGgVwd5yUfly6CEmFDQI3Nzleqkl99JXqbx4Hh2ByoavfCBmGUZRw4awdMsBUC X-Received: by 2002:a05:6402:1609:b0:467:7775:ba8 with SMTP id f9-20020a056402160900b0046777750ba8mr4905558edv.1.1671715249310; Thu, 22 Dec 2022 05:20:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671715249; cv=none; d=google.com; s=arc-20160816; b=ouxwWkK8tB3XJMjHth62PA8cB/gjqa59XdsE5onr7Cseod3UwMR2dYrt3oYwPGVygc edufmPMleJE+u9l65Mdg9GnYSRN7N99AbsgMT0v4XgPSfs8Dqp2rWWhuESG9dm1dfbh0 gjfth27GbovLO3AbFEHDgsrqkY8+RAgbYiixq8cRyzUxFKShUNzn62uBO6pBvVMlLW9a V5pVmycnuT7fc1Ku7YysD4a/bPVcUSxmnmhjQqIhYpIJewexLXhFffvRAL3t0kxumyNT Gji1+EGJvvx5bSXYQ47LT2bYR/7ldS4I06xJj3WEeQL1S8ckiGIhtma18phLGe+NKrq/ vYzg== 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=4GFA6I79C1YmmOYQX1BIX7MOGuUjMMgmSjlJ7uhFCjc=; b=FNAkep1in8QpNh+jYOmaUK+vDSxLEvc3gatwyD3FvQirdzXYG9bJHIXfu4gtpAp7lI at+pO+hcYC9jaYBAIjSYPW9DzSsY65Klm5rNEmsSKE2ke1ZAG/phkKIHpQ7fYifGa5TI ycj8ZQjN1HaLxFijZVmYUyvDmf8NNW9K6X0DO0Y3t3/TEOZOXHV1pXOiKnWuk+E2AKYA tnHscW2yEnyWH49f2WUyILbBpNFct6ewWKfErBPBqBPFC/soXyIfFsI6aFuvzPOyuS7d v2e+wqUxCmFKrU6oAxTDNxpQY6DdUsxr8oSGK2AUH7mxjvAEKs0cp72DJ1QseBLXQQbk iOMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KyqAKH9s; 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 i10-20020a1709064fca00b007c0a7bc2854si499294ejw.410.2022.12.22.05.20.19; Thu, 22 Dec 2022 05:20:49 -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=KyqAKH9s; 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 S234991AbiLVNSy (ORCPT + 99 others); Thu, 22 Dec 2022 08:18:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235096AbiLVNSK (ORCPT ); Thu, 22 Dec 2022 08:18:10 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA3792B637 for ; Thu, 22 Dec 2022 05:17:57 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id 4so2003220plj.3 for ; Thu, 22 Dec 2022 05:17:57 -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=4GFA6I79C1YmmOYQX1BIX7MOGuUjMMgmSjlJ7uhFCjc=; b=KyqAKH9suEnSST6nGHfrF6tiq5gOyxJrohsSocczxR2yYtSwc4itB7Rwfc7SH8NQLf BOPZJAR/M5OHetigMOlkHgsIEqWFC+GZdcpTBQGve1FYMPv1J3bDllxaG/kYFe48R3kZ rkszrwUINRgXb7Td2fzluU97ArKf/8mB1NDMjLIUKHoEEbIeT8GPsj8E4Ny3qEZBPheS uYLvV3c5hS6z+vjOmzfvNLSasQIo7ZLkLBKmN+fyEWCGfW90yyMw9m4HJgs6DIfQhYWn JzXWbNAb3RUKYta7ThAlAjFkiNAyQDrz5AndikCMq+Mdx+pYaM3bf4ikeORkaz/Rfb+k eOUQ== 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=4GFA6I79C1YmmOYQX1BIX7MOGuUjMMgmSjlJ7uhFCjc=; b=Usih1Y7yJ89m5uhlra+9/kluGC3YRLxOMAYOEJnaCXLjRJ9SoRyKCtSKA9o/EIvYob xNiwhFpsUNQ5kmzZb1lKEHq1XT/OyevwKk4+sOO0pXOYU9p7NZiXGtZSoaM+rhXhokDF 24EAF29GTCOJ7sbtagS15WgIqPbBSo0Uq6ZPmXVGicKoWtMcmpgEiINCqDS37K7JN8Co ofX9YZGcxqtBsxKRrcANZg1iQrlH7bZD6Dzxh3j3fIMD/NH3i6ohxHzN/dBVL3y6585v JVYwHNsZu/Al5lAWOHBXYv/U01dnzHm/tAdKKLG2Zb4JNqvpgPDAYl94g5cOp/0vRdCl cFKw== X-Gm-Message-State: AFqh2kozY+AqmPyRNQ27KUGw9W8CvgRjP40iV5U+IqbmPCMBuZLnj2Vc VKalkBOXWLx49heiPOlbH9/H X-Received: by 2002:a17:903:228a:b0:191:217f:b2ea with SMTP id b10-20020a170903228a00b00191217fb2eamr8592642plh.40.1671715077246; Thu, 22 Dec 2022 05:17:57 -0800 (PST) Received: from localhost.localdomain ([117.217.177.99]) by smtp.gmail.com with ESMTPSA id g12-20020a170902fe0c00b001896040022asm491570plj.190.2022.12.22.05.17.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 05:17:56 -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 04/16] arm64: dts: qcom: sc7180: Fix the base addresses of LLCC banks Date: Thu, 22 Dec 2022 18:46:44 +0530 Message-Id: <20221222131656.49584-5-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=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?1752920489295018699?= X-GMAIL-MSGID: =?utf-8?q?1752920489295018699?= 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 SC7180, there is only one LLCC bank available. So let's just pass that as "llcc0_base". Reported-by: Parikshit Pareek Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index f71cf21a8dd8..f861f692c9b1 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -2759,7 +2759,7 @@ dc_noc: interconnect@9160000 { system-cache-controller@9200000 { compatible = "qcom,sc7180-llcc"; reg = <0 0x09200000 0 0x50000>, <0 0x09600000 0 0x50000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg-names = "llcc0_base", "llcc_broadcast_base"; interrupts = ; };