Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6190239rdb; Thu, 14 Dec 2023 10:34:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzMA0KqEuG3H6Pye3B8hJPQ4mkGu15nyMf+7z5LtGcbsSlQWIyd++OKphmxQg4HUEWnYwe X-Received: by 2002:a05:6a20:12c7:b0:18a:fbd1:8e6d with SMTP id v7-20020a056a2012c700b0018afbd18e6dmr5116872pzg.27.1702578858675; Thu, 14 Dec 2023 10:34:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702578858; cv=none; d=google.com; s=arc-20160816; b=przueqrvVL578R/wEr6JGMT4mvnLEtEOuUKxkbhbVLZp3ZAvrZVv80ju9Dc+nvpNLQ GTfVHJmYVSSicX+DWIavFkXOq9L5LBTgc500BN9khZEDPo5MdqJR/bXKyZvlxQMVPWvb 1wpTuLCzjtee+/yUHqVBybwD3jPLURelSm5I4hGJFGU40ygZoKrxT+1DnnAeWkwadsh5 /7+Np69Q36cE0wY6mcRRSC4wWlRF61pLPLpnD+Y+2N050m907XRKsc7wRFU27kovNRzW mze10Ve8yEOlsZKYmIhuZ6yhSJUfjqn5C9PQOq6GHf8R/McChuoJmXwDbpCC0bNYeJXb Jp6Q== 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=gh6wsVmxg2mdw23YLINnnRtb54FDmZeh9eGm3PU2HB8=; fh=m3UNtXA0PMtWKKZv7VMlqCQttvoF3x7z03UgMRLKhx0=; b=WyYTZgplcb2KZJmUv8LasEAR1+08s51QYyDCKrd/nBn9xT33EBj6Pu4v2vQSGiYUPh WHWdxIAE8EA6Loeb1VwwAF7Cv2Q3cuPnKNwWs2pX4YCVU5yIyyUGtqEYLIQaR3rSw4Jm LKKSQqlqskFSL/Bkl0u653lumvSo6sGQusdbts/Yb0fwGFAL97RbxgUwDjV1/0DQnc3H i94CXtvgWsn16xNIXd4fWrx4BOCurqjn1sI2oOsLwWLQCgm5lDhIGkp4hanV1ou37ipl ykXiaJEa1LEdgqMCk62hTG+Lx4Sna55mXkDnaHpllxIFTt8mC+uM5kKp5RuxsVx9xowX J+CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YNRAxn6N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id by32-20020a056a0205a000b005be1ee5bea2si12000476pgb.374.2023.12.14.10.34.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:34:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YNRAxn6N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5552881945B1; Thu, 14 Dec 2023 10:34:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229586AbjLNSeA (ORCPT + 99 others); Thu, 14 Dec 2023 13:34:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjLNSeA (ORCPT ); Thu, 14 Dec 2023 13:34:00 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94D74CF; Thu, 14 Dec 2023 10:34:04 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BEIXumW081352; Thu, 14 Dec 2023 12:33:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702578836; bh=gh6wsVmxg2mdw23YLINnnRtb54FDmZeh9eGm3PU2HB8=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=YNRAxn6N8nGXxxOZzwgnuKtKiw2T6hSJ14VYlNlUpn73iGLpOcfmsCfx2d2ucouKd h+rLRG0rAqYezA4BzQ3qd8t6ET4xMQtwCnrbj3hiJziU1GSZ1D6Aj8vRDDtq4f6Wb+ w4dzAA/6pWnEr/jLBzrFHSb8pjbl1DHhM/Ru+Xbc= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BEIXuYT020753 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Dec 2023 12:33:56 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 14 Dec 2023 12:33:56 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 14 Dec 2023 12:33:56 -0600 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BEIXuDU063957; Thu, 14 Dec 2023 12:33:56 -0600 Date: Thu, 14 Dec 2023 12:33:56 -0600 From: Nishanth Menon To: Andrew Davis CC: Vaishnav Achath , , , , , , , , , , Subject: Re: [PATCH 2/3] arm64: dts: ti: Introduce J722S family of SoCs Message-ID: <20231214183356.hi5d6cuqmqltiy6i@footnote> References: <20231213124930.3012-1-vaishnav.a@ti.com> <20231213124930.3012-3-vaishnav.a@ti.com> <20231213202705.6tspycl5qicb6gwd@germproof> <08eccba2-41df-91e7-c1e5-e03190402c23@ti.com> <20231214122713.qx7as6grpvlq3ylw@stoic> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 14 Dec 2023 10:34:14 -0800 (PST) On 09:43-20231214, Andrew Davis wrote: > On 12/14/23 6:27 AM, Nishanth Menon wrote: > > On 14:07-20231214, Vaishnav Achath wrote: > > [..] > > > > Trim this down to what is different from AM62P? > > > > > > > > > > Thanks for the review, I will trim this down in next revision, but the above is > > > just a summary of the main features of this SoC, pointing to AM62P feature set > > > here seems confusing to me. why does a new user/developer using J722S need to be > > > aware of the existence of AM62P to just understand a high level summary about > > > this device? > > > > Since this is a reuse device. Helps with review and focus on deltas. > > > > [...] > > > > > > > + l2_0: l2-cache0 { > > > > > + compatible = "cache"; > > > > > + cache-unified; > > > > > + cache-level = <2>; > > > > > + cache-size = <0x80000>; > > > > > + cache-line-size = <64>; > > > > > + cache-sets = <512>; > > > > > + }; > > > > > > > > ^^ this is a duplication of am62p5.dtsi? what about the spins with > > > > different CPUs enabled? > > > > > > > > > > Yes it is a duplicate, as of now we are not aware of plan for spins with cores > > > disabled, so just followed the pattern followed for other Jacinto devices > > > (J721e, J7200, J721s2, J784s4). > > > > None of the devices have been as close a reuse device as this has been. > > I'd argue J721e and J7200 are more similar in terms of reuse. It was a > mistake to model them as simple super/subsets of each other, only causes > confusion later. Let's keep at least this top level file, we will end up > using it more as more features/deltas are enabled/found. > yes, we do need a top level dtsi for the SoC. just minimize the amount of duplication. [...] > > > > > > [ 7.492406] platform 79000000.r5f: configured R5F for remoteproc mode > > > [ 7.499887] platform 79000000.r5f: device does not have reserved memory > > > regions, ret = -22 > > > [ 7.508271] k3_r5_rproc bus@f0000:bus@4000000:r5fss@79000000: reserved memory > > > init failed, ret = -22 > > > [ 7.517549] remoteproc remoteproc0: releasing 79000000.r5f > > > [ 7.523338] k3_r5_rproc bus@f0000:bus@4000000:r5fss@79000000: > > > k3_r5_cluster_rproc_init failed, ret = -22 > > > [ 7.532993] k3_r5_rproc: probe of bus@f0000:bus@4000000:r5fss@79000000 failed > > > with error -22 > > > > Yes, and the approach should rather be to disable the remote procs in > > the board or at the SoC dtsi in a consistent manner. I had previously > > suggested to do that SoC level (which means at am62p dtsi) since the remoteprocs have direct > > dependency on how the memory layouts are partitioned in board.dts - but > > i had asked folks working on remote procs to do that consistently across > > SoCs. I don't see that having been done so far. > > > > I fixed this for a couple SoCs way back last year (7e48b665100ee), seems > folks kept adding mailboxes/rprocs un-disabled in the base .dtbi for > new SoCs anyway :( This needs fixed in AM62p .dtsi first, then these > disables can be removed from here. > Yes, hence blocking it from here on. Cleanup, then add. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D