From patchwork Wed Dec 28 08:40:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 37139 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1783906wrt; Wed, 28 Dec 2022 00:44:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXs43xAjl0vaQFfeR7sPIr+CFsVrbFro7s3pVxukD6Dwbr+4RnsT0oTvSnVYRhU90RPhGcDY X-Received: by 2002:a05:6a20:2d06:b0:ad:e5e8:cfe8 with SMTP id g6-20020a056a202d0600b000ade5e8cfe8mr31461521pzl.48.1672217046700; Wed, 28 Dec 2022 00:44:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672217046; cv=none; d=google.com; s=arc-20160816; b=UmZrWQr1ludmge4FezEr5YIpcMZNut54QMcjtLhWTCphxky947KLql/vRUrdLqqvc/ rPIFPC7AoTh2WZIwOxTjuG3K/Ivo4aKwbxRrke6PpyRjzMY4KMCZAjoc5q/8nntZpMbz sodR5lInQTiilzySzwAl4xiFTQRcWn7dNOv+F7ZMDqt0B4pkDzDSM+ORVUohEjVGjN+9 ly/PFQ7m4P9x3nuEGLu16PWxMFiGBZn7z3AW1mglyvJGxdnBCZ9HKD3gELCsM7nzw+2L 5xgjwVxjkLf3qChW8R7veCsKw+lsBc5qDdRLjFlNv9A5oPoNxqK6LlJtFYtjOc/+hxMZ FSDA== 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=sMev9I+ZdryrTBjzJ8tiTgJp1UwzDLK7UbgCFoQvzyA=; b=TFChXSTdv1KilZU79bP5Fr7QmyPGYan5Ttj4pQaZwkeNaArGhY9YdWz2WAmMrzJTG4 AtvzkvOfllf68aQ6i0qLjqaEBh3pZt4eQSwSQdrHShf1V7JqSbCfQxnbOu/Xb70etQRJ CZ8iGs4qNgumyiLo4sUHn12f+SzcNiaZz5ERQcgh0EBmkT7dU/zLHN0FDRAvozFz7iJk 5QOluThNJJw68Qcsh83zA7Pmtsfq99xdxHI/Z01JwuVk/D50FRi8QNZvPp+snaOSFsNd GrdkCwT+pG+0h/LRio8vfEsocZ1DBr137zOw31dXqqVyUGpMqInFIHDBwV16DFHO16Pf HuFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hy4nC4E4; 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 q21-20020a635055000000b0045a2b6e1192si15653457pgl.233.2022.12.28.00.43.54; Wed, 28 Dec 2022 00:44:06 -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=hy4nC4E4; 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 S229526AbiL1Ino (ORCPT + 99 others); Wed, 28 Dec 2022 03:43:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232635AbiL1InH (ORCPT ); Wed, 28 Dec 2022 03:43:07 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11F2E101FD for ; Wed, 28 Dec 2022 00:42:14 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id 65so10299392pfx.9 for ; Wed, 28 Dec 2022 00:42:14 -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=sMev9I+ZdryrTBjzJ8tiTgJp1UwzDLK7UbgCFoQvzyA=; b=hy4nC4E4al+dabRomp+OPrVVRBkiPqSdQSNvbzvr0h9pg+JqKsvvABpx/N94VxyQKO 4Fc9F9yhAarvh4qVPjwL49Va/Ac8LACS+2UrPgzNKEoRKEyei1Ug5YubxpWyOCNIadU0 uNwihQdr3mimAIBAXbUNUpnJAQ3Y7Y3DNCDiyAGV3QW14AYYG8Uk4fFWlFj05fBMMT2j apC3V24LXwNTLaQgHg3JUOn0541oMPFbmXp44QRI3TXZ6t7oANDyGRU/cIhzgWytqQ6V qRBmMAyP9p4ZxshXyE9BgRIAbMua0AaTzPpsNoNvYI2J1hHHpkpHBbXfo/9019QWhk3C A90g== 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=sMev9I+ZdryrTBjzJ8tiTgJp1UwzDLK7UbgCFoQvzyA=; b=pw1Qzzo4rNXWpPy5XT73qcwv1sgiA1N8EKztOplU2q3nVG8H9IE90hHCAQL3b6+rO7 oVUt5B1DqQzE4d76GDZOsDIKvgz/+652F9AS659NeDpjtRwGAokdnZZZPkWKwgGURsd8 SDraSeMIaApo7DeGZFU1gXyNtQUeMdJoouBpecnONfWad6CiCtuKinFn9yso7VkD/bRw x07CZ3S7oSLGy7s10G8fvWZuzGzr171PmyvN6n3/tzWQkYnJ716WmCD6NqaNUQboE3S0 7DtP5ghonI0tTyaN+2P6OwdeRZ2oSTqRxYkQUAd6n5LO1t9savxC9RmuwVZ1h3CmX6Px jvYQ== X-Gm-Message-State: AFqh2kozW50mY8nwdlpamcYAxOItyasfbvZ8Ag1u0YgWb/427ldZH0l2 3zhBeyKOv4JCcoFaoCyWelle X-Received: by 2002:a62:1c84:0:b0:576:e4c7:97bf with SMTP id c126-20020a621c84000000b00576e4c797bfmr24944004pfc.15.1672216933591; Wed, 28 Dec 2022 00:42:13 -0800 (PST) Received: from localhost.localdomain ([117.217.178.73]) by smtp.gmail.com with ESMTPSA id d188-20020a6236c5000000b0057a9b146592sm9786286pfa.186.2022.12.28.00.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 00:42:12 -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, luca.weiss@fairphone.com, ahalaney@redhat.com, steev@kali.org, Manivannan Sadhasivam Subject: [PATCH v5 12/17] arm64: dts: qcom: sm8350: Fix the base addresses of LLCC banks Date: Wed, 28 Dec 2022 14:10:23 +0530 Message-Id: <20221228084028.46528-13-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221228084028.46528-1-manivannan.sadhasivam@linaro.org> References: <20221228084028.46528-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=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?1753446662030575161?= X-GMAIL-MSGID: =?utf-8?q?1753446662030575161?= 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/sm8350.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 245dce24ec59..836732d16635 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2513,8 +2513,11 @@ gem_noc: interconnect@9100000 { system-cache-controller@9200000 { compatible = "qcom,sm8350-llcc"; - reg = <0 0x09200000 0 0x1d0000>, <0 0x09600000 0 0x50000>; - 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 0x09600000 0 0x58000>; + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", + "llcc3_base", "llcc_broadcast_base"; }; usb_1: usb@a6f8800 {