🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22008

[PATCH v5 1/4] drm/drm_ras: Reference-count nodes across netlink handlers

#22008
From: Zack McKevitt
Date: Tue, 24 Nov 2026 18:01
546 lines
29370 bytes
The drm_ras generic netlink family sets .parallel_ops = true, so its
handlers can run concurrently with each other and with
drm_ras_node_unregister(). Every handler looks a node up with a bare
xa_load() and then dereferences the returned pointer across GFP_KERNEL
allocations and sleeping driver callbacks, while drm_ras_node_unregister()
only calls xa_erase() and the driver frees the node immediately afterwards.
xa_load() only holds the RCU read lock for the duration of the walk, so the
node can be unregistered and freed while a handler is still using it.

Give each node a reference count. A node holds one reference for being
registered; drm_ras_node_get()/drm_ras_node_get_next() take an additional
reference under the xarray lock, which serialises them against the
xa_erase() in drm_ras_node_unregister() so the bump can never race with the
free. Handlers drop their reference with drm_ras_node_put() once they are
done touching the node. drm_ras_node_unregister() removes the node from
the xarray, drops the registration reference and waits for any in-flight
handler to drop theirs before returning, so the driver can still free the
node as soon as unregister() returns.

drm_ras_nl_error_event() is left unchanged: it is called by the driver with
its own node, whose lifetime the caller already guarantees.

Fixes: c36218dc49f5 ("drm/ras: Introduce the DRM RAS infrastructure over generic netlink")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://sashiko.dev/#/patchset/20261106181225.3333260-1-zachary.mckevitt@oss.qualcomm.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Signed-off-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
---
 drivers/gpu/drm/drm_ras.c | 239 +++++++++++++++++++++++++++++---------
 include/drm/drm_ras.h     |  16 +++
 2 files changed, 201 insertions(+), 54 deletions(-)

diff --git a/drivers/gpu/drm/drm_ras.c b/drivers/gpu/drm/drm_ras.c
index b099eb67836e..d0d6a3d20fb6 100644
--- a/drivers/gpu/drm/drm_ras.c
+++ b/drivers/gpu/drm/drm_ras.c
@@ -3,9 +3,11 @@
  * Copyright © 2026 Intel Corporation
  */
 
+#include <linux/completion.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
+#include <linux/refcount.h>
 #include <linux/xarray.h>
 #include <net/genetlink.h>
 
@@ -60,6 +62,21 @@
  * - drm_ras_node_unregister(): Removes a previously registered
  *   node from the xarray.
  *
+ * Node lifetime:
+ *
+ * The &drm_ras_nl_family uses &genl_family.parallel_ops, so netlink
+ * handlers may run concurrently with each other and with
+ * drm_ras_node_unregister(). Node memory is owned by the driver, which
+ * typically frees it right after drm_ras_node_unregister() returns. To make
+ * this safe, every handler looks a node up with drm_ras_node_get(), which
+ * takes a reference under the xarray lock, and drops it with
+ * drm_ras_node_put() once it is done touching the node. A node holds one
+ * reference for being registered; drm_ras_node_unregister() removes the node
+ * from the xarray (so no new lookups can find it), drops that registration
+ * reference, and then waits for any in-flight handlers to drop theirs before
+ * returning. The driver may therefore free the node as soon as
+ * drm_ras_node_unregister() returns.
+ *
  * Node type:
  *
  * - ERROR_COUNTER:
@@ -107,6 +124,75 @@ struct drm_ras_ctx {
 	unsigned long restart;
 };
 
