From patchwork Wed Dec 7 13:59:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 30863 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp199118wrr; Wed, 7 Dec 2022 06:03:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf612Rf+4G2rN0nqXDQF19PNJciJ6CtzuTR7O5atbc0N5DGajahfdaRwUTJr4TfiKJ+gCUje X-Received: by 2002:a05:6a00:78b:b0:577:91d6:f748 with SMTP id g11-20020a056a00078b00b0057791d6f748mr1830260pfu.7.1670421806851; Wed, 07 Dec 2022 06:03:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670421806; cv=none; d=google.com; s=arc-20160816; b=kSNcfBXTN5EIyvDABfYUUwNtcUgSTCYCjtfHoUDXSqwl8x7G0iVjP8zvbdFb7YPIva XWGvCbRelDeSwAUoqk1f9yLgDLfzfdk8shNKy/89ksoy64Ehj+C7CaYnpDtJoEl+WI0X W2Wwc4Fs4mYbTA36+E/KwflkDmTLXYtoP9nCIrmlp1oB7ggR9s+yYCwBvbu6vSKaYkmI iuvkK+Ay2RE52oRbGNOyCmCVFqg0Ol32ztwetsRL4ttCkzcfqJ+lEj+RtiwnpUd/p6cL JGu+Ee7vVUsQO5mqJBwHDKJKcy5Vgw683cuCWRtvLj2AMKO4/Ll1EQEMh8F8E4whlNV2 A5KA== 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=WLq9sh6o4ERCEMfeTO3oZ27aDykjuMrf9ORiNyRUQ6k=; b=ZL5OvHvb+2Klj/MvPIlc6MmiO7VGTRN0Ml8JmvtGsN+L+YpPClw/PPU71V/jHHoGOb hLGiZ2z7k/7MbYoShogDQBTRfNdf/0eDpqYCj4pF8n1SfF6cjQBcU57orKxpJKUMw4LJ /QXMS2pCAlpMYOtlBeJ4XqAk7wsAEeFufGD5Xic6D05Y50jAp4jSSGxYjYW3/GgFeObW r6gw56oO+iykRrSYSKQe5/jG8mNWyN2+kIwAW9MO9n/LbaEgaWjtkOTTv86ivPJfNn7A t/9TzBsylrjLCZkD5MnsR2aKkYCiQARCPV0pcH+pqSnluhpwbGl4Ghmtg9bChOjJ/dJ7 NbPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aftBG4nX; 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 s13-20020a63ff4d000000b004780bcf1c1dsi20637281pgk.172.2022.12.07.06.02.46; Wed, 07 Dec 2022 06:03:26 -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=aftBG4nX; 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 S230245AbiLGOAd (ORCPT + 99 others); Wed, 7 Dec 2022 09:00:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbiLGOAB (ORCPT ); Wed, 7 Dec 2022 09:00:01 -0500 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E24095C759 for ; Wed, 7 Dec 2022 05:59:54 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id w37so16455799pga.5 for ; Wed, 07 Dec 2022 05:59:54 -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=WLq9sh6o4ERCEMfeTO3oZ27aDykjuMrf9ORiNyRUQ6k=; b=aftBG4nXLc+S+EIeGTyWH+O6YzVguoNWwbTwF0jpe6dJJ6A4fSyhs3OyuPHHKg7Wru FUKl8QA+DsApeQRJSgRnTbNG4i4iZMqYPcERbQA2WuDIk3+r1NynhQjlqRIzs8y590wo R+sCZDS9l5p/XBQ58r/C+GntagEzlZqXol3JjpaAmu2HrIB29HSQt7viv9CK7eucKoXu HjMZ0w/Di/imX6pvusTBusMddj1Cn25VDZOmpkbkkYfkjickSXb6DBIYp/Ci6nGrj/cf 1VxXyXSk2MgWlfMCHnUFj/fUqM61kNMY9dkGiHQZ5EpSCGR/kPf6ID77EQ66fPJHM+P6 knwg== 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=WLq9sh6o4ERCEMfeTO3oZ27aDykjuMrf9ORiNyRUQ6k=; b=Flh/WEGtBW2buhO6IQiNJ6lRhbwmAL5/bbHP07onju0CPDtVmYegc1YficQDt6ZPbq UTbaLdd7JkDwFY+P3XVTipHxEwrNsFl5Z6gcgxuDyLCq22DkRfOX9ORES0G/dVQ/bHK+ xPlGUDPrV2K1C3xFL+LpeX4yuk0/kcQC655hSnuf14NF/PhSooXuZE1VAef4VxRBtT3t E9IZk3Z8B9nvPDViminSvGOvLti7o1vf9yxtDCRb0maRSuTEfnHY8p/J3zZnKoWy4qpK Ph2TCUDI28u04Wfg7LOK+EE08xd6R+R4o9zBZp+ch3IKQk13DVbXu0o6cj1tkGnhDZn/ bGUw== X-Gm-Message-State: ANoB5pl5NaswCPd3aIOgU/UQbPF04BlhTNp/kVmJlvZ73Fwq7aRiSZwj 6jipePxjdygDRPkH8E+m/6QB X-Received: by 2002:aa7:9192:0:b0:563:1ae2:6daf with SMTP id x18-20020aa79192000000b005631ae26dafmr5692435pfa.71.1670421594384; Wed, 07 Dec 2022 05:59:54 -0800 (PST) Received: from localhost.localdomain ([117.216.123.5]) by smtp.gmail.com with ESMTPSA id c18-20020a170902d49200b00186b69157ecsm14720160plg.202.2022.12.07.05.59.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 05:59:53 -0800 (PST) From: Manivannan Sadhasivam 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, Manivannan Sadhasivam , stable@vger.kernel.org Subject: [PATCH 03/12] arm64: dts: qcom: sdm845: Fix the base addresses of LLCC banks Date: Wed, 7 Dec 2022 19:29:12 +0530 Message-Id: <20221207135922.314827-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221207135922.314827-1-manivannan.sadhasivam@linaro.org> References: <20221207135922.314827-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751564216546947013?= X-GMAIL-MSGID: =?utf-8?q?1751564216546947013?= 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. Cc: # 5.4 Fixes: ba0411ddd133 ("arm64: dts: sdm845: Add device node for Last level cache controller") Signed-off-by: Manivannan Sadhasivam --- 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..e1c0d9faf46e 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 0x50000>, <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 = ; };