From patchwork Tue Mar 14 08:04:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 69368 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1627057wrd; Tue, 14 Mar 2023 01:13:52 -0700 (PDT) X-Google-Smtp-Source: AK7set8494tJuoNvV9EO/RCkPnXIe7bF4OPnbotZeeHRSDZC3dMZO0jlJjllyLe04OHpaRAwR4M4 X-Received: by 2002:a17:902:708c:b0:19a:9686:ea8b with SMTP id z12-20020a170902708c00b0019a9686ea8bmr33296704plk.28.1678781632669; Tue, 14 Mar 2023 01:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678781632; cv=none; d=google.com; s=arc-20160816; b=rPav0kg1OY7/i2K6krYmf+BYUqZyqhsXFerHWZ1r4w0uFiZk+O685q42n/zq966hrn F5HdGdp4IEGwiMZTYC2DVNxsRalqZfOnqP0iZ92/+Q06OJX+npltvZ/+OgUBR5Jxwz1k iufA6CEaG/ybgbhJY4lJL/kuIXqYYYixPghB38vwFxvRKpjjv7783cv1wA9TlgRJC6kV FygQ4E4HB1bQclFKBXXT4pkiJ08hc+icpk8CrHjnEmtlOP10dfZBZ3+zb8RTlaulPKde vgnQ//raAf+ACImANFjRiMWWXaVnzFOrpuf4WuU7J1OEzjWc5Mp4T/OOr623OMzGUIcD MMfw== 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=FI19SzWU19Jvwkg3ef2zRaEcka9BD7PAMWjZH4lQqmU=; b=KWgLbmymJYR5ZOvK79NR11caWwY4BFhrCbIEvsV7b00X+uvmcUK8ShIuTCwQUNZbFh o9uQS4Rffzs9aTF6u4y+cB0QyV9EQJQKWBdTavPzW2kupzPGuX9eK9rJIhVV6XFnvslv eZk7sRoKi5N6AEebl6Qloah7oPByvbnPbXC7vtD0yTq6+IeB5w923mYTQlOHwxBJEsKP jPvXbfTmO6csHTWk1XW8yXXoAdHc8Gb4Kr+keghRE5qrx/YMpD6sZ0t8yLnVdwVFDV8+ onA5G1g68LsbCLN+cTNyurUXHzzagyeExIc/ht7MCfPvyg9FJx75lVoJBql9S3dbO5sI 3/dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qCnt+YG+; 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 r3-20020a1709028bc300b0019ca806fbcasi1898178plo.594.2023.03.14.01.13.39; Tue, 14 Mar 2023 01:13:52 -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=qCnt+YG+; 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 S231130AbjCNIGN (ORCPT + 99 others); Tue, 14 Mar 2023 04:06:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230378AbjCNIFo (ORCPT ); Tue, 14 Mar 2023 04:05:44 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E31382A88 for ; Tue, 14 Mar 2023 01:05:30 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id gp15-20020a17090adf0f00b0023d1bbd9f9eso4086828pjb.0 for ; Tue, 14 Mar 2023 01:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678781129; 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=FI19SzWU19Jvwkg3ef2zRaEcka9BD7PAMWjZH4lQqmU=; b=qCnt+YG+qSCaRi++SQygc4LCMyUIQsxhksIdbvNciJyOVAeYykxxs4ROH0hhxvE57E QuaZ+ecJcx/P7AQqaoMNSEK3RutjcmXZdn1GlRlUha9fYBb2j4GVrs2WzfgALjIRGEwG u7m7iyLjATF5PMDivCktX/K3zQlGAIrn72F78AhCjjNofQd8e4oH0k7l2Hcge0p1npPC wMUS8z5W2Ofc6NxtslNY6WWtAauHalb1SpXHXX6OHfI+cUOltmlOt3bgpq/3PUPFoOmS hr7iXvJfzjqNVT4p/v8HaK19oMNnyLpJJECozQqNyaPrbESvtrajCpP4dJ1J69Wut8D5 +cqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678781129; 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=FI19SzWU19Jvwkg3ef2zRaEcka9BD7PAMWjZH4lQqmU=; b=ptrGgR7mqtvB11cQcbiaV7Kix4lowNeDadP1Tvt8mRN4MTLvLy+ApM07HQovrA1PE0 RcVKJB8605bN/6p+0W0ZXb3gIV/9cFRuhG4AfVBlRxkNr8YvbHdkJuZzYhPoaolrooC6 IIOJZIftsWtOXY0xufG26H4Yzn4RjDgDw5kJ5itx3pG5BnmXo2eW6yl5pWALVF6AlF3T yRjKhYfA7sjxgjkTsgNJbqez0rJovJ9oVxRKynWfRSihzD7TlGFd4OBTWWCo54w+lxwU xCx+Lr6pqdbbU4V4yOq4/1fcEN2TLvElHLAJNtQn1e3GiP6AWHwl/WiJAZSJ+7CKBASJ TRPQ== X-Gm-Message-State: AO0yUKXHFDq1K79YSDYKKrXrLJ9UYZiM54lWgmh7ymKJDNj60Ay/yw3Q BhgNOu/+8sO/C0qYqLzlSMqv X-Received: by 2002:a17:90b:1645:b0:236:a4bc:222 with SMTP id il5-20020a17090b164500b00236a4bc0222mr37579028pjb.38.1678781129601; Tue, 14 Mar 2023 01:05:29 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 01:05:29 -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 v8 06/14] arm64: dts: qcom: sc8280xp: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 13:34:35 +0530 Message-Id: <20230314080443.64635-7-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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760330129533363813?= X-GMAIL-MSGID: =?utf-8?q?1760330129533363813?= 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 Tested-by: Steev Klimaszewski # Thinkpad X13s Tested-by: Andrew Halaney # sa8540p-ride Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 0d02599d8867..f5262ac64a36 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -2983,8 +2983,14 @@ opp-6 { system-cache-controller@9200000 { compatible = "qcom,sc8280xp-llcc"; - reg = <0 0x09200000 0 0x58000>, <0 0x09600000 0 0x58000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg = <0 0x09200000 0 0x58000>, <0 0x09280000 0 0x58000>, + <0 0x09300000 0 0x58000>, <0 0x09380000 0 0x58000>, + <0 0x09400000 0 0x58000>, <0 0x09480000 0 0x58000>, + <0 0x09500000 0 0x58000>, <0 0x09580000 0 0x58000>, + <0 0x09600000 0 0x58000>; + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", + "llcc3_base", "llcc4_base", "llcc5_base", + "llcc6_base", "llcc7_base", "llcc_broadcast_base"; interrupts = ; };