+/**
+ * drm_ras_node_get() - Look up a RAS node by ID and take a reference
+ * @node_id: ID of the node to look up
+ *
+ * Looks the node up in the global xarray and, if found, takes a reference to
+ * it so that it cannot be freed while the caller is using it. The lookup and
+ * the reference bump happen under the xarray lock, which serialises them
+ * against the xa_erase() in drm_ras_node_unregister(): a node that is still
+ * present in the xarray is guaranteed to still hold its registration
+ * reference, so the bump can never operate on freed memory.
+ *
+ * The caller must drop the returned reference with drm_ras_node_put().
+ *
+ * Return: the referenced node, or NULL if no node with @node_id is registered.
+ */
+static struct drm_ras_node *drm_ras_node_get(u32 node_id)
+{
+	struct drm_ras_node *node;
+
+	xa_lock(&drm_ras_xa);
+	node = xa_load(&drm_ras_xa, node_id);
+	if (node)
+		refcount_inc(&node->ref);
+	xa_unlock(&drm_ras_xa);
+
+	return node;
+}
+
+/**
+ * drm_ras_node_get_next() - Take a reference on the next registered RAS node
+ * @next: in/out cursor; on entry the first ID to consider, on return the ID of
+ *        the node whose reference was taken
+ *
+ * Iterator counterpart of drm_ras_node_get() used by the LIST_NODES dump.
+ * Finds the first node with an ID at or above *@next, takes a reference to it
+ * under the xarray lock and reports its ID back in *@next.
+ *
+ * The caller must drop the returned reference with drm_ras_node_put().
+ *
+ * Return: the referenced node, or NULL if no further node is registered.
+ */
+static struct drm_ras_node *drm_ras_node_get_next(unsigned long *next)
+{
+	struct drm_ras_node *node;
+
+	xa_lock(&drm_ras_xa);
+	node = xa_find(&drm_ras_xa, next, ULONG_MAX, XA_PRESENT);
+	if (node)
+		refcount_inc(&node->ref);
+	xa_unlock(&drm_ras_xa);
+
+	return node;
+}
+
+/**
+ * drm_ras_node_put() - Drop a reference taken on a RAS node
+ * @node: node to drop a reference on, may be NULL
+ *
+ * Drops a reference previously taken by drm_ras_node_get() or
+ * drm_ras_node_get_next(). When the last reference (including the registration
+ * reference dropped by drm_ras_node_unregister()) goes away, the waiter in
+ * drm_ras_node_unregister() is woken so the driver can free the node.
+ */
+static void drm_ras_node_put(struct drm_ras_node *node)
+{
+	if (node && refcount_dec_and_test(&node->ref))
+		complete(&node->unregistered);
+}
+
 /**
  * drm_ras_nl_list_nodes_dumpit() - Dump all registered RAS nodes
  * @skb: Netlink message buffer
@@ -127,46 +213,47 @@ int drm_ras_nl_list_nodes_dumpit(struct sk_buff *skb,
 {
 	const struct genl_info *info = genl_info_dump(cb);
 	struct drm_ras_ctx *ctx = (void *)cb->ctx;
+	unsigned long id = ctx->restart;
 	struct drm_ras_node *node;
 	struct nlattr *hdr;
-	unsigned long id;
-	int ret;
+	int ret = 0;
 
-	xa_for_each_start(&drm_ras_xa, id, node, ctx->restart) {
+	while ((node = drm_ras_node_get_next(&id))) {
 		hdr = genlmsg_iput(skb, info);
 		if (!hdr) {
 			ret = -EMSGSIZE;
+			drm_ras_node_put(node);
 			break;
 		}
 
 		ret = nla_put_u32(skb, DRM_RAS_A_NODE_ATTRS_NODE_ID, node->id);
-		if (ret) {
-			genlmsg_cancel(skb, hdr);
-			break;
-		}
+		if (ret)
+			goto cancel;
 
 		ret = nla_put_string(skb, DRM_RAS_A_NODE_ATTRS_DEVICE_NAME,
 				     node->device_name);
-		if (ret) {
-			genlmsg_cancel(skb, hdr);
-			break;
-		}
+		if (ret)
+			goto cancel;
 
 		ret = nla_put_string(skb, DRM_RAS_A_NODE_ATTRS_NODE_NAME,
 				     node->node_name);
-		if (ret) {
-			genlmsg_cancel(skb, hdr);
-			break;
-		}
+		if (ret)
+			goto cancel;
 
 		ret = nla_put_u32(skb, DRM_RAS_A_NODE_ATTRS_NODE_TYPE,
 				  node->type);
-		if (ret) {
-			genlmsg_cancel(skb, hdr);
-			break;
-		}
+		if (ret)
+			goto cancel;
 
 		genlmsg_end(skb, hdr);
+		drm_ras_node_put(node);
+		id++;
+		continue;
+
+cancel:
+		genlmsg_cancel(skb, hdr);
+		drm_ras_node_put(node);
+		break;
 	}
 
 	if (ret == -EMSGSIZE)
@@ -175,13 +262,10 @@ int drm_ras_nl_list_nodes_dumpit(struct sk_buff *skb,
 	return ret;
 }
 
-static int get_node_error_counter(u32 node_id, u32 error_id,
+static int get_node_error_counter(struct drm_ras_node *node, u32 error_id,
 				  const char **name, u32 *value)
 {
-	struct drm_ras_node *node;
-
-	node = xa_load(&drm_ras_xa, node_id);
-	if (!node || !node->query_error_counter)
+	if (!node->query_error_counter)
 		return -ENOENT;
 
 	if (error_id < node->error_counter_range.first ||
@@ -191,14 +275,9 @@ static int get_node_error_counter(u32 node_id, u32 error_id,
 	return node->query_error_counter(node, error_id, name, value);
 }
 
-static int get_node_error_threshold(u32 node_id, u32 error_id, const char **name, u32 *threshold)
+static int get_node_error_threshold(struct drm_ras_node *node, u32 error_id,
+				    const char **name, u32 *threshold)
 {
-	struct drm_ras_node *node;
-
-	node = xa_load(&drm_ras_xa, node_id);
-	if (!node)
-		return -ENOENT;
-
 	if (!node->query_error_threshold)
 		return -EOPNOTSUPP;
 
@@ -208,14 +287,8 @@ static int get_node_error_threshold(u32 node_id, u32 error_id, const char **name
 	return node->query_error_threshold(node, error_id, name, threshold);
 }
 
-static int set_node_error_threshold(u32 node_id, u32 error_id, u32 threshold)
+static int set_node_error_threshold(struct drm_ras_node *node, u32 error_id, u32 threshold)
 {
-	struct drm_ras_node *node;
-
-	node = xa_load(&drm_ras_xa, node_id);
-	if (!node)
-		return -ENOENT;
-
 	if (!node->set_error_threshold)
 		return -EOPNOTSUPP;
 
@@ -290,15 +363,22 @@ static int msg_reply_threshold(struct sk_buff *msg, u32 error_id, const char *er
 static int doit_reply_value(struct genl_info *info, u32 node_id,
 			    u32 error_id)
 {
+	struct drm_ras_node *node;
 	struct sk_buff *msg;
 	struct nlattr *hdr;
 	const char *error_name;
 	u32 value;
 	int ret;
 
+	node = drm_ras_node_get(node_id);
+	if (!node)
+		return -ENOENT;
+
 	msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
-	if (!msg)
-		return -ENOMEM;
+	if (!msg) {
+		ret = -ENOMEM;
+		goto put_node;
+	}
 
 	hdr = genlmsg_iput(msg, info);
 	if (!hdr) {
@@ -306,7 +386,7 @@ static int doit_reply_value(struct genl_info *info, u32 node_id,
 		goto free_msg;
 	}
 
-	ret = get_node_error_counter(node_id, error_id,
+	ret = get_node_error_counter(node, error_id,
 				     &error_name, &value);
 	if (ret)
 		goto cancel_msg;
@@ -317,26 +397,37 @@ static int doit_reply_value(struct genl_info *info, u32 node_id,
 
 	genlmsg_end(msg, hdr);
 
+	drm_ras_node_put(node);
+
 	return genlmsg_reply(msg, info);
 
 cancel_msg:
 	genlmsg_cancel(msg, hdr);
 free_msg:
 	nlmsg_free(msg);
+put_node:
+	drm_ras_node_put(node);
 	return ret;
 }
 
 static int doit_reply_threshold(struct genl_info *info, u32 node_id, u32 error_id)
 {
+	struct drm_ras_node *node;
 	const char *error_name;
 	struct sk_buff *msg;
 	struct nlattr *hdr;
 	u32 threshold;
 	int ret;
 
+	node = drm_ras_node_get(node_id);
+	if (!node)
+		return -ENOENT;
+
 	msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
-	if (!msg)
-		return -ENOMEM;
+	if (!msg) {
+		ret = -ENOMEM;
+		goto put_node;
+	}
 
 	hdr = genlmsg_iput(msg, info);
 	if (!hdr) {
@@ -344,7 +435,7 @@ static int doit_reply_threshold(struct genl_info *info, u32 node_id, u32 error_i
 		goto free_msg;
 	}
 
-	ret = get_node_error_threshold(node_id, error_id, &error_name, &threshold);
+	ret = get_node_error_threshold(node, error_id, &error_name, &threshold);
 	if (ret)
 		goto cancel_msg;
 
@@ -354,12 +445,16 @@ static int doit_reply_threshold(struct genl_info *info, u32 node_id, u32 error_i
 
 	genlmsg_end(msg, hdr);
 
+	drm_ras_node_put(node);
+
 	return genlmsg_reply(msg, info);
 
 cancel_msg:
 	genlmsg_cancel(msg, hdr);
 free_msg:
 	nlmsg_free(msg);
+put_node:
+	drm_ras_node_put(node);
 	return ret;
 }
 
@@ -372,6 +467,10 @@ static int doit_reply_threshold(struct genl_info *info, u32 node_id, u32 error_i
  *
  * Report an error-event to userspace using the error-report multicast group.
  *
+ * The caller owns @node and must guarantee it stays alive for the duration of
+ * this call (it is the driver's own node), so no additional reference is taken
+ * here.
+ *
  * Context: Process context only. Uses %GFP_KERNEL and multicasts to all
  *          netns, which is unbounded work; callers in interrupt handlers
  *          or other atomic context must defer event.
@@ -455,21 +554,21 @@ int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
 	struct nlattr *hdr;
 	const char *error_name;
 	u32 node_id, error_id, value;
-	int ret;
+	int ret = 0;
 
 	if (!info->attrs || GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID))
 		return -EINVAL;
 
 	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
 
-	node = xa_load(&drm_ras_xa, node_id);
+	node = drm_ras_node_get(node_id);
 	if (!node)
 		return -ENOENT;
 
 	for (error_id = max(node->error_counter_range.first, ctx->restart);
 	     error_id <= node->error_counter_range.last;
 	     error_id++) {
-		ret = get_node_error_counter(node_id, error_id,
+		ret = get_node_error_counter(node, error_id,
 					     &error_name, &value);
 		/*
 		 * For non-contiguous range, driver return -ENOENT as indication
@@ -478,7 +577,7 @@ int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
 		if (ret == -ENOENT)
 			continue;
 		if (ret)
-			return ret;
+			break;
 
 		hdr = genlmsg_iput(skb, info);
 
@@ -499,6 +598,8 @@ int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
 	if (ret == -EMSGSIZE)
 		ctx->restart = error_id;
 
+	drm_ras_node_put(node);
+
 	return ret;
 }
 
@@ -544,6 +645,7 @@ int drm_ras_nl_clear_error_counter_doit(struct sk_buff *skb,
 {
 	struct drm_ras_node *node;
 	u32 node_id, error_id;
+	int ret;
 
 	if (!info->attrs ||
 	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID) ||
@@ -553,15 +655,23 @@ int drm_ras_nl_clear_error_counter_doit(struct sk_buff *skb,
 	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
 	error_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID]);
 
-	node = xa_load(&drm_ras_xa, node_id);
-	if (!node || !node->clear_error_counter)
+	node = drm_ras_node_get(node_id);
+	if (!node || !node->clear_error_counter) {
+		drm_ras_node_put(node);
 		return -ENOENT;
+	}
 
 	if (error_id < node->error_counter_range.first ||
-	    error_id > node->error_counter_range.last)
+	    error_id > node->error_counter_range.last) {
+		drm_ras_node_put(node);
 		return -EINVAL;
+	}
 
-	return node->clear_error_counter(node, error_id);
+	ret = node->clear_error_counter(node, error_id);
+
+	drm_ras_node_put(node);
+
+	return ret;
 }
 
 /**
@@ -603,6 +713,8 @@ int drm_ras_nl_get_error_threshold_doit(struct sk_buff *skb, struct genl_info *i
 int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb, struct genl_info *info)
 {
 	u32 node_id, error_id, threshold;
+	struct drm_ras_node *node;
+	int ret;
 
 	if (!info->attrs ||
 	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID) ||
@@ -614,7 +726,15 @@ int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb, struct genl_info *i
 	error_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID]);
 	threshold = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_THRESHOLD]);
 
-	return set_node_error_threshold(node_id, error_id, threshold);
+	node = drm_ras_node_get(node_id);
+	if (!node)
+		return -ENOENT;
+
+	ret = set_node_error_threshold(node, error_id, threshold);
+
+	drm_ras_node_put(node);
+
+	return ret;
 }
 
 /**
@@ -640,6 +760,10 @@ int drm_ras_node_register(struct drm_ras_node *node)
 	    (!node->error_counter_range.last || !node->query_error_counter))
 		return -EINVAL;
 
+	/* One reference is held for being registered in the xarray */
+	refcount_set(&node->ref, 1);
+	init_completion(&node->unregistered);
+
 	return xa_alloc(&drm_ras_xa, &node->id, node, xa_limit_32b, GFP_KERNEL);
 }
 EXPORT_SYMBOL(drm_ras_node_register);
