🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25740

[PATCH net v3 4/4] net: ethernet: ti: cpsw_ale: verify ALE table reads

#25740
From: Manuel Janocha via B4 Relay
Date: Wed, 02 Dec 2026 10:29
344 lines
23237 bytes
From: Manuel Janocha <manuel.janocha@amperfied.com>

On the AM64 CPSW3G ALE (am64-cpswxg, as used on AM62x/AM625) a read of
an ALE table entry occasionally returns the contents of a different
table index, or all zeros, although the access sequence is the
documented one and is serialized by the ALE lock. Reading the data
words again does not help, the wrong value is latched; writing the
index to ALE_TBLCTL again and then reading returns the right entry.

The TRM states that after a write to ALE_TBLCTL any access to an ALE
register is stalled until the table operation completes, so software is
not expected to wait or poll. TI tracks the same symptom for the J7
CPSW ("j721e-cpswxg") as EXT_EP-12856, unresolved, with the workaround
to trigger the read twice. The evidence in this patch is only for the
am64-cpswxg ALE on AM625. The J7 variant was not tested and is left
alone.

A wrong read is not harmless: when the entry at the index of the
untagged VLAN reads as free, cpsw_ale_match_free() hands that index out
and the next multicast address overwrites the VLAN entry. Untagged
receive on the port is then dead until the link goes down and up again.

In testing, either the first or the second of two consecutive reads was
the wrong one, so taking the second read is not sufficient. Add the
feature flag CPSW_ALE_F_TBL_READ_VERIFY and set it only for
am64-cpswxg. With the flag, read every entry twice, each time after
writing the index, and retry until both reads match. Every table read
then costs two index writes and six data reads instead of one and
three, and the loops over the table hold the ALE lock correspondingly
longer. Without the flag a read is one index write and one read of the
data words, as before.

After four unsuccessful tries warn (ratelimited) and return -EIO. The
callers leave the hardware entry alone in that case:

 - cpsw_ale_match_addr() and cpsw_ale_match_vlan() return -EIO at once.
   Skipping the entry would turn a match into "not found" and create a
   duplicate entry. The add functions return -EIO without allocating a
   free slot or writing, the delete functions return -EIO instead of
   -ENOENT.
 - The add, delete and modify functions that read a matched entry
   return -EIO if that read fails.
 - cpsw_ale_match_free() and cpsw_ale_find_ageable() skip the
   unreadable index.
 - cpsw_ale_flush_multicast(), cpsw_ale_set_unreg_mcast() and
   cpsw_ale_set_allmulti() skip the unreadable index and do not write
   it back.
 - cpsw_ale_dump() cannot report an error and keeps what was read.

The check has a limit: two reads that latch the same wrong value are not
detected. In testing the two reads of a failing pair differed. The
give-up path was not seen on hardware.

Testing: AM625 board (PHYTEC phyCORE-AM62x, two CPSW ports in dual
EMAC mode with VLAN interfaces), reproducer as in the earlier
patch (multicast joins and leaves on both ports plus VLAN add and
delete, 120 seconds per run). On the TI vendor kernel 6.18, which has
the same table access code, the lock patch alone failed in 1 of 29 runs
and this patch alone, without the lock, failed in the first run with
torn entries. With both patches 400 runs passed, and the retry corrected
mismatching reads at index 0 and index 64. On net v7.4-rc3 with both
patches 60 runs passed.

Those runs used v2 of this patch (verification for all variants, no
error return). This version was run with the whole series on net
v7.4-rc3: 60 runs passed (about 309000 multicast joins and 1196 VLAN
add/delete cycles in total), lockdep stayed silent and the give-up
warning did not appear.

Tooling: this patch and its changelog were prepared with an AI coding
assistant (Claude).

