Message ID | 20230118150904.26913-11-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2391381wrn; Wed, 18 Jan 2023 07:13:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXuOB0h5SsR9prUX5O1Cx2ySNX8CR+IjvnTj4Iye/hGwVlQ+YWdqBOLYdfwHEq4BlcwMo+7B X-Received: by 2002:aa7:d588:0:b0:461:22bb:1ae4 with SMTP id r8-20020aa7d588000000b0046122bb1ae4mr19138363edq.17.1674054790359; Wed, 18 Jan 2023 07:13:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674054790; cv=none; d=google.com; s=arc-20160816; b=s22UlH5TuZJNRnjDqdF51cb5wy5McK8XynTS8iPb0qeyMJtz1/+245Q1b43W2wpX7n IlgIS476g9q4Egun/AEfty6Fq+QAFE02SRZzAeGrAx+zc07fz2cju5xx9KFRFnnGunR1 NDK8+YQ6omssjT9LFW20+e3CrJt+CGDReIF28zmlf9EDLef2k6VUTtRZmpyHWvazuw7I mfAKh7okRjNAwrjjCXPuxMsrxhJCfclJjsPyWXWRMDVg9nqUesuA5lpveUWrtQuj5iuT zK/nsfki+bw99FRW3Pw/3VBhixWERkZXKUHOPFdOHzg8hm+e6uvjyfO66EmuWiQirBsc C5gA== 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=7WUljA05hxjrMgWInu+aANTEuP2TXhzChwqlFzG2wks=; b=SHN/Ym1v0MKTjzGCN9CGESawti3BghDVj0E1wTmQG5jueZkEJusKwfRvR5n6W+kwVB dpTHKLml+EG6KgfERqXOU7yjWE5cwGyYlRE0ZtAv968ulfT94sXsFwZ7x78q3ZqDFeaw JW0xboJdxNLdSvhxzuFWxUgZkejX2T3qmnV4Nao+CfNVCGUUn2jDOA6WTnIC/n+spFwe NADmy/mBzJRYe9j8zkfUj0ZkwpuEhYOEEmsHbBSXFowL0P4nzjjwugQJMndJTtfOyRJs 7V95Tr10f0BpsVUAboVJnRzOU/L7lQFbqXxD8wyGgWl2foU9PbtCpSX4lrayVxyj1Ydw Ad4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VR8yk8cQ; 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 y10-20020a056402270a00b0048e913098c1si43765164edd.398.2023.01.18.07.12.44; Wed, 18 Jan 2023 07:13:10 -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=VR8yk8cQ; 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 S231666AbjARPMN (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Wed, 18 Jan 2023 10:12:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231806AbjARPKK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 18 Jan 2023 10:10:10 -0500 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79A8F2F7B9 for <linux-kernel@vger.kernel.org>; Wed, 18 Jan 2023 07:10:09 -0800 (PST) Received: by mail-pg1-x52d.google.com with SMTP id s67so24721031pgs.3 for <linux-kernel@vger.kernel.org>; Wed, 18 Jan 2023 07:10:09 -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=7WUljA05hxjrMgWInu+aANTEuP2TXhzChwqlFzG2wks=; b=VR8yk8cQwKE0vjKVe3VXtUhppdd5/u8wgdmx/K6x1OCLgWTvaUlef55WNSjPhLRgyI Q5dmMt2x9vbrjCfOVHn5wlQ/DYqZ7MUgiTO/sjdVRN4UuVVQ+/eFZ/22+mqFV60K7wug anW0LVvjuk1/W2/NQHSW44QI4nWILiwIlMEITXXs9wIjljOsSkqdVB/VxYrHNgVreQxK cqdSAFIv4JDAG4msauY6MlxEqQVwGk/HjTXxkn0m+dCfMtaOZk/l1PZgXqWnfmOAqtle GsYU+qa0tfknMrto2AruuC9vOCHYQ/OCAI9dr4DDI7PhKZEJiCxXsZjBNbETG2px5eKK Z4rA== 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=7WUljA05hxjrMgWInu+aANTEuP2TXhzChwqlFzG2wks=; b=ZCDUPeDeEntSFjM9K3Evn/sq881MzJxdwES3AjrkSYVEB1BMxyQDUh1rtrSWGO8WrB m2NjQxPjtE2LjQ57GIBqSd/qowHLJHPVJqk8A8UxILx8EgnCsCMVAVDlqyQ5FAKOOz3c r5vI0uY6egvip5gKn8rUC88aoa1LPgWfHhArhdHI+xFRIwvQyET2EGXASL0yMVMKEVtF pmeo4MISfc4Pp41IGIlviOHVDVNhbeE03jiA7J+srvKhiLCClMV0rVNMrERRbtl+knF7 YfQE0C3qgpO0KKQJqA2rb7Ev8xEh33nhUj9n2Z65T7RY6oWKF9ANCKoILDlFXzj5Cxls flsA== X-Gm-Message-State: AFqh2kpXSf8NSoCw7dM5GzctnyXBD/Gu1At4DIw/Imw4ERgwYRPrwLVK kC3JcsMSD2ObA/RzIQOEUvYv X-Received: by 2002:aa7:81d4:0:b0:581:b3b3:7717 with SMTP id c20-20020aa781d4000000b00581b3b37717mr7424491pfn.26.1674054608907; Wed, 18 Jan 2023 07:10:08 -0800 (PST) Received: from localhost.localdomain ([27.111.75.61]) by smtp.gmail.com with ESMTPSA id i15-20020aa796ef000000b0058d9623e7f1sm6721544pfq.73.2023.01.18.07.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 07:10:08 -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 v6 10/17] arm64: dts: qcom: sm8150: Fix the base addresses of LLCC banks Date: Wed, 18 Jan 2023 20:38:57 +0530 Message-Id: <20230118150904.26913-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230118150904.26913-1-manivannan.sadhasivam@linaro.org> References: <20230118150904.26913-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=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: <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?1755373675867517596?= X-GMAIL-MSGID: =?utf-8?q?1755373675867517596?= |
Series |
Qcom: LLCC/EDAC: Fix base address used for LLCC banks
|
|
Commit Message
Manivannan Sadhasivam
Jan. 18, 2023, 3:08 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/sm8150.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index a0c57fb798d3..7fd2291b2638 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1762,8 +1762,11 @@ mmss_noc: interconnect@1740000 { system-cache-controller@9200000 { compatible = "qcom,sm8150-llcc"; - reg = <0 0x09200000 0 0x200000>, <0 0x09600000 0 0x50000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg = <0 0x09200000 0 0x50000>, <0 0x09280000 0 0x50000>, + <0 0x09300000 0 0x50000>, <0 0x09380000 0 0x50000>, + <0 0x09600000 0 0x50000>; + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", + "llcc3_base", "llcc_broadcast_base"; interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; };