From patchwork Tue Mar 14 05:37:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 69303 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1580404wrd; Mon, 13 Mar 2023 22:43:41 -0700 (PDT) X-Google-Smtp-Source: AK7set++D8Sth3ziV+UiJa0IWGLIyhi/+dw/PZorC7krPoQgkeCqb4LMCEh2fdbyCL0cO2CGquEP X-Received: by 2002:a9d:4913:0:b0:697:a381:a8f8 with SMTP id e19-20020a9d4913000000b00697a381a8f8mr281285otf.3.1678772620722; Mon, 13 Mar 2023 22:43:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678772620; cv=none; d=google.com; s=arc-20160816; b=sSB+FV2Ijz1vjvE4dtQeDhzV6k/SEFBk3l4Z+zMJx1g7M2gJ4caIlgRML5MTA56Gzi krq6Jw7xCm3YVp5jf6UOb03M7tMKTGPPnBbHQkONJtnXqHNyIHb5mqrsg1ZW/E43MI7t tOm/7W3NZJIX/XQ/C2GxTEFNEa9wyk8vvFY7NFfiYuKwIU3SschQlFqDFAXNLKoGBaIt Vwmd0q7c4xypqZTGVBZQn8RdT2mSp4LCz2lC+cuFXjxsqxJrkIVJlXNcQQ9S10o68Obj VWLusC/uj4RNp/NoKZ209LP6TYaTl0qioxnO+PBNy1IFc/7xIal7Egbxu3yDMOBc5OK0 2d0g== 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=cI9fzySm6xkOQqRMGGXIyCN4K6R+WsFVLi5pzorIgXU=; b=U2Zr7Mek6gpNemKVvYozP7l7QA32ndxNAjN0ef3rnkJMNM+2f8RRJz502tMWzDYRtV haXPN+LptVXfFwN4XZgS6odSPhv1/p6qhWnquPo5hdkLt/eCXI9jfUa3Pi+ZaU7XZ1nx +PECwWfSf5kH1QUmcwB6hI1mfsCHpISATXAk3G/O46nGWqZbtETMopdmduEk1rPNpz3Y TH9/f33ESVkBLUK/diBnTKVo9JsPdgK7YsJv4B9Xu8Ww+Yrm67QablU95kq3RLbzGgQL e+QgR+xjt5+Lq/9bT+k4GeLTDsatSaU52hbB2BmL1HgG1i42PaEx8Jou9eSh5CmKNXdf Bj2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d5ZQV2yd; 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 a13-20020a05683012cd00b00684c064b008si1555309otq.3.2023.03.13.22.43.27; Mon, 13 Mar 2023 22:43:40 -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=d5ZQV2yd; 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 S230176AbjCNFie (ORCPT + 99 others); Tue, 14 Mar 2023 01:38:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230125AbjCNFi2 (ORCPT ); Tue, 14 Mar 2023 01:38:28 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89EE695E23 for ; Mon, 13 Mar 2023 22:38:10 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id x11so15395110pln.12 for ; Mon, 13 Mar 2023 22:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678772290; 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=cI9fzySm6xkOQqRMGGXIyCN4K6R+WsFVLi5pzorIgXU=; b=d5ZQV2ydVI01geYXvAQj5/TBBA2ySilK/UW1mFJZI52HJwmb5qN7pKHiQNdc7IPu5j RG9DJpQlvLpxHzOU4kTTbWEEhpUqQuooannpDsO/wLrC550dFviQSQxM4g/5Jd9f4gr2 VWjsndOhKVT2ZaCBsG2seVjWUOkqD3K7Lhh5BMeHU/Mn8wqGJ3qbSphVuoaMxRteWAbg eQYr51+IxLDVnUh5xqK8MMp37SkDMy5UCXMLhKtao1OOi9R1YedrBCwz1ahP1znhCFsk DWliHgFf6GSHAHfQdH5Xg/HUNImvg9DE+uEL5YXLuRp37ndPYwPseU45gcUYUC9Cp4cV +oVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678772290; 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=cI9fzySm6xkOQqRMGGXIyCN4K6R+WsFVLi5pzorIgXU=; b=cSfBOyOctu8KEadya7mdg8qQquzesyNOQklxgZedgv/H6iIb7Cefmb/EisDAV5rIhM BMHNe8UhhgqnJ3OoZJKWWOmaBtYG7GMCp6cOddINr6cvfGLk/jQZpN9LU/vAW19zTG/A OmX1kNHX664e2W6lYuEJobzV224d9e2BSgm1JLuBiavuqJLZX6c+GrkF7dKFV6artvqo 09Tj+H8YtAUV1NTSRkxOGhimizDsDopvAZJZC42nS4K8gwqfd4+F8NWvHjjym2J9AhRA osOOm/ibAlGoDzNMgcj2xVOPWNncani9XO3Ms8gSQ5yGvTHavkErB98Q6kjWWsuiUeY+ Y5gw== X-Gm-Message-State: AO0yUKXDsMv7+L9rQYdGCe/ewyM3TXlVQo9mBHa9G4W6b0+tDO2EeKT1 8rkrUR8792osopZ8GTDD2Rai X-Received: by 2002:a17:902:d50a:b0:1a0:5652:6168 with SMTP id b10-20020a170902d50a00b001a056526168mr4292773plg.58.1678772289881; Mon, 13 Mar 2023 22:38:09 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 22:38:09 -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 07/13] arm64: dts: qcom: sm8150: Fix the base addresses of LLCC banks Date: Tue, 14 Mar 2023 11:07:19 +0530 Message-Id: <20230314053725.13623-8-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=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?1760320679277840064?= X-GMAIL-MSGID: =?utf-8?q?1760320679277840064?= 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/sm8150.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index fd20096cfc6e..e316a4e4b5aa 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1772,8 +1772,11 @@ mmss_noc: interconnect@1740000 { system-cache-controller@9200000 { compatible = "qcom,sm8150-llcc"; - reg = <0 0x09200000 0 0x200000>, <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"; interrupts = ; };