Message ID | 20230118150904.26913-7-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 s9csp2390771wrn; Wed, 18 Jan 2023 07:12:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXv00iPwyxrBCixIzPr8jP2227gxvBOfsLDFvQufMG/Pk8ZF2uXY4SEdovrmDc4DIE5ZGXqU X-Received: by 2002:a17:902:f302:b0:193:b7e:2bf8 with SMTP id c2-20020a170902f30200b001930b7e2bf8mr6212825ple.59.1674054723315; Wed, 18 Jan 2023 07:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674054723; cv=none; d=google.com; s=arc-20160816; b=wk7VMqgQmcQrs+jl5d2j63sVkRzdXq2vUmSJFTvsWkkNdQgJUKgj66fZslYNRYGXXn IqyO7pZ7pNBX6VImmlIxl4vEMI0Jn85FjVMmO9v/7JnoRMIEh/PQ+T/fFGAypUElL6kZ +jwro11kBBr6mdL2zTv0hqEzL5w2PAXDfjzlBvbwS/HCteeSulPTcDGx0WYKka8HZC+D 0K3fdbEaiqmcfpy4381gnhfLGQNlidf7RVsyLTdPfFY7ZXWqo/JXr6gWXOGrePLTvNPh 9kXIg1xNNse5w9lXqNfaA5iLLzYq25naA5hPUkrjeFLfXoUM/5tjTKulcGhEAncXgglZ I51w== 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=e9QXXi64w5AkU0+SlZ8zyP2UpGIuUHr0Btt1KBRAP8A=; b=kPdNobg+7kWVozjOpcz9joyr1sUlfUvYtgDDw2IrhPKdpz+L/3OmGvZpyKOLHlqC6z 2Cp3GjuC4uiJgDUM/J4SIMu+sxHXIFX69fJavYguSWqPWzetqi5Lwyqly8+++F4WrQi2 IQS8ycQIduiPyuKNlUnhNUD310dXIoGNLPnUFogAxxs4IoRrAfMBmH3rPzWzxA/vaeh7 enUUW/fBEGXnGwzBSspOOCGRLBody+niJBSOokAjeaY3zZ9hlAfUAZYvyiDdoFeU8HQl gvBqmmfxlijBznESRc8oRRvFudvH8dFE0kqa+F6iGCB4Je2h+WjbQOl0woUlwthAMiSx x6aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=obtgJhJL; 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 d9-20020a170902cec900b0018c35376fdcsi12653707plg.78.2023.01.18.07.11.51; Wed, 18 Jan 2023 07:12:03 -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=obtgJhJL; 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 S230145AbjARPKq (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Wed, 18 Jan 2023 10:10:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231660AbjARPJv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 18 Jan 2023 10:09:51 -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 43DF231E36 for <linux-kernel@vger.kernel.org>; Wed, 18 Jan 2023 07:09:47 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id gz9-20020a17090b0ec900b002290bda1b07so1964602pjb.1 for <linux-kernel@vger.kernel.org>; Wed, 18 Jan 2023 07:09:47 -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=e9QXXi64w5AkU0+SlZ8zyP2UpGIuUHr0Btt1KBRAP8A=; b=obtgJhJLbF4zWUDolIBzQPaWeCJD4k73tplZA2oseQtFWjew9LCQd9iWssEKhC60G4 QJZouobxHZsRUV+v0NgrkDrkrLtepNVemS1x+00LcFX2iwGozOuS5MWLRVWFbm6PHNge zNWmWkn/r8C4zdZGguEztP6KTdOFRZUT/jVj0vkG7PUgoBRnDGOkEB3adUea/U9aoC6S TvzZFiX/zZT4DfkhlMUFl2BOZ9f0djgiAYYVIy/QbIlH3aCgQLr2n7ZBsNctRMe9YHDb Z1Sq6rFOmmXIh/xS7PPsaCNNktEq2XJPBkcZ759uigRjj9AlCi1Bz96CYp0HiV/Cf1rb ZyFA== 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=e9QXXi64w5AkU0+SlZ8zyP2UpGIuUHr0Btt1KBRAP8A=; b=q6wh+v6R7VHiai6tJ1QvC5c3kqFgh/k0uUGCNhWmDoliesCZeGswOrR9o3mdZPY/A/ GyPKodJlAsDH7dfXzxQAw7+rnUdV8fzx4Sv+lU+ExMfV3LkMZ/FPTbLecxb7Fg501s1f pgS41Or2h/kCBa3MgXhaxVnMZ+THFRIkG74BhSRRObqNQ6eGJ0ABLNkB8xooPFhHjcdZ E1GdpHcALirUnCTMU9euMKgfTYbv3ND6ZUg/dxWrfqdh//qhPOG1Zq65jyu/AY6MYgRY 9Pf50CO3MYUksQwtQ5d/iXfCRSZZWDz7ci1e22AfxQPLiwzvd7xXJ8oWA/I30no55Rmx 4AsQ== X-Gm-Message-State: AFqh2kpc4/Ptz+voyV/I44Nr8JTGOoDhT3d6Oj+ZJv4nFlIhTYxZCDZZ Qjt+yyMZX1Ir03jvqkan+wDG X-Received: by 2002:a05:6a20:9e0e:b0:ac:7a44:db55 with SMTP id ms14-20020a056a209e0e00b000ac7a44db55mr6345038pzb.39.1674054587110; Wed, 18 Jan 2023 07:09:47 -0800 (PST) Received: from localhost.localdomain ([27.111.75.61]) by smtp.gmail.com with ESMTPSA id i15-20020aa796ef000000b0058d9623e7f1sm6721544pfq.73.2023.01.18.07.09.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 07:09:46 -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 06/17] arm64: dts: qcom: sdm845: Fix the base addresses of LLCC banks Date: Wed, 18 Jan 2023 20:38:53 +0530 Message-Id: <20230118150904.26913-7-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=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?1755373605712770667?= X-GMAIL-MSGID: =?utf-8?q?1755373605712770667?= |
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.
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 65032b94b46d..4db68d4d78df 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2132,8 +2132,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>; };