@@ -648,10 +772,17 @@ EXPORT_SYMBOL(drm_ras_node_register);
  * drm_ras_node_unregister() - Unregister a previously registered node
  * @node: Node structure to unregister
  *
- * Removes the given node from the global node xarray using its ID.
+ * Removes the given node from the global node xarray using its ID and waits
+ * for any netlink handler that may still be using it to finish. Once this
+ * returns, no handler holds a reference to @node and the caller may free it.
  */
 void drm_ras_node_unregister(struct drm_ras_node *node)
 {
+	/* Remove from the xarray so no new lookup can find the node */
 	xa_erase(&drm_ras_xa, node->id);
+
+	/* Drop the registration reference and wait for in-flight handlers */
+	drm_ras_node_put(node);
+	wait_for_completion(&node->unregistered);
 }
 EXPORT_SYMBOL(drm_ras_node_unregister);
diff --git a/include/drm/drm_ras.h b/include/drm/drm_ras.h
index 1765a3130b09..449509c36355 100644
--- a/include/drm/drm_ras.h
+++ b/include/drm/drm_ras.h
@@ -6,6 +6,8 @@
 #ifndef __DRM_RAS_H__
 #define __DRM_RAS_H__
 
+#include <linux/completion.h>
+#include <linux/refcount.h>
 #include <linux/types.h>
 
 #include <uapi/drm/drm_ras.h>
