From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 20 Dec 2024 02:59:42 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tOSIo-00AGS3-0C for lore@lore.pengutronix.de; Fri, 20 Dec 2024 02:59:42 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tOSIn-0006yu-Qj for lore@pengutronix.de; Fri, 20 Dec 2024 02:59:42 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:Cc:To: Subject:Date:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UFb1udy6xT5bFcJqoKpd1Kw7nA9pyu7FskAsrkuvS1I=; b=dYWgRONwRycbtSW8IQi7RYpUEp lJRcrF8kE0oJ5Sumoo2JlxxpZtm+Rp5Jw+kHkvhVEVObuGvLrAuMfGIJj1Vqfyz8dUXOlTXPtoOA9 oBtMbgAbNXahi3npmZ3Guuq0pF8uc8rcHOfOudmqf8aZyXIvq96M9PN5mpxTrCeNtqhYwU5jcJSnE DhOLv5Y4Mzm1LpRo2+DCuPIZMW+yhGULxuQ6iZGZaUn7Hh6m+h3z3to9ZoGFPqC5NBckVD+jChFVs 2ZU3gnXHYPjNWZWJ5DYVJFmhdyGvnLwA68WMExXMn0OSmUWaDNWdM+H5EfBCe/dUum83tPcK/M/la a81qm5/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tOSI1-00000003gNW-3fSd; Fri, 20 Dec 2024 01:58:53 +0000 Received: from mail-am6eur05on20625.outbound.protection.outlook.com ([2a01:111:f403:2612::625] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tOSHy-00000003gME-0q0X for barebox@lists.infradead.org; Fri, 20 Dec 2024 01:58:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OIH0GJgJ3yuqU5p+aY9Cuttm4GexZW2NTclJ1WHGy4L/oPDwVAU7VolGLIwgyUKzhneeztG9z8CP8c7Tpy92A2iseJvCxDKMnbsr+3pYQdz0pxJu43J3gIVKOPN9+wt9BH2gw61IPcJNVHPBZrddVNjMhZgceR2ZRCYLy7HX2ldjj5zoyGnqtYYw/Gxtu33vPWwZjOBTmv0wXH0h4LanXLD30Rdwqhil4LtdUyS90610bILqIsqWGe/AZ+5TGYbNXXksh+uaQkW1tlWXetAA5OFz53IB5dtke9W5ZNV2DP86VWCOmgwgZoMrGp775sFCq1fWQtudBVa9nXtCICM6vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UFb1udy6xT5bFcJqoKpd1Kw7nA9pyu7FskAsrkuvS1I=; b=OjhkkQXDxm/VD8Aw2K2r5ep0tzdloL8PrBYHQWednhUjvaMqBZf0i8jU9+fx71Wqs3e4wXxexb9RI4S8STHhO0S4f9LquPYtLxznaTss1I0GrWXxGYSnlxpd7gRW7jrN3R0z0t68b6Syl0IpbcN7el3DJNCaEhprHd0pHoqk3IU5TpJ1JLS8BTj3fVwp61aHqFlKTBgLhY5C9lxM0xwphqEz/Q6+ke7R0SfP7yPlQNpNUwHQ3OSbX20MayWkN/FVMcL9yQBrOWU8/I9rZQRpgeTPw4iPQrgYkyqFI3fpvto2yYMSiVOzXhA2NFa9SWWecfNiWMNsbCRVvvUMF8OSdQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UFb1udy6xT5bFcJqoKpd1Kw7nA9pyu7FskAsrkuvS1I=; b=OgLH0XgFrWD+WZcy74axs5Sy7ouerPsnmY+cBBJke6C67KslmmU0e0PhiX7uB8b0Tb0tomemsyja+8EjS9MQOv7zZq1g3CH1bK9/08uWVg3PpsNmpvHpgRwJo/iQUB7TrS//ko2Na3qGzfpsBW/aIWj+uQJMQ7InANVeu3hG+UuYg9i4yA2qYfk0D+HWBPjDePEFlHyoAiq3ZfChN5hz1F+oXIXc73NI1vh50qlswCTKM7IAs1TfzfPnhV8AavzSQcpa39uXsfPQNxhqdGPiL9iQM268cqlgweGMD9tnvnJUp3XZ20fDks4nDcCXE4Ru5RI4rXMoolJN2Zj92sB/TQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AS4PR04MB9436.eurprd04.prod.outlook.com (2603:10a6:20b:4ec::5) by PA1PR04MB10179.eurprd04.prod.outlook.com (2603:10a6:102:460::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.16; Fri, 20 Dec 2024 01:58:44 +0000 Received: from AS4PR04MB9436.eurprd04.prod.outlook.com ([fe80::afae:fb35:fc8:5c90]) by AS4PR04MB9436.eurprd04.prod.outlook.com ([fe80::afae:fb35:fc8:5c90%5]) with mapi id 15.20.8272.005; Fri, 20 Dec 2024 01:58:44 +0000 Message-ID: Date: Fri, 20 Dec 2024 09:58:38 +0800 User-Agent: Mozilla Thunderbird To: Ahmad Fatoum , Peng Fan , "Peng Fan (OSS)" Cc: U-Boot Mailing List , "barebox@lists.infradead.org" , dl-uboot-imx , Steffen Trumtrar References: <8074530f-720b-4aea-934b-c0643c356617@pengutronix.de> <2200ece8-593b-4ac3-be3e-b05570165e5e@pengutronix.de> Content-Language: en-US From: Ye Li In-Reply-To: <2200ece8-593b-4ac3-be3e-b05570165e5e@pengutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR03CA0127.apcprd03.prod.outlook.com (2603:1096:4:91::31) To AS4PR04MB9436.eurprd04.prod.outlook.com (2603:10a6:20b:4ec::5) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR04MB9436:EE_|PA1PR04MB10179:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f7fb16e-6661-4e7d-a764-08dd2099d5c3 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?VlRsVU1DL2lyK09EaXRxM2pQa0wrSERvV0ROZXdXVmpRTXdXdlVYYkRGTGZM?= =?utf-8?B?VVJZTFZKM1hrOW4xcXI2bjVXcm83VE5GTmNKeWhqSnRSRGNxdTZJMmpkZDNk?= =?utf-8?B?Sml5cDhUUDN1cFBJWEhuNTBTWjVJVEhyYkxscXdhcWdHSlo4dlVqRmJaKytG?= =?utf-8?B?eVEyQkR3SFBtNzErUmJlU2F3QUl4b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DRQemV1KzFLekt1ejEzK3lRR3pRSGZnYU5vcHpQMFlRamV1N3BUN0xD?= =?utf-8?B?Y3NIOEY4YjA2UGVrS3Vkc3VmSnJyVnRsVW1oQ204d1YxVTVXZUdhbTZ0eW80?= =?utf-8?B?VENKSDZBTjNleWY3T05OWjVhVGdXb2QxRUptbi9jNlU0NFRxcW91YTRzSEhz?= =?utf-8?B?RjdURzVLeHZjN1hxand3Rk9wL3VxWmNPK1EzR2dKb0J3czNiLzhZdVRpSHJx?= =?utf-8?B?cUxXRmpWdk1TcTVOeTgydkdiVWcwMFlla1diSkNlWUI0SkdXc0pybXZEaXB3?= =?utf-8?B?QjJwN3gvNjR4MHBFbkRSOHdJUHhIZW5qQlJzUlZEUEJVTDI0Y01qYlVKc3FY?= =?utf-8?B?K1ZGRlljS3JESWt1U1F6YUE1SGdEd25kTmRneTZQaWg3bXRJcFh0aklLMGtT?= =?utf-8?Q?om4Ujvi8jNdzZW0N8TLV9lth6?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f7fb16e-6661-4e7d-a764-08dd2099d5c3 X-MS-Exchange-CrossTenant-AuthSource: AS4PR04MB9436.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2024 01:58:44.8804 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Oz5v7sqqlC/hcypgljhIr0d5yHkVj1lNElP5QAtMkv/0o66t49fgGjCFLKyTB4X4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10179 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241219_175850_259293_FD07EC8F X-CRM114-Status: GOOD ( 12.10 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: i.MX8/9: question about unused DDR PHY trained CSR board array X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) Hi Ahmad, On 12/19/2024 6:27 PM, Ahmad Fatoum wrote: > Hello Peng, > > On 30.09.24 08:38, Peng Fan wrote: >>> Subject: i.MX8/9: question about unused DDR PHY trained CSR board >>> array >>> Looking at the DDR setup code for i.MX8M and i.MX9 that you had >>> contributed, I am wondering about struct >>> dram_cfg_param::ddrphy_trained_csr and the global >>> ddrphy_trained_csr array. >>> >>> struct dram_cfg_param::ddrphy_trained_csr is presumably generated >>> by the i.MX DDR tool and it seems populated by all the i.MX8M/9 >>> boards in U-Boot. >>> >>> This struct member is wholly unused though and instead a global >>> ddrphy_trained_csr is used. >>> >>> What I wonder about is whether it's possible for the DDR tool to >>> generate a different ddrphy_trained_csr than the default: >>> >>> 1) If yes, we should drop the global ddrphy_trained_csr and actually >>> use >>> the board-specific array >>> >>> 2) If not, we should drop the board-specific array and perhaps ask for >>> the DDR tool to be changed >>> >>> I initially assumed 1) and because all boards supported by barebox had >>> a board-specific ddrphy_trained_csr that's identical to the global >>> ddrphy_trained_csr, I dropped the unused array[1][2]. >>> >>> I now have the DDR settings for an i.MX9 LPDDR4 board in front of me >>> that has different contents for struct >>> dram_cfg_param::ddrphy_trained_csr than the default. >>> >>> I will inquire how that came about, but in parallel I wanted to ask you if >>> this is supposed to happen and to alert you to this issue. >> Thanks for raising this issue. I think board specific csr should be used. >> >> I will check with DDR TOOL owners on this. > Did you hear back in the meantime? > > Thanks, > Ahmad We have discussed this internally. The DDR tool may generate different board specific csr. Currently in DDR retention, because we load csr + ddr_phy_pie, so it is safe to use this global csr. But we agree this global csr is confused and waste some memory. It is better to switch to the board csr. Best regards, Ye Li >>> The way things are, this is either a bug or a missed space saving >>> opportunity for U-Boot. >> Thanks, >> Peng. >> >> >