Message ID | 20221219182958.476231-8-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 c7csp2549940wrn; Mon, 19 Dec 2022 10:33:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXvqvcActee4T6A/Hr1fBvGaGqV0g5o7rqaBCPDahjwdPtwDFe76Y9N8tJENBILnXcJrNiyI X-Received: by 2002:a17:90a:6544:b0:223:415c:2b82 with SMTP id f4-20020a17090a654400b00223415c2b82mr11169522pjs.27.1671474788980; Mon, 19 Dec 2022 10:33:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671474788; cv=none; d=google.com; s=arc-20160816; b=szy97TGduKlTaQXCgzF5JKCJa9xu/g6VE0Y1xYVBqae+hZBri5oPgr6vpN5kPdIcMw 9A/ehLnVnDHLyH2aBAf7Mhj67kDkMCOD+W+16OImSM+qCZnQLQttj8tFCjHrbzKGWlNL yys9nCQxjCQ8G0XcPUa+WUDhLNlYL3sdXuvwVaY3t3f80/idLTT407lGNFEjswYBQnDZ ES7tAqdQ6FxDEkOa6e6y0bpbsPvqQ8LOxKntRorEo9eXjxIShTbXg3CwYLmOnaykwo7G tNbe6pp0EaThxSSMWR1O6FhOt/1yAPBUwjszcE7uHHQ8enIBd06jIulNwZ1K3dCKyIfv yVbg== 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=H624QJvAx/oppBMSVAv8O2ySxIKAj/HJwNMgxdt1wRGReiFJ2WdJOymOXiT3icxtag Ky6SqMJwVboAj1ek2ZqFcAcclZ7cDans31RptM9ra/EKgMAKaS09xE82zjg1T+NghzM4 QnyFZzziNbwvo8ZGRNIWur6kqXJsYyUD8A2GvnJ7h2LgGtiedoh8Q/LPmRRAfU4G9wjl FZR0ZoemCvkDwlZvQrxbapfGcnfO6EQdEaBh1D6dF14a89AEK1V2aSO7ATarpjZJDcP/ wsRsOA/0ApVIIU57s/+oDlelqqv53LKcR067nNprDMwY4qgBeZozNJoGCDbngP38Sekb 9azg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F82pN6mg; 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 x23-20020a17090a8a9700b00219b3307f5fsi16191852pjn.45.2022.12.19.10.32.56; Mon, 19 Dec 2022 10:33:08 -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=F82pN6mg; 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 S232381AbiLSSbp (ORCPT <rfc822;abdi.embedded@gmail.com> + 99 others); Mon, 19 Dec 2022 13:31:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232517AbiLSSbM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Dec 2022 13:31:12 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FE4F13F0C for <linux-kernel@vger.kernel.org>; Mon, 19 Dec 2022 10:31:04 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id w20so3275073ply.12 for <linux-kernel@vger.kernel.org>; Mon, 19 Dec 2022 10:31:04 -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=F82pN6mgDTCdxMwJoTeS4XcJ04BEgKG1pr4R0yhvIl6Vk5epgcY/fWyp9h7TAQTS8M R4vbqnLI4VSXfYpzjMLvm5Rv5ijmloVyOUhS41gw2KoPvcxcUtxSV8atXzOOn6aBK+bP 6fM9f4dBMCa9Z3+/MpqxPg65yqXJ9SoqHSCV80/uUbhYxy+9E2myRaY6DJEyx5BsMOz2 Yau1CWC7WcIngvYw2lMbWbwYadRhqXXsd6OGDiY84P6OAxJ4sULU8wB/FJW7VT/MZNsG WfLdoKNJuEGXwHwc4MUi0Hui7IrFbzOylNY9zDA751x8+x8OnNwsw3zxHJIVRTvNNpad vHDQ== 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=8KCvpXgAn/+s9OES5hnnhl+Uo57mNrSWuLvC8Xr6fy4RzIMqy8fo+lF139Z7IGSBtf FIcorGVtyz8E6vdgljkGg2glvFYa2MyAU1OzzH6Rbh7KOR69ZVD8PDpqgEgSrpegGkMh aPFt+yWOxitdOE/nUCn4cNgO83ndv08fLn4ARrjawmwP5a8rjecifd54qYIt0PD5ijy+ tTACSvsCpBx51NlgOMc5RCsV+wGN7CznCGBNk+chLYGUtjrYdwiHKWydBpitaY2SAp/Z d4tksk8u5YJtN8xcvHKaxKGlIl3/Okaehvc/jw/e88rrCW7nQ0e4Uq/ISqF4rEtgYyhJ zKig== X-Gm-Message-State: AFqh2kor8v69DLutMtAiAtQHhOll1ZCG40uUuhFdg0SX9mRBQI5QC0zz gqFmRH2CTfG9mZGTrOawaqcS X-Received: by 2002:a17:902:a38d:b0:185:441e:6ef3 with SMTP id x13-20020a170902a38d00b00185441e6ef3mr11628908pla.61.1671474663607; Mon, 19 Dec 2022 10:31:03 -0800 (PST) Received: from localhost.localdomain ([220.158.159.17]) by smtp.gmail.com with ESMTPSA id d2-20020a170903230200b00186e34524e3sm7480979plh.136.2022.12.19.10.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 10:31:02 -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, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH v3 07/15] arm64: dts: qcom: sm8150: Fix the base addresses of LLCC banks Date: Mon, 19 Dec 2022 23:59:50 +0530 Message-Id: <20221219182958.476231-8-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 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?1752668348300222051?= X-GMAIL-MSGID: =?utf-8?q?1752668348300222051?= |
Series |
Qcom: LLCC/EDAC: Fix base address used for LLCC banks
|
|
Commit Message
Manivannan Sadhasivam
Dec. 19, 2022, 6:29 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>; };