@@ -102,6 +104,20 @@ struct drm_ras_node {
 
 	/** @priv: Driver private data */
 	void *priv;
+
+	/* private: Internal drm_ras bookkeeping, drivers must not touch. */
+
+	/*
+	 * @ref: One reference is held while the node is registered in the
+	 * xarray; netlink handlers take an additional reference across their
+	 * use of the node. See drm_ras_node_get()/drm_ras_node_put().
+	 */
+	refcount_t ref;
+	/*
+	 * @unregistered: Completed when the last reference is dropped, so
+	 * drm_ras_node_unregister() can wait for in-flight handlers.
+	 */
+	struct completion unregistered;
 };
 
 struct drm_device;
-- 
2.43.0
Technical Details
Message-ID: <20261124180137.616249-2-zachary.mckevitt@oss.qualcomm.com>
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370658-linux-kernel-netdev=dewy.ru
References: <20261124180137.616249-1-zachary.mckevitt@oss.qualcomm.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370658-linux-kernel-netdev=dewy.ru
From: zachary.mckevitt@oss.qualcomm.com (Zack McKevitt)
Newsgroups: linux.kernel.netdev
Subject: [PATCH v5 1/4] drm/drm_ras: Reference-count nodes across netlink handlers
Date: Tue, 24 Nov 2026 10:01:29 -0800
Organization: Usenet Network
Message-ID: <20261124180137.616249-2-zachary.mckevitt@oss.qualcomm.com>
References: <20261124180137.616249-1-zachary.mckevitt@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="4189"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:xoMHa914jmMbndhdNVE5YbsHNLs= sha256:KeyGfZ9aTCGXHBm+Q9OF6W8ls8rE7Za63nUp3kNkqp4=
	sha1:M8uDQBRCOggrTGyNYJ+uY/La1Xc= sha256:kup7M70TJXnrbNZs0sI+plaAc9n5m5GWP+8vjjGR8Qg=
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 7B16A125E22; Tue, 24 Nov 2026 21:03:54 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.95
X-Spam-Status: No, score=-2.95 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=qualcomm.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 c5XzJClQbJQl;
	Tue, 24 Nov 2026 21:03:50 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-370658-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=oss.qualcomm.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 8CCFE125E2D; Tue, 24 Nov 2026 21:03:31 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 21D733CCF7; Tue, 24 Nov 2026 18:03:17 +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=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795543395;
	b=5U1kpJo1LJqeHLQSpG3Sajc3+21d2yP+ho6czTEhdvKioOU8zhDeh1LbiTd15ZykpQh/
	 xspjbOtaJqJ7DuCfIb7gVeHIFhDjFuSAeY0StvUetgCBR2/VznUxNV1wEqQU2aUfE7NPa
	 JWQJ1uL/54mjXF24wS2/oTE0q5NbgS5GkT8W9LVqIeME9PS2ENEd1Ngmxdwf7eoh4I+N3
	 mLjft0vMPV5Grf4mlTMCBpY6vWr5nJlKawBNJoTsHQP0o6aQIcKzYgYH5k3nRf+9RczIU
	 xjfxbtGiLOVNi9XQ8cRFB5hbNmBVUorjFr/udeMoihEvVilChgokvmd/pb5WQGU+TWw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795543395;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
	 Received:Received:Received:From:To:Cc:Subject:Date:Message-ID:
	 X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Transfer-Encoding:
	 X-Proofpoint-Reinject:X-QCInternal:X-QCInternal:
	 X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID:
	 X-Proofpoint-ORIG-GUID:X-Authority-Analysis:X-Proofpoint-Spam-Info:
	 X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
	bh=yOUvXQ0B1c3E+CqaKKZ5iwUMgwvu4zOUMWcno7SBWBc=;
	b=TAVxYMWl6ZdZV+0DpDqkPhzSGFwLyUbOHVIQsWUYGY5xTbzEYFKIdxyyze2wy+06/iwe
	 3lNlzIqkLcUTJc0SZyJBAEruH86vV2LabgdXqu14CMsNhL73pXEMkX5uIDdS98fGPx3Yg
	 tYarColGQp0+ETxR2bp3UtoQHJ9/5UAhoggimiGeDaJ0vqnbbwMDN0AVX5LV9XhwzhK7F
	 uTMvapl2UF0wugqzMBvUG3LiqYK5Ezqg0Gyk9xyLfs+3FJJQ0wsYV2It4PfcmV/BhmscA
	 uTuWW5jkzDHCtzSyvh2h5ZfC/A82SfSyrB2PTDq2YyV3n3O3fHcBzD29gxFN3pXgb1Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=H8G01gxV;
	dmarc=pass header.from=oss.qualcomm.com;
	spf=pass smtp.mailfrom=qualcomm.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 ADC7F606A686;
	Tue, 24 Nov 2026 18:03:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=H8G01gxV
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795543394;
	b=fXnh8+G6nv+5tlTadRg44btm59gkxpevHCNbzkKhXxA1VpUDqZEu1a6gHG4Sn1/3V5em
	 cqWuXqhhN9TKn5QJ0P2ax8rQAdOKItP5HaGcBDVixeRcSK3x7qinsK3iAgdL7uQ2wrPwn
	 eKdW8O5VErBLTxh1fgtJDs/WQNjUYvUSh0NTKxQeQx8nzXSyUvrG1BaHylqkTN5gb1xBJ
	 zC2cmgFPomvQ0WfcOYZspPRR/Gzwx9PQONgoGrvTHgpjsApD1fyN6RabcAibyJHCxvUNm
	 3VS1GwdAtUbuSHr4y6ldINAICGTRc4YiIbjqIsTszJzVEUW715PH5eWfXbgUaJVW74w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795543394;
	h=DMARC-Filter:Received:DKIM-Signature:Received:Received:Received:
	 Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
	 References:MIME-Version:Content-Type:Content-Transfer-Encoding:
	 X-Proofpoint-Reinject:X-QCInternal:X-QCInternal:
	 X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID:
	 X-Proofpoint-ORIG-GUID:X-Authority-Analysis:X-Proofpoint-Spam-Info:
	 X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
	bh=yOUvXQ0B1c3E+CqaKKZ5iwUMgwvu4zOUMWcno7SBWBc=;
	b=NQz955ycUMc9pWdCclO6WCu7Vl+SMl8vA/1+tMy+p371KjQcQcdtb9N3NceFImdjlUj2
	 oqnr6ex7VT8A+0kaqYdmNjRLH34U7Mu2zow5Xq8GWFaytflJCQ1V6Et4sNeVVHpiYW8/b
	 /lVvW4ZyaFMVZjwn3lJp2lcyzG+I99BeE0Reh9emjjB9PbRnKOQPzZ0rV1OX2LE8xISUi
	 KV7QmD1m1xguGRRETJ4p1y0sLQPgADjYQQL7pDyIOYdT1y95/vwmkGVSdo35xzKXkS4Bv
	 PXmjyUAJsXvn6ayB6kQOnoFNeFBkenwWVUPQP0kHrBdsFkaMxEJPycnYe7luw7mkdsw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=oss.qualcomm.com;
	spf=pass smtp.mailfrom=qualcomm.com;
	dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=H8G01gxV;
	arc=none smtp.remote-ip=205.220.168.131
