From patchwork Wed Dec 7 13:59:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 30871 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp200580wrr; Wed, 7 Dec 2022 06:05:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Ak4M9LIVbU0b7z9GTRhsGCKEF5VqDWGwQg6GtCW7uQA1rnKyFEOQzdEvm6PrjcklxjBk4 X-Received: by 2002:a17:902:ec04:b0:189:8c37:6f17 with SMTP id l4-20020a170902ec0400b001898c376f17mr47240357pld.67.1670421902062; Wed, 07 Dec 2022 06:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670421902; cv=none; d=google.com; s=arc-20160816; b=iNIPNGXUpcCeCRetqEtq/u/NU5utK3AVLFAJBijK08wCt5qVYMipDg8WiZXrJfdio0 SiY32Vl4WX2ZWnA0gw1cO4TkkENnPY38Zoo8pM/9crpL+I2B3yY2CYt792cIW1z9dCoH 8qxPBo7Wh5xstxP6YhRQkx0q/au4zh7XNJKsj0PjO8cTxB2rgYoHxn/69BbZKVlBcCcZ vfrQ1M93Txc3FxAlZS8Qb5VsAPe7uHbNXonZT44qjK0fdpaWBlOfwYS5SaRRekUP269X FkdRbNzGRYZfYM/2kTz22XVY8NC4lQQ8UfeGTfeb7AUFdFkCkOv4hU5h0OKcIrPSJLSN K6jA== 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=4HXFRaipNAA/3SVXX4rMylP7rXb8WAB5NgKEFsbHAGk=; b=AB/f2dMvidwx52meAt26yM2LLUFDM7THXIpht9f0ZdbAHIA3+Av7oLMRxCX0W/ZfmG fGmwQ8C3v9TdJALp2iA2Jenka0JNcTUzIouejPJienjr3GY96qxx5cLDjXcVL/7nZBI5 CNaogB/lqwFQVh2wKsX8MYlOL0PWoWtDJWbbMic7hejbRZSf/OngD5mPFcTzKaeqpHoG Ib+/7F7rNxc4dxpq0ipE00DTaDF7BiQ7nvpXqqwCexYWP222omKy92ZTePg4bO95dgro TLmxVHN5/wk4OpJqz1w1xdUTxi4b9xyzkGPMqvWeO+iyvS8Ha94rxrg37F4BXQYh/u2+ ulxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mIbtkx5Z; 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 mj1-20020a17090b368100b0021871478f6esi1446771pjb.85.2022.12.07.06.04.36; Wed, 07 Dec 2022 06:05:02 -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=mIbtkx5Z; 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 S230170AbiLGOCk (ORCPT + 99 others); Wed, 7 Dec 2022 09:02:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230058AbiLGOBM (ORCPT ); Wed, 7 Dec 2022 09:01:12 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9349D12745 for ; Wed, 7 Dec 2022 06:00:39 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id 82so16500147pgc.0 for ; Wed, 07 Dec 2022 06:00:39 -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=4HXFRaipNAA/3SVXX4rMylP7rXb8WAB5NgKEFsbHAGk=; b=mIbtkx5ZYYnroshvQ2t9MPgSjjE3QsY4ZeLxclpuzT+W76Iwc3E11RHLejCqci1+D9 9WtB0A54+LWedD3UwQkLkB7LEmqvAY19WypkTGi+TXwbf/fjH/kk4nLeRLs7zVaYUvbA t23Qsx47tB0Fi00bZVv6ftKAJpO+PHeY+S218JUg5vGPFUYP0/ZAfmKzO4vuBt+5nohQ kDZLJJN+R/wPCeKIRBKNg3Z4/aCacZsBCsm2lZSKTbEG+tunELjGU+pfhRlSfAvJqoJj MEBna6VUxY/BmXsUnS8lGe8zjELxJoq3DwXBJkJSvs85ARPApD8fxgKplvqbznD442t4 AedQ== 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=4HXFRaipNAA/3SVXX4rMylP7rXb8WAB5NgKEFsbHAGk=; b=MCd+LHHPRUgAW9DlBbt/WIBIR0IkqqYLN3syAkWadEe2acnBnNU0qUyqaWdDSrvbau b3Fn5vSGs13Tmf+rg30lJSyFiXzRNGJl2AjNsZXShaB/s6EoVuWE5WvmC9l1SN347xQi l/7WP7Z9AGls3LnqA/CJNn0YRpMfwfAckeIJxEvwJLKeVBEatkxVmgtJl0uOQ+qj/GIl krs6WVm/vnvuBQwvBJuHU9kYGKmUY2iyORbdrGSHdSTx3p9GN5h9p58neaStkyx2XFmv JTgZj9yDRoAaV9gt6YQU29DoVitFe7jALKs4+OCqfUUO/cxOu86GSrgtyRtoBx6QWAzg F8KA== X-Gm-Message-State: ANoB5pnh8CDDEn4Lki9m0V8nFNjlwIjgbmlJQp2FSxR/UmGQC6cVb6jo 3ha1Xc4oiNFHh3RxMyBswiWB X-Received: by 2002:a63:eb16:0:b0:477:6fe1:cd6d with SMTP id t22-20020a63eb16000000b004776fe1cd6dmr69810826pgh.334.1670421639019; Wed, 07 Dec 2022 06:00:39 -0800 (PST) Received: from localhost.localdomain ([117.216.123.5]) by smtp.gmail.com with ESMTPSA id c18-20020a170902d49200b00186b69157ecsm14720160plg.202.2022.12.07.06.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 06:00:38 -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, Manivannan Sadhasivam , stable@vger.kernel.org Subject: [PATCH 10/12] arm64: dts: qcom: sm8450: Fix the base addresses of LLCC banks Date: Wed, 7 Dec 2022 19:29:19 +0530 Message-Id: <20221207135922.314827-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221207135922.314827-1-manivannan.sadhasivam@linaro.org> References: <20221207135922.314827-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=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?1751564316220760224?= X-GMAIL-MSGID: =?utf-8?q?1751564316220760224?= 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. Cc: # 5.18 Fixes: 1dc3e50eb680 ("arm64: dts: qcom: sm8450: Add LLCC/system-cache-controller node") 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 570475040d95..12549a2912c6 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -3640,8 +3640,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 = ; };