From patchwork Tue Mar 14 05:37:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 69312 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1586289wrd; Mon, 13 Mar 2023 23:04:05 -0700 (PDT) X-Google-Smtp-Source: AK7set+YAIpPIhP3d6jTwTePqfHCaj0PMuVdD+8G4Xay7V5YJ6zu1qs3eQSM/f8EyXG6gnXFxAh+ X-Received: by 2002:a17:90b:4a04:b0:233:d10f:5236 with SMTP id kk4-20020a17090b4a0400b00233d10f5236mr38071603pjb.28.1678773845321; Mon, 13 Mar 2023 23:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678773845; cv=none; d=google.com; s=arc-20160816; b=k+86f5yDlcdPA4t7OYpXs5nPFior7CL44yhqVdkdxudeSiALe9nZDpYR7Y9hO38ZtT FZmlWCFYjhw816oJXYercZQoCo96Ik4NXbypw7gNWM5MAazq+0UnxesrFY9t8yNnQEx9 8eF1ucPceUAF2P1HzfjbOO57vHv0bjfbFJCOo74+RiS7CAT5Y2Ym0qxYPkiFkn7KyGwC sMhvQtTru8tVEl2NK9PGyfXAdcfCA6qT8ZDohzEEiItPCGcRY/n4r4koKNuCmFJBy58g ClXbC05kwBrAJPCUzN9iA+Q2qZOg1R1K46NRSsHkrmyIrKc+bnODltYPCUI5BVI0KhV5 qFJQ== 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=yqwK6TcGjAz04KGXLoszY4ospGxs4tGDAzQeGyANDbE=; b=V97L2BOL/fopUCoJ9YEp7AFKXDYEWEXSagKGQeV1cCsaFHicttV7bOyTLizGfD0teM G8IG6VvGA1KlCXQgGg/nAtcAxylfsGEoEqbXlezVTGT3ytI3CdXF4OQfXUvMnJSfH4hX nBoBZnWooCoDq1m3eftlW4iaetXD7ippD7wMHJJ2aMxHUEwuP+WCdNbWU5E2lbRvlKd4 DxTot4lTO6LIxFQFoQxE6xb+kDhqs9p9Vu9iODpZos1zMmHf737zXxm+kW75iTuNPASq QmJLLBHBCrjbGRv+elgS45fDa8l10rPop8GFPBDoq2pxFhp2snXYFClZCW1K0w/9a2ot Vgsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZdG7vKoq; 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 lr15-20020a17090b4b8f00b002369d39671fsi1839401pjb.160.2023.03.13.23.03.53; Mon, 13 Mar 2023 23:04:05 -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=ZdG7vKoq; 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 S230212AbjCNFi5 (ORCPT + 99 others); Tue, 14 Mar 2023 01:38:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230200AbjCNFiu (ORCPT ); Tue, 14 Mar 2023 01:38:50 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8D7859FE for ; Mon, 13 Mar 2023 22:38:25 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id u5so15415141plq.7 for ; Mon, 13 Mar 2023 22:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678772305; 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=yqwK6TcGjAz04KGXLoszY4ospGxs4tGDAzQeGyANDbE=; b=ZdG7vKoqgh7TLFE5DkTjS8lZMZZ4fYvaX+ZAa5JUaX7njeWUBsK0TwE9uu4jPM/k6M MRsIUbyomZdq12tYQPcfd0u4jRRxzSYfKlepDEv5yJ7xQ/NyTbrVTHBk0HJBb2rrgOHQ h4TXpL8f8nRKOYYgE0pQtKzpmNomchpoLCqMXl86YKUnIFjuW91rSAv41SnGZFv5WB8k bSJqBrit69KKWEHJErhWCmmhoXtZna+xDxzj4YNfV/Yv1c+s45YgtDWhX+/g/7icbtFU ZuQP0Xep8MpIva7udnuc84/wWudb4TmMDbKQ5ryQkic16bzvNqFTwn3upia/x+sdW42N VS1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678772305; 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=yqwK6TcGjAz04KGXLoszY4ospGxs4tGDAzQeGyANDbE=; b=r6iGxWHXxl67oGORYDNajGGLPKGUogykUNnWkrcUNYQJcm80wjfoUUU9O5H3N33zrm HzvQcj5F8hLPHSjTTar4fzJh7VxMYxI3+nq5bD8xJxbTBLarSF0Fdf6r1+eXDm6A3u8q befsi3LvhPuVuYhMmle5NTjBCj0ET/q9dS3afNc28POZ2UTAiI5wPdaIn/isB11KCWD/ 5R+n0eFX4wuhLMDTh/ksXMCgI1lELdwkchs4YWx9MzkKsH4agGAOcRTXFZYms+xeBiw4 RmNgdeNiYRlDZsBNlUafWD26V76SAcLBwHgBb6NAgLxkrXW3+Gf7vj9T/+W0QGhdUGE+ qabg== X-Gm-Message-State: AO0yUKUiDuz1r4Vy/DVIQVI8qmKIsG/bgeNtizvfU4+NNxhrAwVCDu5k rKSy6Niex3isUx8HsH1VsNhI X-Received: by 2002:a17:902:ecc1:b0:19d:ee88:b4d7 with SMTP id a1-20020a170902ecc100b0019dee88b4d7mr45413170plh.25.1678772305294; Mon, 13 Mar 2023 22:38:25 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 22:38:24 -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 10/13] arm64: dts: qcom: sm8450: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 11:07:22 +0530 Message-Id: <20230314053725.13623-11-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?1760321963721696056?= X-GMAIL-MSGID: =?utf-8?q?1760321963721696056?= 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/sm8450.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 1a744a33bcf4..636dc6823d4c 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -3981,8 +3981,11 @@ gem_noc: interconnect@19100000 { system-cache-controller@19200000 { compatible = "qcom,sm8450-llcc"; - reg = <0 0x19200000 0 0x580000>, <0 0x19a00000 0 0x80000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg = <0 0x19200000 0 0x80000>, <0 0x19600000 0 0x80000>, + <0 0x19300000 0 0x80000>, <0 0x19700000 0 0x80000>, + <0 0x19a00000 0 0x80000>; + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", + "llcc3_base", "llcc_broadcast_base"; interrupts = ; };