X-Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131])
	(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.subspace.kernel.org (Postfix) with ESMTPS id 31B38606A337
	for <netdev@vger.kernel.org>; Tue, 24 Nov 2026 18:03:13 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 31B38606A337
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com
X-Received: from pps.filterd (m0279865.ppops.net [127.0.0.1])
	by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AOFL1r51872647;
	Tue, 24 Nov 2026 18:01:49 GMT
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
	cc:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=
	yOUvXQ0B1c3E+CqaKKZ5iwUMgwvu4zOUMWcno7SBWBc=; b=H8G01gxVxzVMu4NK
	BQzub9G7ndm2bBOI3QVlX8DOpuJy3zMyg4I2RCrpyaVtBWOQiNxV/XSa+htgXnjE
	8EramDKn3N4vMP3pgwNUjFToC/kt288ZCKuwsvyjZbAo+EEYEnIEabXmaAiDvu2W
	ucWCueqTeuGWrWscQTufo5DdPFYaUDBSUUVHU/P1TtX7kl/CdFb+eL+9CVaKmbdz
	GqsDshWC7qzlVIyRbucTYinHDVjj4mSARPvXzrNZPTGh6nM63J8ax9WsWOvP3xVk
	JcG3f2jZ8RgvJyghQ33a888hq02kHD1x08wOkekauvx6TqzszRWGZPC52/F0ruc0
	9hghQA==
X-Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20])
	by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j5cxk8u14-1
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
	Tue, 24 Nov 2026 18:01:48 +0000 (GMT)