Fixes: 1dd3841033b3 ("net: ti: cpsw_ale: add driver data for AM64 CPSW3g")
Signed-off-by: Manuel Janocha <manuel.janocha@amperfied.com>
---
 drivers/net/ethernet/ti/cpsw_ale.c | 117 +++++++++++++++++++++++++++++--------
 1 file changed, 92 insertions(+), 25 deletions(-)

diff --git a/drivers/net/ethernet/ti/cpsw_ale.c b/drivers/net/ethernet/ti/cpsw_ale.c
index 69861d451ce4..d2a718ebdf60 100644
--- a/drivers/net/ethernet/ti/cpsw_ale.c
+++ b/drivers/net/ethernet/ti/cpsw_ale.c
@@ -81,6 +81,7 @@ struct ale_entry_fld {
 enum {
 	CPSW_ALE_F_STATUS_REG = BIT(0), /* Status register present */
 	CPSW_ALE_F_HW_AUTOAGING = BIT(1), /* HW auto aging */
+	CPSW_ALE_F_TBL_READ_VERIFY = BIT(2), /* Table reads must be verified */
 
 	CPSW_ALE_F_COUNT
 };
@@ -339,19 +340,50 @@ static inline void cpsw_ale_set_addr(u32 *ale_entry, const u8 *addr)
 		cpsw_ale_set_field(ale_entry, 40 - 8*i, 8, addr[i]);
 }
 
-static int cpsw_ale_read(struct cpsw_ale *ale, int idx, u32 *ale_entry)
+/*
+ * A table read occasionally returns the entry of another index or all
+ * zeros. Reading the data words again does not help, but writing the
+ * index again and reading returns the right entry. Either of two
+ * consecutive reads can be the wrong one, so read twice and compare.
+ */
+#define ALE_TABLE_READ_RETRIES	4
+
+static void cpsw_ale_read_entry(struct cpsw_ale *ale, int idx, u32 *ale_entry)
 {
 	int i;
 
-	WARN_ON(idx > ale->params.ale_entries);
-
 	writel_relaxed(idx, ale->params.ale_regs + ALE_TABLE_CONTROL);
 
 	for (i = 0; i < ALE_ENTRY_WORDS; i++)
 		ale_entry[i] = readl_relaxed(ale->params.ale_regs +
 					     ALE_TABLE + 4 * i);
+}
 
-	return idx;
+/* Returns idx, or -EIO if the entry could not be read reliably */
+static int cpsw_ale_read(struct cpsw_ale *ale, int idx, u32 *ale_entry)
+{
+	u32 prev[ALE_ENTRY_WORDS];
+	int tries;
+
+	WARN_ON(idx > ale->params.ale_entries);
+
+	if (!(ale->features & CPSW_ALE_F_TBL_READ_VERIFY)) {
+		cpsw_ale_read_entry(ale, idx, ale_entry);
+		return idx;
+	}
+
+	for (tries = 0; tries < ALE_TABLE_READ_RETRIES; tries++) {
+		cpsw_ale_read_entry(ale, idx, prev);
+		cpsw_ale_read_entry(ale, idx, ale_entry);
+		if (!memcmp(prev, ale_entry, sizeof(prev)))
+			return idx;
+	}
+
+	dev_warn_ratelimited(ale->params.dev,
+			     "ALE table read of entry %d did not stabilize\n",
+			     idx);
+
+	return -EIO;
 }
 
 static int cpsw_ale_write(struct cpsw_ale *ale, int idx, u32 *ale_entry)
