From patchwork Tue Mar 14 05:37:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 69301 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1580013wrd; Mon, 13 Mar 2023 22:42:41 -0700 (PDT) X-Google-Smtp-Source: AK7set9LiTnnB5X/h6qahZXQj3kPETfJ82GnOXHrWu62gnZ7Y9cz3vV7K7pJe7EpuwGkmUzIlB9a X-Received: by 2002:a17:90b:46d1:b0:23b:7188:4b88 with SMTP id jx17-20020a17090b46d100b0023b71884b88mr6458989pjb.46.1678772561544; Mon, 13 Mar 2023 22:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678772561; cv=none; d=google.com; s=arc-20160816; b=mRn/3k0Gcxq6gQuJfCK9KrSZtk3Jmv7vwl9SkhHbyJfeenLrxLyWv4QyCF+zNTSY1j 8HSaIT1mhui2bB8Qjo1uYDDytZyihPUauObhdrGs81oxJwxt5jjfU8jSXA9lwPUJQy8L 3F7PmoalVA/G1q7sIQH3nKWvrLUGFVjF93QG01X/qrmcOZ3eJ1oi+/dslTYQa7b19+/e z69+Dk2fDTfGgt6mFTGi3QeJEFtVr2EAApD1DUePc4NYeU3uSs6ZQOkmz/N6FZHFfz/v NY1LVRHnIsh14nS+P6SX5P31OSP6QGPwCJ0CIKHT/OrS5vWPS4uH+DWNARHHYyRii4cc fYCA== 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=KbEuZ8x9epY4wczXQcJX335FU4iMuAmx2Igvv4w4MY4=; b=nnfazSsErfgCZDMfPHBLaERmk1JemAFogBofrP70RXJ0txsI7TWxn92LHwmV/BhslV MRzX9Ff2o/FJieOeXAuzjtk6DQdFe5nFHW0jlVL7CKZq+30gymleeSTAFHQLCZRhEXnU i97CI5VQXT9UHswAwr9gSO5qCb5lVtup/gcE54WVoRBv6T0uImMMP6t6MOIIRngAr+8C 60MW0kxydiqxgEW9DmS2nFJIjUbKtcExtpW2+djuykyZVdys92+jRX5rlnQGzX4XV2Y5 seGZCZOOat37ACHMlkoChVf4lokdcr+eDR8RO7HCrKhP5Zt4fXnobbx9s6bba+YI3ppf 27iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yA43PiAK; 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 e15-20020a17090a9a8f00b0023d282930e7si1699960pjp.76.2023.03.13.22.42.29; Mon, 13 Mar 2023 22:42:41 -0700 (PDT) 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=yA43PiAK; 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 S230139AbjCNFil (ORCPT + 99 others); Tue, 14 Mar 2023 01:38:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230194AbjCNFih (ORCPT ); Tue, 14 Mar 2023 01:38:37 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9BDC95E2D for ; Mon, 13 Mar 2023 22:38:15 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id u5so15414868plq.7 for ; Mon, 13 Mar 2023 22:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678772295; 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=KbEuZ8x9epY4wczXQcJX335FU4iMuAmx2Igvv4w4MY4=; b=yA43PiAKeBNB8a9B6Y9lwaxQHQDbCrpQuXRvkAKWd3GnsAjpNQLvvd86Sw3jpAlIhi YUAWNcQJYsrpiLBRZWuxQyGFY3pSGoOvbzw30iINyA2iZrPnYCfJOvYXewyxt6a+A208 hnNdiJcdBR27i3K9Ght+Hhyklf08p/yrCdUGTkf3QtH5VKEA52Hme4euS81EWeXotQWH sEkIRZZgcLbbj0rMN66m9CGeUAAd2Yf1pehASAvozn328yR9qNbUYZ9GS6djpHNuO/Mf xdzzzp2nn5hss7+A65tSlr0czbPvOKcY6r72hg9RxqDYEqe19zXQV+uKZWUfUVrPYCS8 2jsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678772295; 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=KbEuZ8x9epY4wczXQcJX335FU4iMuAmx2Igvv4w4MY4=; b=vl+wDUlN3HLI8PlsFYmmdt7CbqygBQjSUeOMimTATVypwZIiU0JFlcXHQLr1j7iP3p y+986qqckJrBsd7d+CujXulWr9qHyeZxx2LtZqkLWdjs+SApCvwKv0GwqWyl0dWTZQbz Wf/MvfpE0IB/nBdc/uRu+Y9A8LNfP5aXBHa8UOAUxVMlfHdo8Agm7ZLdBlirUZFMJ5Q0 KQYN9nYewt7xEdZ8ufjZPRR+UDZzIvc82jKXsfyonC3zo7vQuvk4gSy/KwyGTJdL/jJ/ JwqC43obVq/daWeaXGe+MiLO7ekXwLowoOy39o18EJP5IQaUnSuc2oqXPgdn6cIN/nD9 xEXA== X-Gm-Message-State: AO0yUKUghsV4ngoM7ufizV0WBJ9rGrkzeJUJ/5a//y6djWMseiV28FZO gX1xzJK5JA3NClFOIPf3xBKj X-Received: by 2002:a05:6a21:6da6:b0:cb:e8c6:26a0 with SMTP id wl38-20020a056a216da600b000cbe8c626a0mr48838687pzb.11.1678772295257; Mon, 13 Mar 2023 22:38:15 -0700 (PDT) Received: from localhost.localdomain ([117.217.177.49]) by smtp.gmail.com with ESMTPSA id n126-20020a634084000000b005034a46fbf7sm675093pga.28.2023.03.13.22.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 22:38:14 -0700 (PDT) From: Manivannan Sadhasivam To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, bp@alien8.de, tony.luck@intel.com Cc: 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 v7 08/13] arm64: dts: qcom: sm8250: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 11:07:20 +0530 Message-Id: <20230314053725.13623-9-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230314053725.13623-1-manivannan.sadhasivam@linaro.org> References: <20230314053725.13623-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,URIBL_BLOCKED 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?1760320617860211666?= X-GMAIL-MSGID: =?utf-8?q?1760320617860211666?= 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/sm8250.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 2f0e460acccd..a13cf98b1ac3 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3559,8 +3559,11 @@ usb_1_dwc3: usb@a600000 { system-cache-controller@9200000 { compatible = "qcom,sm8250-llcc"; - reg = <0 0x09200000 0 0x1d0000>, <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"; }; usb_2: usb@a8f8800 {