Message ID | 20230314080443.64635-4-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1626667wrd; Tue, 14 Mar 2023 01:12:29 -0700 (PDT) X-Google-Smtp-Source: AK7set+yorrI/IlWEZts+CwpfTvNN3wVnTd758h6ovABHnaByCKudSO7LqY/N3WceNiF9iPaPJ+c X-Received: by 2002:a05:6a20:8c97:b0:d0:42a9:f5f9 with SMTP id k23-20020a056a208c9700b000d042a9f5f9mr21260246pzh.54.1678781549339; Tue, 14 Mar 2023 01:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678781549; cv=none; d=google.com; s=arc-20160816; b=o9kVdAWLUP5+vz8Y45m6vxx6KWMNNMHkS9mLeSnG4/8NvkdrMNv/i9zG27jvbEA7bT H3WJkMv0QPmv5qbMN6uYB3YtIlKjoSoGtHnpNLBG1zB4WgA2sd0qyGqPx1vcNsoR82ap Se63Y0MCUj+ylGZKvjlG5sKvCzVVj7XIXjDw80f3ZBhaVyU6GJ16HX1mFhRzC90ECySm 7+LobGAqWOYvxWu5XD2KbswenFyRTxPk89Vc/CegK7DGT6jATTfGrwBwooKxEVCulcPi BTUpIevgCVhFoD46jUTHLI0NF4uVi9zn8oZszq8+aIYyOb65PvSfKA1b7/LD2/ZSvD95 /agA== 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=4tE4o5E5NxTGWs0FFcIpd5GaMpz3q7yKukVUL4nRPNs=; b=ealqeHsPexFRuRHpsFGro048uODScFhCZ3tQNQ/2PGhav6uGEFuaJOZ7lxSg1YnB1v nAvXoeZ7wlEwOpXaH39udh1fjLT7B27vt8UXiVz7jwE60B5FfrMg1TAC9q6NA9eLtZpd aISJN29XrXFr1g8PAs0kpM/jjcAnqv+35QTeun1mU5tklv4HCAqxW4kZpfm1RAudAgVG teUrlz91jSlWbOHEgh3MvkPFrdXzWWiwoRnTUJ8JKdlei8q5UgzZQ4VpN6pz7PEH65Km nXSqAf2Q1liI/a4XthzldaJswEelG0Ud+oc3YtUcQBDN5LfcyKoH0qEf+m1nRQOLTBvl Fo6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SmbC3Sr+; 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 a21-20020a63e855000000b004ff6f91fa75si1782823pgk.445.2023.03.14.01.12.17; Tue, 14 Mar 2023 01:12:29 -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=SmbC3Sr+; 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 S230470AbjCNIFl (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Tue, 14 Mar 2023 04:05:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230408AbjCNIFU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Mar 2023 04:05:20 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3FB96F4A0 for <linux-kernel@vger.kernel.org>; Tue, 14 Mar 2023 01:05:12 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id p20so15677535plw.13 for <linux-kernel@vger.kernel.org>; Tue, 14 Mar 2023 01:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678781112; 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=4tE4o5E5NxTGWs0FFcIpd5GaMpz3q7yKukVUL4nRPNs=; b=SmbC3Sr+D60stiRGJZXsRljMJ9EGtv0OIO9wD1szac0xQEdjxAe3HoEMnXxycEv0M8 SgvcLf4e0+XZgqSILauKVvLZbJZ5njuOxNi29bPYpN8NQ4hzlDFrXobTq9xd5ipr2TmM b1GG/vzvBYmfi1RgXuvJEn4n8sxU7TbMucES+ZhVvcYFv6x7k6PpgSXCBhaiqEZfF+oo uEE1P1JHVl9h3wE6fO84Lnr5vA+tkG+K4s1GY8AXFMPA9oPvOadzpP5IYecdldDz3eg6 usnty6Hc0vl86IfjdVKi7B1igYRvEia7S3TJxla28WLeSiqpd8PCS9LyZGWw3fDtcf1k W7wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678781112; 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=4tE4o5E5NxTGWs0FFcIpd5GaMpz3q7yKukVUL4nRPNs=; b=KKSis5qQGplOOzgrqeSkJVkVVungIyzDglysEnYhOE7N8Gc+kSIvpDJdGyDjAifiaJ MtmTapZkI/CnJusnteaJCuJ3FDXs1xmIAWGizL/6D2TfSUCAi8d6F3gD84VWcTlbecBD uanabvnzmrxf5aim6RdL6n6bt2TOqBJPMFSyUpMOAHbZqngjAsyPzlufaqRHAXy8RjHD 2Tut5Phwz3hCy+PpTjMtFFfB3wWZviesAGUXlGm+7u2ZXb4TFv0VoxWBGzvbg3KQEhHB 7rk6MH1c+KBeQ2o1ubqA0nhOAY6Rq0K+Mc99u4pNTpdwSF2VqqI3NyCn+KN9pswhssVY jhNA== X-Gm-Message-State: AO0yUKWN/j5TcBfWIfngo5zkplrnCS7IozEbJEsZ5EZ7HviXmJaXMzhK vo6Seg1o51+csC7HN5usdiAp X-Received: by 2002:a17:902:f684:b0:19e:68b0:b06a with SMTP id l4-20020a170902f68400b0019e68b0b06amr46982825plg.50.1678781112473; Tue, 14 Mar 2023 01:05:12 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 01:05:11 -0700 (PDT) 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: 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 v8 03/14] arm64: dts: qcom: sdm845: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 13:34:32 +0530 Message-Id: <20230314080443.64635-4-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 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,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: <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?1760330042100454395?= X-GMAIL-MSGID: =?utf-8?q?1760330042100454395?= |
Series |
Qcom: LLCC/EDAC: Fix base address used for LLCC banks
|
|
Commit Message
Manivannan Sadhasivam
March 14, 2023, 8:04 a.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.
On SDM845, the size of the LLCC bank 0 needs to be reduced to 0x4500 as
there are LLCC BWMON registers located after this range.
Reported-by: Parikshit Pareek <quic_ppareek@quicinc.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
arch/arm64/boot/dts/qcom/sdm845.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 479859bd8ab3..3bf95a12ebb9 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2192,8 +2192,11 @@ uart15: serial@a9c000 { llcc: system-cache-controller@1100000 { compatible = "qcom,sdm845-llcc"; - reg = <0 0x01100000 0 0x31000>, <0 0x01300000 0 0x50000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg = <0 0x01100000 0 0x45000>, <0 0x01180000 0 0x50000>, + <0 0x01200000 0 0x50000>, <0 0x01280000 0 0x50000>, + <0 0x01300000 0 0x50000>; + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", + "llcc3_base", "llcc_broadcast_base"; interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; };