X-Received: from pps.filterd (nalasppmta01.qualcomm.com [127.0.0.1])
	by NALASPPMTA01.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 6AOHvYCp992726;
	Tue, 24 Nov 2026 18:01:48 GMT
X-Received: from hu-devc-lv-u24-a.qualcomm.com (hu-zmckevit-lv.qualcomm.com [10.81.84.220])
	by NALASPPMTA01.qualcomm.com (PPS) with ESMTPS id 6AOI1mLd999513
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
	Tue, 24 Nov 2026 18:01:48 +0000 (GMT)
X-Received: by hu-devc-lv-u24-a.qualcomm.com (Postfix, from userid 4696302)
	id 1A907221EA; Tue, 24 Nov 2026 10:01:48 -0800 (PST)
X-Cc: jeff.hugo@oss.qualcomm.com, carl.vanderlip@oss.qualcomm.com,
        troy.hanson@oss.qualcomm.com, youssef.abdulrahman@oss.qualcomm.com,
        Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>,
        Sashiko <sashiko-bot@kernel.org>
X-Mailer: git-send-email 2.43.0
X-In-Reply-To: <20261124180137.616249-1-zachary.mckevitt@oss.qualcomm.com>
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-Proofpoint-Reinject: loops=2 maxloops=12
X-QCInternal: smtphost
X-QCInternal: smtphost
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTI0MDA3MCBTYWx0ZWRfX+MvdPfvNy1Cv
 PEHCk0N7u1JrhROXR6lDKop61RVNbdppbwypwO82jJr+Rv61pxtE1TwSLUZ0WzOnM+WnMuVfaEL
 uKxsb13mUwiflV9jKH+6f9zCfbXK/IMlmDFJj6XDbrHVZ3vibzhBwanyQn61cwjEN+6b2/Ryt8k
 PbSRxg6q9RWyrlPUQHR607tAIP+uNwHuqtp/jPbi/x4jDt2zGqF0FsQWIP3FWT2dbTzpyYQu/xS
 b4o7TMZ2LVj1M+Ig+HpT8LzuFqYrVyB+zsPfsxdNLegcDaq0H3VyZmtUglwFjQQso+dubhRFIGq
 9km5ny+b+GBF+trl7ieKOPti6bodjre6OvaP3Yr4KmXtcD0vJiL5zlPAzbYSpYRdPTMEWVhOV08
 4YbomwO4fLacGdQdGHSMbexg7OaPWO3ucPskaTmwBMOrn0LxAiYoBZN6jTFPRQhBjf0z0LSxBXs
 rLkvfiW2dLA0bw10GVQ==
