Message ID | 20230314080443.64635-9-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1626552wrd; Tue, 14 Mar 2023 01:12:07 -0700 (PDT) X-Google-Smtp-Source: AK7set+44RsPpxdB75PA6bfnO0yRcCL68/3MVFywAU55mfqbJLD3p+n6GORrtMoSrvn2VwxTv5jR X-Received: by 2002:a17:90a:ba01:b0:23b:45be:a15a with SMTP id s1-20020a17090aba0100b0023b45bea15amr8775087pjr.25.1678781526837; Tue, 14 Mar 2023 01:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678781526; cv=none; d=google.com; s=arc-20160816; b=ek3Jq7PbwwQGP754x6G3uUDcni8o0SdG23x/t6wkYwUwfSFI6jedHWvOhbOa3yEJvE s7PuFJ2Q9BtH4yQexNteTcgsrhvd/J0rq5/qHkkHRX/MCTQOQumyaKbLertKLUBl9BVT MmxWnV0hXuXEUOLqUoN4d8wRdErEhVCqTgV1GCzRz5JOoWEuRC8I+ADirx3zJxqtfg+S TX9t7M1yktiiX0MqYLp6SUepXFw1/Lq9XlgbB9+uksaXtbrhPbu9/NbFQaGmSYsrcOCo PLSdQggnKWRdL+IOM7Svm8w+fqcMfiN9VzocdL62yTaI2KUeMe+4qOt4fBA3qaxp4GHr DWbQ== 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=vMVt8ukvJOsAFhdpuzsZCe0e7bFM94zwMT5Rm7mq7BnNP52lD1EAwVUN1rThP5U71O QMeXNT7syu1FW4L2M64OFOwn9+iU/Jzm1eq192vjTf33wFQ8dsi4YSshI1rqtlZyLtiY dWpGfYzYTDlock2+tzd65doXPo8iVXe5H/Y3d+2yVD2cWNXnhK6z+wN383A7oxRdTs0C Lug47AvESDGRDmTjhFIo1ShD+5XX2TfiJJcTYgTp50ehZpQr0PAjcECyTPIOOOagwBC3 RgmpRRY9FRoG0Q192Ts3sbUg75YSBf5bRK7IZwkD6ZFoWgdGUp2xtdcdDbQEwAWyiBG4 UVHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Blim+bsj; 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 nh2-20020a17090b364200b002375a3ccf51si1876473pjb.9.2023.03.14.01.11.54; Tue, 14 Mar 2023 01:12:06 -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=Blim+bsj; 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 S230029AbjCNIGV (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Tue, 14 Mar 2023 04:06:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230505AbjCNIFs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Mar 2023 04:05:48 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E247E72B1C for <linux-kernel@vger.kernel.org>; Tue, 14 Mar 2023 01:05:40 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id p20so15678492plw.13 for <linux-kernel@vger.kernel.org>; Tue, 14 Mar 2023 01:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678781140; 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=Blim+bsjx7tnv55ZAmyMK4xpeetRd1ob3PM+2hfLojx4GQETr1DfWSUnWWUKg6fUWB aV+mvGSKBiDPcJfzfudmySE5WvreMfMr82z5e83ZVzgXWikdTAKKJW+cb7M5UqPpNVTa Vv3zZYi3w9waz8r4TUZeklnpybTq8ynW6Hh4+KfKYnz+a26sKLrTAVRb0CIXEq7ekf9D ABuCuqgprYHWWBMfU+ru4yysX7E9KHCQFAyXKnQLl6DZaqBCcNY7XJkzOvCtUxBycs9J 2/t8NgTkaxzlCCvGG1gJ/xxL6R5UOxA/fZ3FwfRNLnATShINDVLM2B/DEXeFU6k7pU+5 +sYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678781140; 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=YNATsElpY+OnpTRlnlvn4UTcZDlz1rjw8nC6G9ZZkJ0SspHhS8PI5Mo4SR7QR8l0sI pgC844vg2JPnACjDEfTcw+McvgUvXakQsn7KJyyal/fV0KQCFg4UOsfkZvhsWfVD+m7p V1jeh8j6Wyb0c1aXRR+oqqwUJTahH7vRWZO40cRVFvBS6AiuaDjLv6yNn3SAjZLU/iM7 wwgsLN4PdeYckt6FseYGejSisxZHCc8Oxw4EqZVYF+3Jv5tpA9NmfVv7xVjNziwJt3Le gUfexsNkitzbxi8v0vX32UUs9SK+0M270xl1iSP6aOTAvuh0fhDwPpNKUXUQ+tWMTdXx DwAw== X-Gm-Message-State: AO0yUKXN/z5YS/w5x1R1CILweNPJfButizbBB/yDKZWyn+hbAUTzoAKx dVjaXPFVnPzi0YefHflkr4No X-Received: by 2002:a17:90a:19:b0:23a:ad68:25a7 with SMTP id 25-20020a17090a001900b0023aad6825a7mr29838033pja.2.1678781140382; Tue, 14 Mar 2023 01:05:40 -0700 (PDT) Received: from localhost.localdomain ([117.217.177.49]) by smtp.gmail.com with ESMTPSA id l8-20020a170902f68800b001994a0f3380sm1078022plg.265.2023.03.14.01.05.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 01:05:39 -0700 (PDT) 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: 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 v8 08/14] arm64: dts: qcom: sm8250: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 13:34:37 +0530 Message-Id: <20230314080443.64635-9-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230314080443.64635-1-manivannan.sadhasivam@linaro.org> References: <20230314080443.64635-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,URIBL_BLOCKED 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?1760330018280158400?= X-GMAIL-MSGID: =?utf-8?q?1760330018280158400?= |
Series |
Qcom: LLCC/EDAC: Fix base address used for LLCC banks
|
|
Commit Message
Manivannan Sadhasivam
March 14, 2023, 8:04 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/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 {