Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1450882rwl; Wed, 12 Apr 2023 13:05:49 -0700 (PDT) X-Google-Smtp-Source: AKy350ZYGLtXzwbsLKdaKDf9xObTpRLafAl/U3eHZeZbb95hxl2TurmrfUoBAGjlVmkZH++V7SYJ X-Received: by 2002:a17:906:d18e:b0:94e:1764:b09b with SMTP id c14-20020a170906d18e00b0094e1764b09bmr89086ejz.45.1681329948812; Wed, 12 Apr 2023 13:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681329948; cv=none; d=google.com; s=arc-20160816; b=z5wQTvHBYRFgWmc+qe08TXjBZs+kTf6V8xfZuSli6T6/Rd4ShOPxA1LL95XCTFJdoF hB0g1tNKkHHcUz6ZZBzv6wxUbir2mx4H91rosHfITuNGsx7+oywOo/BNcshCh5O200nh 7QutcmcFv5LCoUziO21HaAzLD8oOSfQ/qiWNUGxwKqjbGaPx1FMLRHNEUJBSa0Wsnp2X 3xscNL7lP2vRdeoiIprNbpRu+v4PkBveQQC3ABGhPsRGLGC4uovaIlJFGgjATm6A7+w+ FFMt6da4wNPq/EO2Vs6nA0AnGwjEuE521z6Mlrojb6Wg/n1UE8MNTZXqojC5JVU9T4sr HGpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=55PrKKkIhQxvxBSsvZXp9quQx6wpWtCaUKyGDu8YdYQ=; b=AAauj7fa6eo1OcLTwYSWOs7W8j219La9h/OR33RYUCWv3UrR4yRTyNTVIgY9CuQMLY zXzpGqcAvRm5qymZKN9+kZr68vVTMCcS2ZhtlpY+PMEY6KuRB9OdHcMUUH59GC+TU76Y 6FB6hFi32B9vdrMHo1RFy3wFVNf/Sc1euq1a+rf5kfjsn77SpFX051kR3Kis2eTq9ZTb 9+Wx7hgaPHd7yI4xbBMS83oo0DHuR77Rph0Hnste5WLY6b6Cwvyiv4LewVGG7+x+rcOF YKk0p/oaWSHYYE3R/XXghkwOXNsW+4Rg6dnX2usDQ9vpm3cn/7bbUMLPUrAFGPopXXuA LsTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=D7sqeNeM; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ux18-20020a170907cf9200b0094a01a24351si11306628ejc.462.2023.04.12.13.05.23; Wed, 12 Apr 2023 13:05:48 -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=@ti.com header.s=ti-com-17Q1 header.b=D7sqeNeM; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229491AbjDLT5P (ORCPT + 99 others); Wed, 12 Apr 2023 15:57:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjDLT5O (ORCPT ); Wed, 12 Apr 2023 15:57:14 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 869A3172C; Wed, 12 Apr 2023 12:57:12 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33CJuvOS026756; Wed, 12 Apr 2023 14:56:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681329417; bh=55PrKKkIhQxvxBSsvZXp9quQx6wpWtCaUKyGDu8YdYQ=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=D7sqeNeMjgmr2g37OFHpk0rMpmsOAaqGjTcLecZFyT5FNX3P6fkO/ClMYVp5grwO0 ETVqn4QUg/UmfZZ/i+bTjumm/lkIdnbA5fqaoMqQM/U6jQQ3v+SZu/jhrat4gAsXW+ f9H6mbqQ2Nx3WOlFusHyC7U3dTlVut4Zn8dV6puY= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33CJuvt4077086 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Apr 2023 14:56:57 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 12 Apr 2023 14:56:56 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 12 Apr 2023 14:56:56 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33CJuuLm074122; Wed, 12 Apr 2023 14:56:56 -0500 Date: Wed, 12 Apr 2023 14:56:56 -0500 From: Nishanth Menon To: Udit Kumar CC: , , , , , , , , , Subject: Re: [PATCH] arm64: dts: ti: k3-j721s2-main: fix msmc node Message-ID: <20230412195656.a53nalvjuhelniz4@populace> References: <20230412173609.1307837-1-u-kumar1@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230412173609.1307837-1-u-kumar1@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 On 23:06-20230412, Udit Kumar wrote: > On J721S2 SOC, l3cache-sram size is configured as zero by > system firmware. > Also top 64K of msmc_ram (0x703F_0000 to 0x703F_FFFF) is used by system > firmware tifs-sram. > > This patch removes l3cache-sram node and update range for tifs-sram. > > Fixes: b8545f9d3a54 ("arm64: dts: ti: Add initial support for J721S2 SoC") > > Signed-off-by: Udit Kumar > --- > arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi > index 2dd7865f7654..cbc784f915a9 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi > @@ -17,13 +17,10 @@ atf-sram@0 { > reg = <0x0 0x20000>; > }; > > - tifs-sram@1f0000 { > - reg = <0x1f0000 0x10000>; > + tifs-sram@3f0000 { > + reg = <0x3f0000 0x10000>; > }; > > - l3cache-sram@200000 { > - reg = <0x200000 0x200000>; > - }; > }; > > gic500: interrupt-controller@1800000 { > -- > 2.34.1 > Are you saying that j721s2 is incapable of l3 cache? say some level 1 errata? or is it because, the chip is really capable of l3 cache and we are really setting it to 0? https://git.ti.com/cgit/k3-image-gen/k3-image-gen/tree/soc/j721s2/evm/board-cfg.c#n71 unless the chip has an errata, you are supposed to fix it up based on configuration by using the API and this patch is a NAK https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html#tisci-query-msmc -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D