X-Proofpoint-GUID: Btqwrrr2xAdyuL3RgXdrO6zNVdDXWjFL
X-Proofpoint-ORIG-GUID: Btqwrrr2xAdyuL3RgXdrO6zNVdDXWjFL
X-Authority-Analysis: v=2.4 cv=TLbQ2Fla c=1 sm=1 tr=0 ts=6b05d10c cx=c_pps
 a=ouPCqIW2jiPt+lZRy3xVPw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17
 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=VkNPw1HP01LnGYTKEx00:22
 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=c92rfblmAAAA:8
 a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=QyXUC8HyAAAA:8 a=96oh1rB_TWOC1mc95DEA:9
 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=GvGzcOZaWPEFPQC_NcjD:22
X-Proofpoint-Spam-Info: AW1haW4tMjYxMTI0MDA3MCBTYWx0ZWRfX6S5CFcVYdgji
 amGJwqW2WGDJOeH7sDLY1gYhNSNjsP5phDLIqTqhyrO9Sp7QBY9tlMNPWW3IKiETMSH3G3S043r
 M9PC1kt66Fn4+WmdSA+rPNbVbjgztMA=
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49
 definitions=2026-11-24_04,2026-11-23_01,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 phishscore=0 impostorscore=0 spamscore=0 clxscore=1015 suspectscore=0
 malwarescore=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 bulkscore=0
 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611240070