Message ID | 20221228084028.46528-11-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1783859wrt; Wed, 28 Dec 2022 00:43:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXvpPJhkuyzipZAmTsYySjTy+C6lcRo+7qyss19X8EqIUzuLepjyEWDkAIUorMcFgd/25twd X-Received: by 2002:a17:902:cecf:b0:191:191f:e7a7 with SMTP id d15-20020a170902cecf00b00191191fe7a7mr35463344plg.69.1672217037484; Wed, 28 Dec 2022 00:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672217037; cv=none; d=google.com; s=arc-20160816; b=tmvRYBF9Ivmj3+owSXuaW4HW0IvfcFrK470NtD7bfHyFxGvS/jh62XvWQVRjtRqlvH WA3hQW8ntMSQVr7iT9vO8sLslPkZAjq++VyCkdRCF+7+h0XDve9ITQrHdwqSo0y3hxZT bMYTyn7BD8U1pXUdQl5RL5FMm6YmRofR/terFkTKl44GfjPHyUbf8f8YvEQ96c31uI4M 2A4NwHi9ZbS/LyW678FXPQb/4r/rF5M8L26VOdi7aZI6q5R9jTlDSlLqqdPncm0C4H5W S2pjq7itGDvbiaLUd7D1JUiUXCLR1VCbFjDVYwoI3uaam1nm3WDqh08juykU0gQrNuCJ 25Ng== 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=PnTOhRglXLzU3RTdtTHcQWUrwjuO/FydnvZ8rcGudmtRylseqfx7Bk6zyO7SGZ/mBq 3vPprkyf7xo+8XqsvsKddJbf9UDgub3skHyky0fanyHfXmVMzdTY4oTsXg/e0ihiI19x qtJJEnvLS1Q2Lh5H2CabN/Xx+aSMR6tKWAVm5Jkwmy1qUB2DEF/Y8yJRcPENBQXgkgMc 7LY/AkyOxKxkwPTv1lKLf2lj7rSGYbiKiCYbgcI7eSjabyDzK3CdAajgjJ/2yP+vDtDe ioiICJ1FMgASRaZHsjOHNd6YhczVZhBZERtpGWBFiiui8/O3Z7bJ+t1vhPZlZelervMr QL5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YbRaJdKT; 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 h16-20020a170902f55000b001926fcc7389si6752090plf.424.2022.12.28.00.43.45; Wed, 28 Dec 2022 00:43:57 -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=YbRaJdKT; 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 S232768AbiL1InU (ORCPT <rfc822;eddaouddi.ayoub@gmail.com> + 99 others); Wed, 28 Dec 2022 03:43:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232849AbiL1Imv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 28 Dec 2022 03:42:51 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EC6DFCF9 for <linux-kernel@vger.kernel.org>; Wed, 28 Dec 2022 00:41:59 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id o2so10067689pjh.4 for <linux-kernel@vger.kernel.org>; Wed, 28 Dec 2022 00:41:59 -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=YbRaJdKTjanKozZ9jibrWhveX5ctEFNkLx+F0Oa42QvbwyxD6ZLBU8UUZA7DFhvKhY mBGdAIrXoriXn5vAyZdODH0VG4OpyPkvIDDw1nNnfmEKmx4ak9mEn1kd931+EnbkXrnk hMjt7Kos6E23YPkKrviHBbwQ4tqcQyA9Q6zc3IMkPL0Hexc26EAq7tn/kEj03cPe/pu6 Nrwy6KcprdjCHevGZ5/F8tpfywa846CpI4sFNSBPHY/XcxKSVQ8Cncqs43kbWYMxrq5d WjV9TUYi7ynmn0t8KGDKlAo+MTr1OlBrgUCwKVODXiYULSnFk/Eq1jPAe3rOrcFdPO7G wwmw== 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=4QqS9e+C1FgyM/WlsxB9pySoWkXUeB20O8no0Vw8bL4xhlCDZuSZiXJhDESqBqI+0Y UaFRc5G/6Y0f9QaoTpUroy5ASlG4u25UdbykJIO6tYUp2awFXpK3kpI3pmtFyTFszwTj +6pGONlGb07waBMkwocsCfAViDoE4edUqwXFqHx9chbOUHoQcv6QzLJU4lBcUlFKRbYJ B0zMAn8AHB7ThHj07Gr45VE0NjIT44C3ZLTmTT+EP0GqIN46zvt9x7fp3J04UKnE/yWq Lt2EmBG/zhIipDxxVqx0CbtL7GN5b8Umpxdvzgu3SS/C6plLXwCK+ZDjQs9DeRQr0xU/ sBbg== X-Gm-Message-State: AFqh2koDNPo9k49lttR3TwX4At5DkHZNQ3JZA7zB36udE8DeUS6U2QjR b0QthbwPFk/A9qQHeGV7gz3zbB91zCTlAyg= X-Received: by 2002:a05:6a20:bf29:b0:a5:df86:f2b4 with SMTP id gc41-20020a056a20bf2900b000a5df86f2b4mr25040116pzb.58.1672216918839; Wed, 28 Dec 2022 00:41:58 -0800 (PST) Received: from localhost.localdomain ([117.217.178.73]) by smtp.gmail.com with ESMTPSA id d188-20020a6236c5000000b0057a9b146592sm9786286pfa.186.2022.12.28.00.41.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 00:41:57 -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 v5 10/17] arm64: dts: qcom: sm8150: Fix the base addresses of LLCC banks Date: Wed, 28 Dec 2022 14:10:21 +0530 Message-Id: <20221228084028.46528-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221228084028.46528-1-manivannan.sadhasivam@linaro.org> References: <20221228084028.46528-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?1753446652152246909?= X-GMAIL-MSGID: =?utf-8?q?1753446652152246909?= |
Series |
Qcom: LLCC/EDAC: Fix base address used for LLCC banks
|
|
Commit Message
Manivannan Sadhasivam
Dec. 28, 2022, 8:40 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.
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>; };