From patchwork Thu Dec 22 13:16:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 35752 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp319889wrn; Thu, 22 Dec 2022 05:20:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXt4J9HK3nj+X9bFrMS7KaQHOO9liMvgSfXjo+XIkAOt/u8ulV/5u33Tla26BVrNfwr62FXE X-Received: by 2002:a17:906:398f:b0:7fd:ec83:b8b9 with SMTP id h15-20020a170906398f00b007fdec83b8b9mr4309203eje.44.1671715217250; Thu, 22 Dec 2022 05:20:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671715217; cv=none; d=google.com; s=arc-20160816; b=VwPyDSxVOAnk7urTMYj4jq3+36AB9/FxZS6KsUp00OyHr8eYCujRmI0NYrv46gklf1 Byqd4XUxVlp60lc17TJp2bNUgiHtTRU37sTB8ZYrTl2KHSu9Li1U6+wwbK2Afa+MS4wZ bGviZwxTbXi6DOMM3+Z21G7HOl35l/eWNeMrS/fzbcoKbl1zr/jMgpqyRbOJ1ZkJL6sb L7xWWAefAfEAlv4qLR8YDHJ2o3Qr8NmY/IkCM64TcNQR9O5SqbJNC8XrTpYVYYD17nm9 YgymGQHv8+jfdG6TCWRTnnGrlOflSd+ZXDBXv37X9xwKyat61OL5XfrIybSO6EnNoP8p 4D4g== 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=ny8LRDxtkCbzVPxZcMEK/2xCa3Cj3hxgheO6Po9c4/Y=; b=wKiXyzVskPyQR5tDpykjWXadA/wn+O4dCWWEzDVxFg9ovbwGcIJV4EaKUFgRN3RAPY e8OR1GAMImuwY8ontV9+7MODLHYlXz1g8qu3/Nzz31GQrQoo9bCNXMtBFPGlQ1a+pNLW GDuEt83xzIelnY8Ox4gWdMY1Egjky1vL+8y1Ul4UrdxMe407m7By8QywpklINHLRAwON mmwJTLujzEfHZLAoXNAEBdtb5WtVtZHZGOGJelHKKjz5iLeXF4+vvBX6FgSrbaGMr49N wbdBlKmjfmD8pm/sLQyRWK8WhxhCB1DYJLMVLgU7W0JpNL2pFZdLcS21DuRCIrVhMq87 OqhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dhMQGBmR; 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 ga22-20020a1709070c1600b007acbac0871csi518053ejc.420.2022.12.22.05.19.48; Thu, 22 Dec 2022 05:20:17 -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=dhMQGBmR; 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 S235082AbiLVNSe (ORCPT + 99 others); Thu, 22 Dec 2022 08:18:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235520AbiLVNSF (ORCPT ); Thu, 22 Dec 2022 08:18:05 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84DDF2B623 for ; Thu, 22 Dec 2022 05:17:50 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id gv5-20020a17090b11c500b00223f01c73c3so5448818pjb.0 for ; Thu, 22 Dec 2022 05:17:50 -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=ny8LRDxtkCbzVPxZcMEK/2xCa3Cj3hxgheO6Po9c4/Y=; b=dhMQGBmR06G9CatEmwe+v1F0+trf5UQoHfDvkucAjtc26GNdGjq0Mmqd3P8/l8e2lK j786FeOg6gLzai89na4eEqUrq5EPxCmKugelr6TGJ4doyO0njRznbdKs31Jc1oVwXTRb A1rZaEsO9STSnQ6vC6bpfPiDtyKFXi+Amq7vxoqvJNgEBx9agHOu3jd2Vt66p10rFzXL 816uQsS0YIusOOBr1wkkbgCudts0SFCyXkBtNRn0J/bRIoqRw4ocVVUOrii7XrWZF+EV ZAWISg78ZvUvnApxbF+wnyadkb8QLFGVE7v7tScsnKYkBnUVUhrE3S7t2oUpLJFbEa9+ AYJg== 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=ny8LRDxtkCbzVPxZcMEK/2xCa3Cj3hxgheO6Po9c4/Y=; b=3y19vem8CCd21o3T1taDYldbvGPRfMd0ZmW7Xdp80evS71dLlvfm/oPN1kH+oJ4zQO DQd02zuJBE+pFydXiNY94a2uYHBzZ93m1+wO7ZCeGuwaZVz2Tsdx+GhiZX8ZOw6B7oTX tQ1YkX8v/GdabYmY5rt5s9owUni1miaWwZlWrrobuxfV6Wu/6iP5Wq2hpTqykE9SsYpq QnkiEB4Rm9GMjzqn/XQ7jPhgnIkgXrAtJsJ4eXailH1dzZrTEC/dnJ84nke23q/FUbxL UHjObM4AgHSWOXdWaTHgP3Cc4Yak4u0sVUftU58HPYukFii0rvqrToFzgvIAHae5QtwF iFHA== X-Gm-Message-State: AFqh2kptEtrV0mW6wmXGqXqvDCnIWC8zehO7/t/GOEVQY8a42ci0X7ev YJBviIs09YjJAs+tH0rNq21m X-Received: by 2002:a17:903:10c:b0:192:5838:afaa with SMTP id y12-20020a170903010c00b001925838afaamr621172plc.25.1671715069820; Thu, 22 Dec 2022 05:17:49 -0800 (PST) Received: from localhost.localdomain ([117.217.177.99]) by smtp.gmail.com with ESMTPSA id g12-20020a170902fe0c00b001896040022asm491570plj.190.2022.12.22.05.17.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 05:17:48 -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, luca.weiss@fairphone.com, ahalaney@redhat.com, steev@kali.org, Manivannan Sadhasivam Subject: [PATCH v4 03/16] arm64: dts: qcom: sdm845: Fix the base addresses of LLCC banks Date: Thu, 22 Dec 2022 18:46:43 +0530 Message-Id: <20221222131656.49584-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221222131656.49584-1-manivannan.sadhasivam@linaro.org> References: <20221222131656.49584-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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752920455804967432?= X-GMAIL-MSGID: =?utf-8?q?1752920455804967432?= 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 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 = ; };