Message ID | 20221222131656.49584-10-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp320231wrn; Thu, 22 Dec 2022 05:20:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXt97NhmRPq6BQjWEk5tE7P7r9FKsgApfwohYc5l8PQHF2xD0yE42ZWitQ+G1zOCfV9TChp7 X-Received: by 2002:a05:6402:538c:b0:472:f7c1:361 with SMTP id ew12-20020a056402538c00b00472f7c10361mr4869932edb.29.1671715249398; 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=Ads0qoJuG6HUDFPhoFemajTCvfg/WM6gpht0w7/pI4WXH/LCzcn436qSBujHVzrBV/ TiDLnJZXlj2UNIO98oEJXRGzMLkX4VkkZjqr8rK6KHet+4DoGi3Hk8VCJb0RYX8EPkb0 Th8VGvEdQm26Eq1CnqJFRvbOqpOmPs439nBKrwksE9cl11YEvBPW/hpSrlejtBoxSy/C GZ4ifbpsxoYiZBS/43M4KYQPkPnOALzRWp8Sa7a3lWX5t3jZUJKkji+WjknSnvhW97+H MNeGNFIjl7a3GQgRRa8QcYMC90mV4d/8nDaU64ROu/naqexqdGryFT9vnTijs8CFg6Cq IAWA== 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=sMev9I+ZdryrTBjzJ8tiTgJp1UwzDLK7UbgCFoQvzyA=; b=BDgkuKVdXEXfgFOLt8O1aDoPyNfzHnTXcxQYbclei4Pnq3FAYVlgtedQ+jMhIvY/z+ mrvNMzzZSKH7H8KM3a06w4gEL1/xKhO4nS9VE7oyghj5c9EZl9LSSdqzY2fedObeV66D aHdEkz+2ihhnR8yLBijGi/VgEqt5gdvu7I8Ru+s/C7DvlvTUVGG/TpaNqJZ0KmrpFk4S 9aKTbyP9NKPUqEmVnKtW+Z9wfl3ovZiEp9wGWFDdirEp6NsmHjMw0oX3G/HytmV4P1/G 6IP4jzTx9Gza1NFVbe8l2A8q8NvGhyCth8dQrPKp2VU1KxWnz6TwUaIcY3sMLaNe3PI7 a0Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VBdAGtoy; 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 y9-20020a056402270900b00477aabd89d2si696702edd.498.2022.12.22.05.20.21; 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=VBdAGtoy; 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 S235197AbiLVNTH (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Thu, 22 Dec 2022 08:19:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235503AbiLVNSi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 22 Dec 2022 08:18:38 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A82A92B24A for <linux-kernel@vger.kernel.org>; Thu, 22 Dec 2022 05:18:34 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id v13-20020a17090a6b0d00b00219c3be9830so1822663pjj.4 for <linux-kernel@vger.kernel.org>; Thu, 22 Dec 2022 05:18:34 -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=sMev9I+ZdryrTBjzJ8tiTgJp1UwzDLK7UbgCFoQvzyA=; b=VBdAGtoyo4j2LV+Tuat5GuV++N4ZltEQvbVJe/poeH/NKjLl8sIWRKaOEc0HxyfGjN UccwIuH5LaAQZeB/Hg1/z7ge75Rjtqf9bB9xPhz5X2Wvg3XpryO5sLq/SyYjDGGGI1v4 xNnQrbrnvGj8aku4FvL2Rp+CTFHcygeeiEYNG+FdqxxEak8M5JLLQAHJYYwMi5OHqu1Y kXVHR5fqO4ID2ul360A76+i81odlQh/l5Wl7HSVBCW04bgaRRZhABkoQiLbnNIwAyGUT IMFojxCV4ih5FFAeWNZZ461ke5qd3NAp4l/qjaaJWJb5BXAHAx+5GYEM6wkHC6e8657J Pr5w== 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=sMev9I+ZdryrTBjzJ8tiTgJp1UwzDLK7UbgCFoQvzyA=; b=UGZcqohp6NWiJSSKU4iRfDhrM0X2s2zBAcPj0ej01Jp3Z8SJVS3UUd0OGXQALpsymD YxCwfukVgEwwbaZ1j13HBQUGVdRxe3xAaw2x3vcaQyymwB2EXSULCrwO3H+MnnhJsvMy v4+Gt1/vK+uQgPq1Kbmn2K75WIhx/CRjmRZEzja+e2oukU8Fq9QTmMras4CqXBM7Fdn1 F+HEC4ydD0qBtAq5xQTO3DjJ7MTtVHzmRGeEso+kQJ5VWbel+G6mOXvBfjWl5n6No7N8 CrpWp1l03O8yWDDfMbRWPC7HApV972mP42R1EQJAT8VG7aVl78PK2OHIWpMFdSonlq2q /rXw== X-Gm-Message-State: AFqh2koT3bFSW0TxJSMBq/W8d4LDzdDgedJj8Gcq7HbQAuA3WKUbaBwZ tYzSGnDJctxcT7d2rLtavpkr X-Received: by 2002:a17:902:8c90:b0:189:9fb2:255a with SMTP id t16-20020a1709028c9000b001899fb2255amr21318128plo.19.1671715114125; Thu, 22 Dec 2022 05:18:34 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 05:18:33 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 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 <manivannan.sadhasivam@linaro.org> Subject: [PATCH v4 09/16] arm64: dts: qcom: sm8350: Fix the base addresses of LLCC banks Date: Thu, 22 Dec 2022 18:46:49 +0530 Message-Id: <20221222131656.49584-10-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 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752920489599130890?= X-GMAIL-MSGID: =?utf-8?q?1752920489599130890?= |
Series |
Qcom: LLCC/EDAC: Fix base address used for LLCC banks
|
|
Commit Message
Manivannan Sadhasivam
Dec. 22, 2022, 1:16 p.m. UTC
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.
Reported-by: Parikshit Pareek <quic_ppareek@quicinc.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8350.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 245dce24ec59..836732d16635 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2513,8 +2513,11 @@ gem_noc: interconnect@9100000 { system-cache-controller@9200000 { compatible = "qcom,sm8350-llcc"; - reg = <0 0x09200000 0 0x1d0000>, <0 0x09600000 0 0x50000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg = <0 0x09200000 0 0x58000>, <0 0x09280000 0 0x58000>, + <0 0x09300000 0 0x58000>, <0 0x09380000 0 0x58000>, + <0 0x09600000 0 0x58000>; + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", + "llcc3_base", "llcc_broadcast_base"; }; usb_1: usb@a6f8800 {