🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18913

[PATCH v8 net-next 1/9] ptp: netc: use ioread64_lo_hi/iowrite64_lo_hi for 64-bit register access

#18913
From: wei.fang
Date: Thu, 19 Nov 2026 03:05
144 lines
22052 bytes
From: Wei Fang <wei.fang@nxp.com>

Replace the open-coded 64-bit register read/write sequences with
ioread64_lo_hi() and iowrite64_lo_hi() helpers. Introduce two new macros
netc_timer_rd64() and netc_timer_wr64() that wrap these helpers and use
them throughout the driver. This reduces boilerplate and makes the intent
of each operation clearer.

The high-half register defines (NETC_TMR_*_H) are kept to document the
register map; they are not used directly since netc_timer_rd/wr64()
address the 64-bit register pair via the low-half offset, relying on the
hardware layout where H is always at L + 4.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
---
 drivers/ptp/ptp_netc.c | 72 ++++++++++++------------------------------
 1 file changed, 21 insertions(+), 51 deletions(-)

diff --git a/drivers/ptp/ptp_netc.c b/drivers/ptp/ptp_netc.c
index 1a327a7561e39..25f059efc831f 100644
--- a/drivers/ptp/ptp_netc.c
+++ b/drivers/ptp/ptp_netc.c
@@ -127,6 +127,17 @@ struct netc_timer {
 
 #define netc_timer_rd(p, o)		netc_read((p)->base + (o))
 #define netc_timer_wr(p, o, v)		netc_write((p)->base + (o), v)
+
+/* The 64-bit timer registers consist of a low (L) and high (H) register pair.
+ * Hardware requires a strict access order: for writes, TMR_xxx_L must be
+ * written first, which latches the value into a shadow register; the write
+ * to TMR_xxx_H then atomically transfers both shadow registers into the live
+ * counter. For reads, TMR_xxx_L must be read first to capture a coherent
+ * snapshot. iowrite64_lo_hi() and ioread64_lo_hi() enforce this L-before-H
+ * ordering.
+ */
+#define netc_timer_rd64(p, o)		ioread64_lo_hi((p)->base + (o))
+#define netc_timer_wr64(p, o, v)	iowrite64_lo_hi(v, (p)->base + (o))
 #define ptp_to_netc_timer(ptp)		container_of((ptp), struct netc_timer, caps)
 
 static const char *const timer_clk_src[] = {
@@ -136,66 +147,28 @@ static const char *const timer_clk_src[] = {
 
 static void netc_timer_cnt_write(struct netc_timer *priv, u64 ns)
 {
-	u32 tmr_cnt_h = upper_32_bits(ns);
-	u32 tmr_cnt_l = lower_32_bits(ns);
-
-	/* Writes to the TMR_CNT_L register copies the written value
-	 * into the shadow TMR_CNT_L register. Writes to the TMR_CNT_H
-	 * register copies the values written into the shadow TMR_CNT_H
-	 * register. Contents of the shadow registers are copied into
-	 * the TMR_CNT_L and TMR_CNT_H registers following a write into
-	 * the TMR_CNT_H register. So the user must writes to TMR_CNT_L
-	 * register first. Other H/L registers should have the same
-	 * behavior.
-	 */
-	netc_timer_wr(priv, NETC_TMR_CNT_L, tmr_cnt_l);
-	netc_timer_wr(priv, NETC_TMR_CNT_H, tmr_cnt_h);
+	netc_timer_wr64(priv, NETC_TMR_CNT_L, ns);
 }
 
 static u64 netc_timer_offset_read(struct netc_timer *priv)
 {
-	u32 tmr_off_l, tmr_off_h;
-	u64 offset;
-
-	tmr_off_l = netc_timer_rd(priv, NETC_TMR_OFF_L);
-	tmr_off_h = netc_timer_rd(priv, NETC_TMR_OFF_H);
-	offset = (((u64)tmr_off_h) << 32) | tmr_off_l;
-
-	return offset;
+	return netc_timer_rd64(priv, NETC_TMR_OFF_L);
 }
 
 static void netc_timer_offset_write(struct netc_timer *priv, u64 offset)
 {
-	u32 tmr_off_h = upper_32_bits(offset);
-	u32 tmr_off_l = lower_32_bits(offset);
-
-	netc_timer_wr(priv, NETC_TMR_OFF_L, tmr_off_l);
-	netc_timer_wr(priv, NETC_TMR_OFF_H, tmr_off_h);
+	netc_timer_wr64(priv, NETC_TMR_OFF_L, offset);
 }
 
 static u64 netc_timer_cur_time_read(struct netc_timer *priv)
 {
-	u32 time_h, time_l;
-	u64 ns;
-
-	/* The user should read NETC_TMR_CUR_TIME_L first to
-	 * get correct current time.
-	 */
-	time_l = netc_timer_rd(priv, NETC_TMR_CUR_TIME_L);
-	time_h = netc_timer_rd(priv, NETC_TMR_CUR_TIME_H);
-	ns = (u64)time_h << 32 | time_l;
-
-	return ns;
+	return netc_timer_rd64(priv, NETC_TMR_CUR_TIME_L);
 }
 
 static void netc_timer_alarm_write(struct netc_timer *priv,
 				   u64 alarm, int index)
 {
-	u32 alarm_h = upper_32_bits(alarm);
-	u32 alarm_l = lower_32_bits(alarm);
-
-	netc_timer_wr(priv, NETC_TMR_ALARM_L(index), alarm_l);
-	netc_timer_wr(priv, NETC_TMR_ALARM_H(index), alarm_h);
+	netc_timer_wr64(priv, NETC_TMR_ALARM_L(index), alarm);
 }
 
 static u32 netc_timer_get_integral_period(struct netc_timer *priv)
@@ -500,22 +473,19 @@ static void netc_timer_handle_etts_event(struct netc_timer *priv, int index,
 					 bool update_event)
 {
 	struct ptp_clock_event event;
-	u32 etts_l = 0, etts_h = 0;
+	u64 etts = 0;
 
-	while (netc_timer_rd(priv, NETC_TMR_STAT) & TMR_STAT_ETS_VLD(index)) {
-		etts_l = netc_timer_rd(priv, NETC_TMR_ETTS_L(index));
-		etts_h = netc_timer_rd(priv, NETC_TMR_ETTS_H(index));
-	}
+	while (netc_timer_rd(priv, NETC_TMR_STAT) & TMR_STAT_ETS_VLD(index))
+		etts = netc_timer_rd64(priv, NETC_TMR_ETTS_L(index));
 
 	/* Invalid time stamp */
-	if (!etts_l && !etts_h)
+	if (!etts)
 		return;
 
 	if (update_event) {
 		event.type = PTP_CLOCK_EXTTS;
 		event.index = index;
-		event.timestamp = (u64)etts_h << 32;
-		event.timestamp |= etts_l;
+		event.timestamp = etts;
 		ptp_clock_event(priv->clock, &event);
 	}
 }
-- 
2.34.1
Technical Details
Message-ID: <20261119030534.1892935-2-wei.fang@oss.nxp.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366685-linux-kernel-netdev=dewy.ru
References: <20261119030534.1892935-1-wei.fang@oss.nxp.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366685-linux-kernel-netdev=dewy.ru
From: wei.fang@oss.nxp.com
Newsgroups: linux.kernel.netdev
Subject: [PATCH v8 net-next 1/9] ptp: netc: use ioread64_lo_hi/iowrite64_lo_hi for 64-bit register access
Date: Thu, 19 Nov 2026 11:05:26 +0800
Organization: Usenet Network
Message-ID: <20261119030534.1892935-2-wei.fang@oss.nxp.com>
References: <20261119030534.1892935-1-wei.fang@oss.nxp.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2772031"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:7GZz58GZAxYENiKMHu7ZlUxjReI= sha256:KXWM4JbBqn2TMo2VXAusKNOWXoVzThh6/sSGsGlwswM=
	sha1:VwVAAMm7qg9ISMB0ZPoWN7hxFBc= sha256:p/5BYkT9aJQsZZUvgt87a6u5DIIHRCOEX9OjN2QjeiE=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id ACF861154B9; Thu, 19 Nov 2026 06:01:14 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=nxp1.onmicrosoft.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id vNBWkNneE2pm;
	Thu, 19 Nov 2026 06:01:11 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-366685-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=oss.nxp.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 97FCE11541F; Thu, 19 Nov 2026 06:01:03 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id A7E4F767DF6; Thu, 19 Nov 2026 03:01:02 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795057255;
	b=3jQYxu6q8i+MGOMORVtpoqbfilL+aYEMK8zi/zcbP9OsC//emfxo6Wk8kGveODzmNBMu
	 0gniTZfPhDntWBrCExTiNlW7uUaRNbGSRwzKR4sR0H8XXjSUx6A9ntSLMYLqaQyuGSozg
	 FCSHVfg5GMvGY3htMn/iKq3fXiwDn5wsn2gWl1r+L1P2LjxlSTiAekQmf+ULUVpKV/Ycl
	 E/sRwHeVyHTDadE0PynfryJvkpimynAwXJO8xIRUpN9AvhZmMtnawZ8V+79dQ6MKTWqf9
	 9snkqXvWbBoRv9mTX8JDXE3eDaOtVsMKDf7TpPNN0nAo5Y4GL/uZIfQtN2ev05xNizw==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795057255;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Received:
	 From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References:
	 Content-Transfer-Encoding:Content-Type:X-ClientProxiedBy:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic:
	 X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck:
	 X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam:
	 X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report:
	 X-MS-Exchange-AntiSpam-MessageData-ChunkCount:
	 X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs:
	 X-MS-Exchange-CrossTenant-OriginalArrivalTime:
	 X-MS-Exchange-CrossTenant-FromEntityHeader:
	 X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType:
	 X-MS-Exchange-CrossTenant-UserPrincipalName:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=jkoVjUM/KHFuQNxlpqv/oGWYFlx4Sr/xeA2WCG78NHs=;
	b=CfOpa17bMOSvJwqnFcMTolUlY3pr1+0ZiKo0EwpTi58i68U+tXwHAWpQLh8StIWGx6dk
	 dlmByEhdZ49JCZUFFCBg6BAKH9PZ/P1JIjHy8rmUjN9TWqrgBWzzE68JyVg5tiF0520eN
	 e9en04XPohtUu2iT8EXZqkAOrWEFXuQ7JgjCmSuawDcWGMm7pPSjKPGGHKwezAz5jmvMB
	 tHETlBEvj6RfpK+dZhB+dYvQsyNE8gc9scpY59087XqzOv35fRsB9oS+ifkgJ2W751sxu
	 MGPpLG2/rih3Natwf41F+RSnpQORgtvPHRXfK9w6BO02yVvYxsAzT27orMuTD/rNf+w==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=VlcBN2L9;
	dmarc=pass header.from=oss.nxp.com;
	spf=pass smtp.mailfrom=oss.nxp.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BAA8606A325;
	Thu, 19 Nov 2026 03:00:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=VlcBN2L9
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.65.5
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795057249;
	b=HINPqilhzYv4+uSnLpae9wxpll+vyrsyVlr9ptzhiBCm3uDgfWqSHzvEZTTnB/rD7ZbN
	 ahEAsfg4o8DhVaoEBm0N27dh9YygQeE/EdyfRK4Kojn7pljxFcfwKno87rdWLbTTVIs9q
	 sAYhQiLkt6I1L64XLkgZc9+iKh0e7I1v+AiKPOMKhQEJGhdJ7Kz786idF7UZkCudaL1GP
	 uqvCi2aoj7xpd7T2lBUkbOVX1Fh28LsVWT39Sdmo5bZ7cwdydcz0pLryiuhZaL/9vhqwg
	 rYDhcCqlULsUnpadbtZKYjPMHCkH8KPJ84hIRnjxrrmgeSuUNZatmofbDZc27FbPeCA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795057249;
	h=DMARC-Filter:DKIM-Signature:Received:Received:From:To:Cc:Subject:
	 Date:Message-Id:X-Mailer:In-Reply-To:References:
	 Content-Transfer-Encoding:Content-Type:X-ClientProxiedBy:MIME-Version:
	 X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic:
	 X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck:
	 X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam:
	 X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report:
	 X-MS-Exchange-AntiSpam-MessageData-ChunkCount:
	 X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs:
	 X-MS-Exchange-CrossTenant-OriginalArrivalTime:
	 X-MS-Exchange-CrossTenant-FromEntityHeader:
	 X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType:
	 X-MS-Exchange-CrossTenant-UserPrincipalName:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=jkoVjUM/KHFuQNxlpqv/oGWYFlx4Sr/xeA2WCG78NHs=;
	b=b/ZX6HbJ/AdI7ydrc+T7AiF5bsE15zh8DeuKpHMbQhlXzzEVsd1S9KccKv6iqxbL3zx1
	 GJTXj4oJ7XfpQVRwfoPsfGxdIxfz84DOIxfPDs22JVwhdejDXangGE9pTn3Eof9nQkGXH
	 pX1mqs09VvUfKLWWHKMqpsz9AdqdKHs3ZlwCOMNsUFmsEIPW4T9FugqpjGJqAvmNG/AH1
	 uSOkwteOl1ORpGqzccAv3vzQnJbS6fw7VCtqsy8UbQkMnxVZDk6Ny0MFmnktaFrQEAMLD
	 MjTvE/bn3gtjp56QeCpgTgdOgM5DoIji1urnkztKvp+c19FKk/MsAERMXvhBNFKy99g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=oss.nxp.com;
	spf=pass smtp.mailfrom=oss.nxp.com;
	dkim=pass header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=VlcBN2L9;
	arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.65.5
X-Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11011005.outbound.protection.outlook.com [52.101.65.5])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4BD6606A335;
	Thu, 19 Nov 2026 03:00:48 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B4BD6606A335
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com
X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=eQqLCOoSSLADWdm4OzPm6m00DSLNF/CDRvMBSq7zcfIMaWxG6I91Q+ufddlTktT2kkCojzpyyYTrtLBr3jRV6YU3uG1egBoxUuxjvnToYpcRpUy3DMKvuw2hYY4OmJ3vTJNP/rCYTppuvwYlXfPB0g0eMi9SJ69+pQmFaicumHU75P778eBXAhTFh5ag0kF2WYnEfxeyIFzkOyQvM3mZbLsPTppTpJc6hewLEjzcXTTTSD+vRFMMid+GTtZs5Aig1wuneOUWKjRnCsEDCM+SM0TAAv++uY8RWZrtXoqfpVvoAEDqgFNq3dYh6O+MTZNLgjl456mAaO8oyob4D15QBQ==
X-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=jkoVjUM/KHFuQNxlpqv/oGWYFlx4Sr/xeA2WCG78NHs=;
 b=GD6Xn7b1L7lY1bq+8TF1hMVmSeQTrkQWsA+7MZ1rD7prKNhfdRCLW1OwcJMchxjzCFWLdvh7bEq6LpuuNdNLVDy+FwTpihcVMi7mi+M6wQDf18bier7zPxVGcyP9AtCrrjVTACfofBSV9oq9WOpqodz0T1bRFiaU6U51YEvRWgBD9gBjceU5J9P/WoiIopUoVtVPnabUaqgCyoAUrDkZit2VMYeDpbeE4cCn4UODblxIno8O7DTpYK0jYaLb6zEuPr20XhdmkzOMs82xKJMVl2lWPprurF57T4GaeEj259wIJWkIJEIXGYbhRSixr9ChBu9zSdtcDKwmXZch8tVcHA==
X-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
X-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=jkoVjUM/KHFuQNxlpqv/oGWYFlx4Sr/xeA2WCG78NHs=;
 b=VlcBN2L9P1oUXIHUQd4GYC+aKyttVt/KcyvWaqmiuqrCibxa7NwU9u3gG1K0qZmcH8FXtXc17xCJMxUfwZoDwAHWdsGIgN8hXyF1+mdfNeV64JEjB6olTsZq46iq24zrmjJN5r5XDysyHl+TlwtDftkbMpZDddt7oUPGfJQt3yX6QN0fZKDcbecYhZa8i/rCcnSSI78hVwwnUcBKGceg2ruxCHIkua8/vM3mAcjbN7UomYpguh3TiCbvrOVIS5kZZs6GtPUZ3IkiXdiewMZnLqgJDn9c47qIkBttAUg3y7qiqwko45GfmeDgifWC1Wc736GfhB6AqJEXjliQWKQgGQ==
X-Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=oss.nxp.com;
X-Received: from VE1PR04MB7216.eurprd04.prod.outlook.com (2603:10a6:800:1b0::22)
 by AM0PR04MB11880.eurprd04.prod.outlook.com (2603:10a6:20b:6fe::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.16; Thu, 19 Nov
 2026 03:00:46 +0000
X-Received: from VE1PR04MB7216.eurprd04.prod.outlook.com
 ([fe80::a9a5:cf83:dbe8:1f74]) by VE1PR04MB7216.eurprd04.prod.outlook.com
 ([fe80::a9a5:cf83:dbe8:1f74%6]) with mapi id 15.21.0639.010; Thu, 19 Nov 2026
 03:00:46 +0000
X-Cc: wei.fang@nxp.com,
	imx@lists.linux.dev,
	netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org,
	linux-arm-kernel@lists.infradead.org
X-Mailer: git-send-email 2.34.1
X-In-Reply-To: <20261119030534.1892935-1-wei.fang@oss.nxp.com>
X-ClientProxiedBy: SI2PR01CA0012.apcprd01.prod.exchangelabs.com
 (2603:1096:4:191::8) To VE1PR04MB7216.eurprd04.prod.outlook.com
 (2603:10a6:800:1b0::22)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: VE1PR04MB7216:EE_|AM0PR04MB11880:EE_
X-MS-Office365-Filtering-Correlation-Id: 8de3fe66-8ebe-45df-b5cf-08df45e94eb3
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: 	BCL:0;ARA:13230040|366016|23010399003|19092799006|7416014|376014|1800799024|22082099003|18002099003|261009223027099003|921020|11063799006|56012099006|261102123227099003|261026121527099003|261028144727099003|261026140227099003|261021123027099003|261021121427099003|261022075727099003|261022105027099003|10067099003;
X-Microsoft-Antispam-Message-Info: 	jOxp9vIoWdlBFKP240lU2xHkpJdaXyL5FQi/Of/ncjCcjAZr/0/5elqVw0p/HPk8t9NAbmH3EmNWprLCEKjHvCCeawZ6ESrczh1lGzYbHLEpxZmR9UhCX5lxlFDBjEzwDpM/6+JvipYiXzWwyZ3JW1AWK2aiPkzC64KDOkbJJXzQhyKG2RMINvh+FJHFdA2inFU9XlbOGxViNQIQIEsBnGJVSEK3Y2Pkkwvh8SfEy7HS6/CM/qqxPcp2xg4jAhUguZvEqN9ImzdWxxarvx04tA6T2RnRg8YzH8ReJ2BJmh/t2OwNs1HGgILRpmB5RavA6bx4D4Z1Obkz8MvwjJHctlLwjTpqho0eYQMAuWib33RwGLQPoNZGScr8zDbBaJz14cHRNBR/BFfdEvjA0K+sSsdZADMEcQhja3m2IlHdv67a0yrqJTuhjFYm/Ne/y0eKl4L29N65vqcz/CqfdnFrvqdfCgZp0e9ktXOBibQFVIxCxmtOwWeA9gagOR/mfnAGFs0bHG+skYjTRJbRoobjhBVX0QEs6JW3wuS/fWRgOX9SsrL4NkNnF1G6khws6T8/mZ+8hp1HaRSsBNzawZYv2u41uAxVcAENbbM4BQRkkgAtNFbER+nByu+ZRosN70GOaigzd3z5miYCFCleCSR4AFhyJyYKWPL3AYd5OMq9LVQbbg6G+2aHrSm3gTrvLrQYe+/ikQqWgTNG16FTXZoz/Q==
X-Forefront-Antispam-Report: 	CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB7216.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(23010399003)(19092799006)(7416014)(376014)(1800799024)(22082099003)(18002099003)(261009223027099003)(921020)(11063799006)(56012099006)(261102123227099003)(261026121527099003)(261028144727099003)(261026140227099003)(261021123027099003)(261021121427099003)(261022075727099003)(261022105027099003)(10067099003);DIR:OUT;SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: 	cJ8Uj2MgFFnP121zRdrtDs91vvEH/mggHMl5a6L/kpBa3JrcsRFhbI9qAIxqcVvFBe6qPSRP1+hCS6zIaz5WszaM1OCJS3i+9EIFF6OUYPEZryS5Bjo4qRwrry8/15SssVrN/T7c3cv7G8Nh+1pj0ILhIWOENidtUyzcaFGot2b08uolnQmW5QNeUs9HpvFooQhQkJR+MNisJJ0hGNrp9KrbEi1MeZbaGMXCwAopwYua+7aBKv90TiRuhTn2XwlflkUDtgOV20fpcqyzlZmvLcT+W1PMVcT6MR0chmR9I+LdxQRr62raRSyZqJnue690rzYFhXzCHdSNyyBVryoJy5Kj+gAJ7Rra5Q8Tj398BrSy3S36FxyAk4mw13Lv1r3hkn2J+YOrlGCnDgTf07rhQGU2IpNWg1wnNHVJR/8HvlpQZdnCKralRJrgoaJGhgOC0CzCHKQ4zR25mmAUXNrewPOrwxh+MX7x0QDF+PFG9nYbTnPpMatQ1OueAgDuZoG1DivDH+oyCTXFPVu/PkY8Co0hcEa59FXL9F8EWYjRtRahTtdYu0o0oFxldfe/m+nMGIvYDBg04F15gBonRCydkUa5rLnwBSjVik0v+kTPFZt4H5TpcP8/bKNX5YLgk4X4t9hSLBQgMQ3uZdHgpzk5ZWi0IPvkwuinfQL8jE2cncnHCfhsv4T+BFd8L5cdHz7wPPiCu4c8xVMseJ5TkamGMbXMBIOEcEW/PuqyGS+Rlqxu8D3rKmFQItMU9gUmAi0LlB2Y7SfnuUMf9Ha4h8DrdDcEIz8TZqxWn5ER5O0XC8TdQwB77l8DbmHjHXtso9P3zK/IbGV756+hNLrqx/AxSSK4UILrRHoIGrXQnH70F5DjhzHTike3TWCR0YDZdFvSxtEwbcxrn8Tkxbs+6/ZKbHIln6rRpK4StittECEuiWsjmUDqIGzHgdrFERuY+/2wU719DgX/SAEs/SGGVSamMEBvkDZVvBW4Xwu3KwoBGUEkUD8wxY9yWh7QFy6p1Ootp4jptEG+XMTZOAmAuc8TLk7wFvsrmo9DGNhrdk/Bwn8uCz4QNrSqpl5I8sSqcH6CGUbZdtoY9IkAVkaqSvuP5PBjTXjMsDdZqCg5lqpHtJrsDFeEZz/Tb7mEkm6GkBWriOXn7dmv/NysJwsAZLOgPsokClHYSYgb+iGtVQodVcBmqvpOjulTNO/5N9GUoB03S9F9DCdj9hGmYQqnxQGEyPWwTuJ7PUYes5lL0GB3pH+I2hgHUDHFrH4vupiqFKjAlnHVd9Dca8gbC1NtgwAH4+CnIy1akYEcV3xLfHHbuJzAbUjKWzxMFEcsZjlmJEzac8LxQYkqcSjipHs+LQHBixlp9S241OOcBd6j/hEqSXi5p4IKX2LWKi1qDM5BslH5+pCYgJHvl+Bq15OXcu6CofB871pnEfCm68KorHGKRXLEs0Ui8EHt45FuIeg986RgLSqWD8tgR1Ro4gtxnALkhnLdDl1TOpMxtEJeTy4tThRr3rS8t5FBjQ4YKiGmkc0bFVbmbUO5bpEg5Gce2O0DmaozmFFeU5eAUihC+C18GwrFDjkUp6ETYZazf9UmwNnOCpdttKhUtmnEyh1c2lwLLJ+Hs1rHXsZzqBpnSBA4CwIMKYl1l+BoVpiwmf9nU+g087GUbHz6oECISHwvwzda/tGjWfPdLH63tXd7pI6F5kC5PWqddgkTDopjzD1vzpzd7PRKhQ3oZhhQEDpGwHjeaBcEhK01ffT1kflsHA6ib9emdpMWe1w6t54s75DNCetY
X-OriginatorOrg: oss.nxp.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8de3fe66-8ebe-45df-b5cf-08df45e94eb3
X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB7216.eurprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Nov 2026 03:00:46.2221
 (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: lOU4VzrC7LA0hADqPkng2AFNUf2dlOGy+uECGRblbanfzHFM1BhCxhV527KcZJWMoio83yxetFsnARx4PYoOEIgUxx8CGNGnIgqkXuSZFbMEvQYnSqCGjNLJdOGDp4m8
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB11880