@@ -378,7 +410,8 @@ static int cpsw_ale_match_addr(struct cpsw_ale *ale, const u8 *addr, u16 vid)
 	for (idx = 0; idx < ale->params.ale_entries; idx++) {
 		u8 entry_addr[6];
 
-		cpsw_ale_read(ale, idx, ale_entry);
+		if (cpsw_ale_read(ale, idx, ale_entry) < 0)
+			return -EIO;
 		type = cpsw_ale_get_entry_type(ale_entry);
 		if (type != ALE_TYPE_ADDR && type != ALE_TYPE_VLAN_ADDR)
 			continue;
@@ -397,7 +430,8 @@ static int cpsw_ale_match_vlan(struct cpsw_ale *ale, u16 vid)
 	int type, idx;
 
 	for (idx = 0; idx < ale->params.ale_entries; idx++) {
-		cpsw_ale_read(ale, idx, ale_entry);
+		if (cpsw_ale_read(ale, idx, ale_entry) < 0)
+			return -EIO;
 		type = cpsw_ale_get_entry_type(ale_entry);
 		if (type != ALE_TYPE_VLAN)
 			continue;
@@ -413,7 +447,8 @@ static int cpsw_ale_match_free(struct cpsw_ale *ale)
 	int type, idx;
 
 	for (idx = 0; idx < ale->params.ale_entries; idx++) {
-		cpsw_ale_read(ale, idx, ale_entry);
+		if (cpsw_ale_read(ale, idx, ale_entry) < 0)
+			continue;
 		type = cpsw_ale_get_entry_type(ale_entry);
 		if (type == ALE_TYPE_FREE)
 			return idx;
@@ -427,7 +462,8 @@ static int cpsw_ale_find_ageable(struct cpsw_ale *ale)
 	int type, idx;
 
 	for (idx = 0; idx < ale->params.ale_entries; idx++) {
-		cpsw_ale_read(ale, idx, ale_entry);
+		if (cpsw_ale_read(ale, idx, ale_entry) < 0)
+			continue;
 		type = cpsw_ale_get_entry_type(ale_entry);
 		if (type != ALE_TYPE_ADDR && type != ALE_TYPE_VLAN_ADDR)
 			continue;
@@ -466,7 +502,8 @@ int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid)
 
 	spin_lock_bh(&ale->lock);
 	for (idx = 0; idx < ale->params.ale_entries; idx++) {
-		cpsw_ale_read(ale, idx, ale_entry);
+		if (cpsw_ale_read(ale, idx, ale_entry) < 0)
+			continue;
 		ret = cpsw_ale_get_entry_type(ale_entry);
 		if (ret != ALE_TYPE_ADDR && ret != ALE_TYPE_VLAN_ADDR)
 			continue;
@@ -524,6 +561,10 @@ int cpsw_ale_add_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
 
 	spin_lock_bh(&ale->lock);
 	idx = cpsw_ale_match_addr(ale, addr, (flags & ALE_VLAN) ? vid : 0);
+	if (idx == -EIO) {
+		spin_unlock_bh(&ale->lock);
+		return -EIO;
+	}
 	if (idx < 0)
 		idx = cpsw_ale_match_free(ale);
 	if (idx < 0)
@@ -549,7 +590,7 @@ int cpsw_ale_del_ucast(struct cpsw_ale *ale, const u8 *addr, int port,
 	idx = cpsw_ale_match_addr(ale, addr, (flags & ALE_VLAN) ? vid : 0);
 	if (idx < 0) {
 		spin_unlock_bh(&ale->lock);
-		return -ENOENT;
+		return idx;
 	}
 
 	cpsw_ale_set_entry_type(ale_entry, ALE_TYPE_FREE);
@@ -567,8 +608,14 @@ int cpsw_ale_add_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask,
 
 	spin_lock_bh(&ale->lock);
 	idx = cpsw_ale_match_addr(ale, addr, (flags & ALE_VLAN) ? vid : 0);
-	if (idx >= 0)
-		cpsw_ale_read(ale, idx, ale_entry);
+	if (idx == -EIO) {
+		spin_unlock_bh(&ale->lock);
+		return -EIO;
+	}
+	if (idx >= 0 && cpsw_ale_read(ale, idx, ale_entry) < 0) {
+		spin_unlock_bh(&ale->lock);
+		return -EIO;
+	}
 
 	cpsw_ale_set_vlan_entry_type(ale_entry, flags, vid);
 
@@ -608,10 +655,13 @@ int cpsw_ale_del_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask,
 	idx = cpsw_ale_match_addr(ale, addr, (flags & ALE_VLAN) ? vid : 0);
 	if (idx < 0) {
 		spin_unlock_bh(&ale->lock);
-		return -ENOENT;
+		return idx;
 	}
 
-	cpsw_ale_read(ale, idx, ale_entry);
+	if (cpsw_ale_read(ale, idx, ale_entry) < 0) {
+		spin_unlock_bh(&ale->lock);
+		return -EIO;
+	}
 
 	if (port_mask) {
 		mcast_members = cpsw_ale_get_port_mask(ale_entry,
@@ -667,8 +717,10 @@ static int __cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port_mask,
 	int idx;
 
 	idx = cpsw_ale_match_vlan(ale, vid);
-	if (idx >= 0)
-		cpsw_ale_read(ale, idx, ale_entry);
+	if (idx == -EIO)
+		return -EIO;
+	if (idx >= 0 && cpsw_ale_read(ale, idx, ale_entry) < 0)
+		return -EIO;
 
 	cpsw_ale_set_entry_type(ale_entry, ALE_TYPE_VLAN);
 	cpsw_ale_set_vlan_id(ale_entry, vid);
@@ -763,10 +815,13 @@ int cpsw_ale_vlan_del_modify(struct cpsw_ale *ale, u16 vid, int port_mask)
 	idx = cpsw_ale_match_vlan(ale, vid);
 	if (idx < 0) {
 		spin_unlock_bh(&ale->lock);
-		return -ENOENT;
+		return idx;
 	}
 
-	cpsw_ale_read(ale, idx, ale_entry);
+	if (cpsw_ale_read(ale, idx, ale_entry) < 0) {
+		spin_unlock_bh(&ale->lock);
+		return -EIO;
+	}
 
 	cpsw_ale_vlan_del_modify_int(ale, ale_entry, vid, port_mask);
 	cpsw_ale_write(ale, idx, ale_entry);
@@ -785,10 +840,13 @@ int cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port_mask)
 	idx = cpsw_ale_match_vlan(ale, vid);
 	if (idx < 0) {
 		spin_unlock_bh(&ale->lock);
-		return -ENOENT;
+		return idx;
 	}
 
-	cpsw_ale_read(ale, idx, ale_entry);
+	if (cpsw_ale_read(ale, idx, ale_entry) < 0) {
+		spin_unlock_bh(&ale->lock);
+		return -EIO;
+	}
 
 	/* if !port_mask - force remove VLAN (legacy).
 	 * Check if there are other VLAN members ports
@@ -825,8 +883,14 @@ int cpsw_ale_vlan_add_modify(struct cpsw_ale *ale, u16 vid, int port_mask,
 
 	spin_lock_bh(&ale->lock);
 	idx = cpsw_ale_match_vlan(ale, vid);
-	if (idx >= 0)
-		cpsw_ale_read(ale, idx, ale_entry);
+	if (idx == -EIO) {
+		spin_unlock_bh(&ale->lock);
+		return -EIO;
+	}
+	if (idx >= 0 && cpsw_ale_read(ale, idx, ale_entry) < 0) {
+		spin_unlock_bh(&ale->lock);
+		return -EIO;
+	}
 
 	vlan_members = cpsw_ale_vlan_get_fld(ale, ale_entry,
 					     ALE_ENT_VID_MEMBER_LIST);
@@ -866,7 +930,8 @@ void cpsw_ale_set_unreg_mcast(struct cpsw_ale *ale, int unreg_mcast_mask,
 
 	spin_lock_bh(&ale->lock);
 	for (idx = 0; idx < ale->params.ale_entries; idx++) {
-		cpsw_ale_read(ale, idx, ale_entry);
+		if (cpsw_ale_read(ale, idx, ale_entry) < 0)
+			continue;
 		type = cpsw_ale_get_entry_type(ale_entry);
 		if (type != ALE_TYPE_VLAN)
 			continue;
@@ -932,7 +997,8 @@ void cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti, int port)
 	for (idx = 0; idx < ale->params.ale_entries; idx++) {
 		int vlan_members;
 
-		cpsw_ale_read(ale, idx, ale_entry);
+		if (cpsw_ale_read(ale, idx, ale_entry) < 0)
+			continue;
 		type = cpsw_ale_get_entry_type(ale_entry);
 		if (type != ALE_TYPE_VLAN)
 			continue;
@@ -1518,7 +1584,8 @@ static const struct cpsw_ale_dev_id cpsw_ale_id_match[] = {
 	},
 	{
 		.dev_id = "am64-cpswxg",
-		.features = CPSW_ALE_F_STATUS_REG | CPSW_ALE_F_HW_AUTOAGING,
+		.features = CPSW_ALE_F_STATUS_REG | CPSW_ALE_F_HW_AUTOAGING |
+			    CPSW_ALE_F_TBL_READ_VERIFY,
 		.reg_fields = ale_fields_cpsw_nu,
 		.num_fields = ARRAY_SIZE(ale_fields_cpsw_nu),
 		.vlan_entry_tbl = vlan_entry_k3_cpswxg,

-- 
2.34.1
Technical Details
Message-ID: <20261202-cpsw-ale-lock-v3-4-b40dc361d6b9@amperfied.com>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375726-linux-kernel-netdev=dewy.ru
References: <20261202-cpsw-ale-lock-v3-0-b40dc361d6b9@amperfied.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375726-linux-kernel-netdev=dewy.ru
From: devnull+manuel.janocha.amperfied.com@kernel.org (Manuel Janocha via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net v3 4/4] net: ethernet: ti: cpsw_ale: verify ALE table
 reads
Date: Wed, 02 Dec 2026 10:29:30 +0000
Organization: Usenet Network
Message-ID: <20261202-cpsw-ale-lock-v3-4-b40dc361d6b9@amperfied.com>
References: <20261202-cpsw-ale-lock-v3-0-b40dc361d6b9@amperfied.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1949889"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:3VLPxkyhQAU6waHaMR+DNlPtenE= sha256:kJxWHOqIDviQdkFG1pXJRsA7nYtQD4YxSkyuisHPMnM=
	sha1:dpJ+whZZ4q93GsY8HTAas1TrMJM= sha256:DvxxaXn4f1Y853iJYO69uKZrJq8PFXcM/dIm2Kds2Ns=
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 369E5117603; Wed,  2 Dec 2026 13:30:12 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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=kernel.org
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 zM2Q_l8oOTeN;
	Wed,  2 Dec 2026 13:30:09 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-375726-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 90F201175FC; Wed,  2 Dec 2026 13:29:56 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id B4653207F9; Wed,  2 Dec 2026 10:29:50 +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=1796207385;
	b=eJ2T4AiCiGY1cwBwhQCADTvK7J84hBJhwepGSz73hPLtVGYwETcLg8BDdBObkXAFiw+D
	 0UIs/4zFis1XzgAa6EK4KKxGkI+Y9maIgVrzaZVfhra2vTONXaYFFOGcr8bavwvPRL/X0
	 7Uod45HpmqR5bQbaE1anPGuyRnwvJWiq5C4CrVSO7scWoFLUamLcpyfTMtbWvGksIQf4L
	 lSBlvz1qwQOiUavifyYsiyi8I7rOxGLSESyT0VZUWUlWb/BChXjcZTM0RGs6wXGsGJWXL
	 5602cLlSD/oEKn3CWr2bQSbuQFFLQ8ttwQVcQ78kIP1BI9zlD+o5NF0fidn4ZTZz7rQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796207385;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:From:Date:
	 Subject:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=G2KFI+f1sMYBuh9wWubOplrfF0QgexWPWI+GQ6J15qM=;
	b=uNv+HFXjhAyncizWkyJLyzXgBZrZJ6yEM//39Awt6QiFphOa3o6YowYGLMg2tUvDP4a6
	 jutTxEasln5QhARHRYItwDzIdo0UTKFv/yUPJ3Ljtshz9DsfpwwLAjPqo/KUHL+7uOrLd
	 YZc7Z6F4izKRch/PFkbfQ/mpFdjij4WbMU3+K1Bzk7RjRjDUNlL8JxW2LXARAzAsJAg5H
	 /ESM4vdCtnousU5AUCqWkjme/RoII3wS4PpdsajeekkPeaOP9xheBEChd4kShkT8Fba/r
	 L9oh0i68rF1LBkrR7CM5+Ejt70x1Fl5zrZZjZVP7SsWRfcl2ncZcJgMb80wbmavERFw==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=W6n1ytYj;
	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 8F875606A337;
	Wed,  2 Dec 2026 10:29:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=W6n1ytYj
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796207384;
	b=NTnlVxhA0ysBAf/jcqdVEMZtRfrucRa2glXsv9xoDZW433kGiln00xz2gGC9vrUcO2k7
	 GeZJcgGtUB63eOBFDCzhlLOi0jnWdoV5AbkgDzgFYi+t8sgKHQK0j1Tx9bBI5bnlr+70o
	 3RfzC6OCZfz0wVyFSMK1GNRX4TPIcXmCjqK97AsU8zOs9RBemu/WJqJXiOjF3rm+2xsBQ
	 6K78YGhWGHg9+UmvlkpnMuKL1B8rv3cAryW4NfnHAEkcS4H9Nw7DQMIS9/Hh3vZtJ20eE
	 hrjS/YDfMJd/pnd5ZhlWbDzO9pTYeCJ/oaQgOBN+jXCJ4DUK2RMkRotc9nplc+VSXwg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796207384;
	h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version:
	 Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=G2KFI+f1sMYBuh9wWubOplrfF0QgexWPWI+GQ6J15qM=;
	b=0Ix71DafDAesSkV0nBYLsozLDfpW0kBKMrbZk7tc5u7xaN6j5t+Htu78d98QJspdScSe
	 IbDtsBSNpwv5Jj/Lx4GUcYaSaoX+pMj80nc3d5a4QsEfWOimSCbPHzop/ftWXXlWEICOZ
	 wiGiy54ZbkKCHRLrnlI/foxKYj6pTVzTticqxuRpszJJMHuJi9sAkUKsi2ofYBKeo426b
	 g7XsDJ8dH7DDgF/+zAPcEA8ncVhsYobP0nLRL5D8zauOi7qlgu/0JiSYhYThav0+xIdb2
	 HL59vp9qjUaF2f9eKWEqsZnjrZCzPOf5LVG+KTfj3M60qXK2sY+h8sAQNEY6SWup+Ow==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=W6n1ytYj;
	arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB838606A32D;
	Wed,  2 Dec 2026 10:29:44 +0000 (UTC)
X-Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77
X-ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none;
	t=1796207384;
	b=uMHJLn7prpMcnPRofFvM90W2ynQJaJDSJmRXHo+6RvaKT/3c99BEqCeXbIMNJKAIyVSN
	 tPEFuwPuV1mGDgXn2Yqisjz4hiKrX+cHmAfK10dS3wo5K6xvRdUG3ciFlMSHG+QfloN0u
	 NEdgy07T9L+FRtcGsVwd7gSv+Tno5TYsAbDxjIxRuOTywT9zSUzoDAiZ9zk1ntLLFG1tY
	 s7+Q7DZT46ABacpeidga76DNZiZpg7amajQ0xHx6PATvZzgzZeiVAePIDCPOG2m5P7Fh9
	 TYA42ImlulE7lHQ3m37A1wN+q5bgKKmzqW93AAJ34U8h0gT3siGyjvucohNzqJmkaXw==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1796207384;
	h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=G2KFI+f1sMYBuh9wWubOplrfF0QgexWPWI+GQ6J15qM=;
	b=IWhV+vspWeheUo6UynrQCz5wq4YPLhTaBCrw1g6YbzJ/823UR7OasgD+gJN/+X1zEo6k
	 WTe1cJ/W0MTgKDbhuFCB5+rU/gZZX+tai3CtjAGWbVqhocy1VhERoMf/ZdJCgryQhs+Le
	 PZB9WsWKMIfzmZJXSMJ+Uj6vR0d4dfyDPrKuw6+oAwyEEKeMfXa0kfCCsmZMaVph4jhHI
	 E39Mko2mFlaWMNkZueVvzcs6Di7FepHGfE4UzWlVUcubweHb18eq9/DfFnfK8M/UPaObM
	 1JDsrKpjLW3dAb9LTZaSH2N1+ZgTKKah7/Ed86sjSPUc1A00fPHmmwSTT/maHdurWkg==
X-ARC-Authentication-Results: i=1; smtp.kernel.org; 
	arc=none smtp.remote-ip=100.80.115.77
X-Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.kernel.org (Postfix) with ESMTPS id 0BB711F0089F;
	Wed,  2 Dec 2026 10:29:31 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796207384;
	bh=G2KFI+f1sMYBuh9wWubOplrfF0QgexWPWI+GQ6J15qM=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=W6n1ytYjCp6WZCiVtHmc9XAvR1LRDwBG5gAGKKqIp3G2mIg9vRE1trPLqZ2IgG2RX
	 +rJsJFtackqYZeceWZNFSNaMS4ZcR129h9XOyjaZmwOpZyyKL/Wb13qmO1Uv6RK+hA
	 j4MDviGUtiPjg/JPlZa3jvZfvn0J8BPwixYOZHgcahBMBf+kLPO8iAwgJbS7WsiweR
	 tZ29XijU8yXACbItMWRPlYabwMX2Z2PUiHogrEv9WmDao4bYu/aZW9LrNsCtH1P8ln
	 7Z+uxci0koFFy12YVXE9OwcycrTk6hfLtKxXISbHOChyHkDruZfI/F2MemeczXdEFf
	 NQrGVlehdu24Q==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id 1A8844F398;
	Wed,  2 Dec 2026 10:29:30 +0000 (UTC)
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-In-Reply-To: <20261202-cpsw-ale-lock-v3-0-b40dc361d6b9@amperfied.com>
X-Cc: linux-omap@vger.kernel.org, netdev@vger.kernel.org, 
 Kuniyuki Iwashima <kuniyu@google.com>, 
 Manuel Janocha <manuel.janocha@amperfied.com>
X-Mailer: b4 0.15.2
X-Developer-Signature: v=1; a=ed25519-sha256; t=1796207368; l=12830;
 i=manuel.janocha@amperfied.com; s=20261127; h=from:subject:message-id;
 bh=pQHDu88NptuiaPcOHfMHUoWeXdsgb3uFfXJrKQH/3OY=;
 b=ToTZMmYZJyKZBcGGWkhmgXe+BVvTRxwBGpToz624JFs/6Lv1QIpTDBjHSQoXhn4eGPOi7An0p
 SeER52SBgQGDHuuKJ0DOrhPxEXUWg/kzViMTWwP0wWrJ0DZ/ObtfYOV
X-Developer-Key: i=manuel.janocha@amperfied.com; a=ed25519;
 pk=DEqXiAa78UfHuuvMWJsylc0F41gl8N+i7WtqrDb4xCQ=
X-Endpoint-Received: by B4 Relay for manuel.janocha@amperfied.com/20261127
 with auth_id=1666
X-Original-From: Manuel Janocha <manuel.janocha@amperfied.com>
X-Reply-To: manuel.janocha@amperfied.com