Article View: linux.kernel.netdev
Article #4122Re: [PATCH net-next v10 1/2] net: wwan: core: propagate modem control signals to port drivers
From: Loic Poulain
Date: Fri, 16 Oct 2026 19:46
Date: Fri, 16 Oct 2026 19:46
463 lines
32085 bytes
32085 bytes
On Tue, Oct 13, 2026 at 8:37 PM Peter Hunt <peter.hunt@opengear.com> wrote:
>
> The WWAN character device emulates the TTY modem-control ioctls
> (TIOCMGET/TIOCMSET/TIOCMBIC/TIOCMBIS) for AT and QCDM ports, but the
> result is only stored in port->at_data.mdmbits and never reaches the port
> driver. A driver therefore cannot act on the host raising or dropping
> DTR/RTS, even though some modems depend on it (e.g. they withhold
> unsolicited AT result codes until the host asserts DTR).
>
> Add an optional ->dtr_rts(port, mdmbits) operation to struct wwan_port_ops.
> Drivers that implement it receive the TIOCM output bitmask so they can
> assert or de-assert DTR and RTS independently. As in tty_tiocmset(), the
> wwan core keeps only the output bits (DTR, RTS, OUT1, OUT2, LOOP) of the
> TIOCMSET/TIOCMBIS/TIOCMBIC value in port->at_data.mdmbits, and calls
> ->dtr_rts when DTR or RTS actually changes, gated on WWAN_PORT_AT to match
> the open/close raise/drop behaviour.
>
> Also raise DTR/RTS in wwan_port_op_start on first open of an AT port
> when the driver implements ->dtr_rts, and drop them in wwan_port_op_stop
> on last close if HUPCL is set in the port's termios. This follows TTY
> open/close semantics, although the termios baud rate is not used, and
> means individual drivers do not need to implement this themselves. As on
> a TTY, HUPCL defaults to on for AT ports, and userspace can clear it
> with TCSETS to keep DTR asserted across close, for example so that
> closing the port does not end a call on a modem set to AT&D1/AT&D2.
> TCSETS and TCSETS2 now only commit the new termios when the copy from
> userspace succeeds, so a faulting call cannot silently clear HUPCL.
>
> ->dtr_rts must be called under ops_lock, which serialises port ops and
> protects against port removal (removal clears port->ops under it). So
> that updates to the TIOCM state and the ->dtr_rts calls are serialised
> together, the termios/TIOCM state now also lives under ops_lock and the
> separate data_lock is removed. The AT/QCDM ioctl handler only holds
> ops_lock while it reads or updates that state, never across a
> user-memory copy, and takes it interruptibly since a driver's blocking
> write holds it while it waits. Ioctls that do not touch that state, such
> as TCFLSH, TIOCEXCL and the FIONREAD fallback, do not take it.
>
> wwan_remove_port() also drops DTR/RTS before ->stop() when a port is
> removed while still open, regardless of HUPCL since the device is going
> away. The raise and drop paths go through two small helpers, which do
> the AT port and ->dtr_rts checks and pass the driver the resulting
> bitmask.
>
> Signed-off-by: Peter Hunt <peter.hunt@opengear.com>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
> ---
> v10: Only hold ops_lock in the AT ioctl handler around the termios/TIOCM
> state, with user copies done outside it, return -ERESTARTSYS when
> interrupted, and leave ops_lock alone for ioctls that do not touch
> that state. Word the TTY comparisons and the ->dtr_rts kernel-doc
> more precisely (the baud rate is not used, removal only drops the
> lines while the port is open, open only once ->start() has
> succeeded). Both from the Sashiko review of v9, still using ops_lock
> only as agreed with Loic Poulain
> v9: Raise DTR/RTS inside the existing first-open branch of
> wwan_port_op_start(), and drop data_lock so the termios/TIOCM state
> and ->dtr_rts calls are all serialised by ops_lock, taken
> interruptibly in the ioctl handler (Loic Poulain). Mask
> TIOCMSET/TIOCMBIS/TIOCMBIC to the output bits and only call
> ->dtr_rts when DTR or RTS changes, commit TCSETS/TCSETS2 only on a
> successful copy, and describe the calls in the ->dtr_rts kernel-doc
> (Sashiko review of v7). Document in the ->dtr_rts kernel-doc why it
> is AT-only (Loic Poulain, Daniele Palmas)
> v8: Add wwan_port_raise_dtr_rts() as the counterpart of
> wwan_port_drop_dtr_rts() and move the open-path handling there, move
> the AT port and ->dtr_rts checks into both helpers, use
> scoped_guard() for data_lock (Loic Poulain)
> v7: Drop DTR/RTS on last close only if HUPCL is set, and default HUPCL on
> for AT ports. Pass the masked mdmbits rather than 0 from
> wwan_remove_port(), via a helper shared with the close path. Both
> from the Sashiko review of v6
> v6: Rebase onto net-next. Snapshot mdmbits under data_lock before calling
> ->dtr_rts from wwan_port_op_start()/wwan_port_op_stop(), rather than
> reading it after data_lock has been released
> v5: Change ->dtr_rts signature from bool to unsigned int mdmbits so DTR
> and RTS can be driven independently; re-read mdmbits inside ops_lock
> in the ioctl path to close a concurrent-ioctl ordering race; add
> de-assert call to wwan_remove_port() for the hot-unplug case; update
> kernel-doc to note the op is AT-only and describe the mdmbits argument
> v4: Protect at_data.mdmbits in wwan_port_op_start/stop under data_lock;
> release data_lock and acquire ops_lock with a NULL check before calling
> ->dtr_rts from the ioctl path; gate ioctl ->dtr_rts on WWAN_PORT_AT to
> match open/close behaviour; reduce boolean to TIOCM_DTR only
> v3: Replace ->tiocmget/->tiocmset with ->dtr_rts(port, bool on) modelled
> on tty_port_operations.dtr_rts; raise/drop DTR/RTS in
> wwan_port_op_start/stop rather than in the driver (Loic Poulain)
> ---
> drivers/net/wwan/wwan_core.c | 172 +++++++++++++++++++++++------------
> include/linux/wwan.h | 9 ++
> 2 files changed, 124 insertions(+), 57 deletions(-)
>
> diff --git a/drivers/net/wwan/wwan_core.c b/drivers/net/wwan/wwan_core.c
> index ffbcf11e4e68..7097b58dafde 100644
> --- a/drivers/net/wwan/wwan_core.c
> +++ b/drivers/net/wwan/wwan_core.c
> @@ -25,6 +25,10 @@
> #include <net/rtnetlink.h>
> #include <uapi/linux/wwan.h>
>
> +/* Modem control bits userspace may set on an AT port, as for tty_tiocmset() */
> +#define WWAN_TIOCM_OUTPUTS (TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | \
> + TIOCM_OUT2 | TIOCM_LOOP)
> +
> /* Maximum number of minors in use */
> #define WWAN_MAX_MINORS (1 << MINORBITS)
>
> @@ -73,11 +77,10 @@ struct wwan_device {
> * @start_count: Port start counter
> * @flags: Store port state and capabilities
> * @ops: Pointer to WWAN port operations
> - * @ops_lock: Protect port ops
> + * @ops_lock: Protect port ops, and the AT/QCDM termios and TIOCM state
> * @dev: Underlying device
> * @rxq: Buffer inbound queue
> * @waitqueue: The waitqueue for port fops (read/write/poll)
> - * @data_lock: Port specific data access serialization
> * @headroom_len: SKB reserved headroom size
> * @frag_len: Length to fragment packet
> * @at_data: AT port specific data
> @@ -88,11 +91,10 @@ struct wwan_port {
> unsigned int start_count;
> unsigned long flags;
> const struct wwan_port_ops *ops;
> - struct mutex ops_lock; /* Serialize ops + protect against removal */
> + struct mutex ops_lock; /* Serialize ops + at_data, protect against removal */
> struct device dev;
> struct sk_buff_head rxq;
> wait_queue_head_t waitqueue;
> - struct mutex data_lock; /* Port specific data access serialization */
> size_t headroom_len;
> size_t frag_len;
> union {
> @@ -374,7 +376,6 @@ static void wwan_port_destroy(struct device *dev)
>
> if (dev->class == &wwan_class)
> ida_free(&minors, MINOR(dev->devt));
> - mutex_destroy(&port->data_lock);
> mutex_destroy(&port->ops_lock);
> kfree(port);
> }
> @@ -653,7 +654,10 @@ struct wwan_port *wwan_create_port(struct device *parent,
> mutex_init(&port->ops_lock);
> skb_queue_head_init(&port->rxq);
> init_waitqueue_head(&port->waitqueue);
> - mutex_init(&port->data_lock);
> +
> + /* AT ports default to HUPCL, so DTR/RTS are dropped on last close */
> + if (type == WWAN_PORT_AT)
> + port->at_data.termios.c_cflag = HUPCL;
>
> port->dev.parent = &wwandev->dev;
> port->dev.type = &wwan_port_dev_type;
> @@ -679,12 +683,44 @@ struct wwan_port *wwan_create_port(struct device *parent,
> }
> EXPORT_SYMBOL_GPL(wwan_create_port);
>
> +/* Raise DTR/RTS when an AT port is first opened, as a TTY does on open.
> + * Unlike a TTY the termios baud rate is not used. Called with ops_lock held.
> + */
> +static void wwan_port_raise_dtr_rts(struct wwan_port *port)
> +{
> + lockdep_assert_held(&port->ops_lock);
> +
> + if (port->type != WWAN_PORT_AT || !port->ops->dtr_rts)
> + return;
> +
> + port->at_data.mdmbits |= TIOCM_DTR | TIOCM_RTS;
> + port->ops->dtr_rts(port, port->at_data.mdmbits);
> +}
> +
> +/* Drop DTR/RTS on an AT port. Called with ops_lock held. On last close
> + * the lines are only dropped if HUPCL is set, as for a TTY. When a port is
> + * removed while still open they are always dropped.
> + */
> +static void wwan_port_drop_dtr_rts(struct wwan_port *port, bool hupcl_only)
> +{
> + lockdep_assert_held(&port->ops_lock);
> +
> + if (port->type != WWAN_PORT_AT || !port->ops->dtr_rts)
> + return;
> + if (hupcl_only && !(port->at_data.termios.c_cflag & HUPCL))
> + return;
> +
> + port->at_data.mdmbits &= ~(TIOCM_DTR | TIOCM_RTS);
> + port->ops->dtr_rts(port, port->at_data.mdmbits);
> +}
> +
> void wwan_remove_port(struct wwan_port *port)
> {
> struct wwan_device *wwandev = to_wwan_dev(port->dev.parent);
>
> mutex_lock(&port->ops_lock);
> if (port->start_count) {
> + wwan_port_drop_dtr_rts(port, false);
> port->ops->stop(port);
> port->start_count = 0;
> }
> @@ -756,8 +792,11 @@ static int wwan_port_op_start(struct wwan_port *port)
> }
>
> /* If port is already started, don't start again */
> - if (!port->start_count)
> + if (!port->start_count) {
> ret = port->ops->start(port);
> + if (!ret)
> + wwan_port_raise_dtr_rts(port);
> + }
>
> if (!ret)
> port->start_count++;
> @@ -773,8 +812,10 @@ static void wwan_port_op_stop(struct wwan_port *port)
> mutex_lock(&port->ops_lock);
> port->start_count--;
> if (!port->start_count) {
> - if (port->ops)
> + if (port->ops) {
> + wwan_port_drop_dtr_rts(port, true);
> port->ops->stop(port);
> + }
> skb_queue_purge(&port->rxq);
> clear_bit(WWAN_PORT_EXCLUSIVE, &port->flags);
> }
> @@ -976,92 +1017,109 @@ static __poll_t wwan_port_fops_poll(struct file *filp, poll_table *wait)
> }
>
> /* Implements minimalistic stub terminal IOCTLs support */
> -static long wwan_port_fops_at_ioctl(struct wwan_port *port, unsigned int cmd,
> - unsigned long arg)
> +/* TCGETS/TCSETS and their termios2 variants. @size is the size of the user
> + * structure, a prefix of struct ktermios. As for the TIOCM ioctls, user
> + * memory is only accessed outside ops_lock.
> + */
> +static long wwan_port_termios_ioctl(struct wwan_port *port, bool set,
> + void __user *uarg, size_t size)
> {
> - int ret = 0;
> + struct ktermios termios;
>
> - mutex_lock(&port->data_lock);
> + if (!set) {
> + scoped_cond_guard(mutex_intr, return -ERESTARTSYS, &port->ops_lock)
> + termios = port->at_data.termios;
> + return copy_to_user(uarg, &termios, size) ? -EFAULT : 0;
> + }
> +
> + /* Commit only on success, a partial copy must not clear HUPCL */
> + if (copy_from_user(&termios, uarg, size))
> + return -EFAULT;
> + scoped_cond_guard(mutex_intr, return -ERESTARTSYS, &port->ops_lock)
> + memcpy(&port->at_data.termios, &termios, size);
> + return 0;
> +}
>
> +static long wwan_port_fops_at_ioctl(struct wwan_port *port, unsigned int cmd,
> + unsigned long arg)
> +{
> + /* ops_lock serialises the termios/TIOCM state with port ops and
> + * removal. It is only held while that state is read or updated, never
> + * across a user copy, and is taken interruptibly as a blocking write
> + * holds it too.
> + */
> switch (cmd) {
> case TCFLSH:
> - break;
> + return 0;
>
> case TCGETS:
> - if (copy_to_user((void __user *)arg, &port->at_data.termios,
> - sizeof(struct termios)))
> - ret = -EFAULT;
> - break;
> -
> case TCSETS:
> case TCSETSW:
> case TCSETSF:
> - if (copy_from_user(&port->at_data.termios, (void __user *)arg,
> - sizeof(struct termios)))
> - ret = -EFAULT;
> - break;
> + return wwan_port_termios_ioctl(port, cmd != TCGETS,
> + (void __user *)arg,
> + sizeof(struct termios));
>
> #ifdef TCGETS2
> case TCGETS2:
> - if (copy_to_user((void __user *)arg, &port->at_data.termios,
> - sizeof(struct termios2)))
> - ret = -EFAULT;
> - break;
> -
> case TCSETS2:
> case TCSETSW2:
> case TCSETSF2:
> - if (copy_from_user(&port->at_data.termios, (void __user *)arg,
> - sizeof(struct termios2)))
> - ret = -EFAULT;
> - break;
> + return wwan_port_termios_ioctl(port, cmd != TCGETS2,
> + (void __user *)arg,
> + sizeof(struct termios2));
> #endif
>
> - case TIOCMGET:
> - ret = put_user(port->at_data.mdmbits, (int __user *)arg);
> - break;
> + case TIOCMGET: {
> + int mdmbits;
> +
> + scoped_cond_guard(mutex_intr, return -ERESTARTSYS, &port->ops_lock)
> + mdmbits = port->at_data.mdmbits;
> + return put_user(mdmbits, (int __user *)arg);
> + }
>
> case TIOCMSET:
> case TIOCMBIC:
> case TIOCMBIS: {
> int mdmbits;
>
> - if (copy_from_user(&mdmbits, (int __user *)arg, sizeof(int))) {
> - ret = -EFAULT;
> - break;
> + if (get_user(mdmbits, (int __user *)arg))
> + return -EFAULT;
> + mdmbits &= WWAN_TIOCM_OUTPUTS;
> +
> + scoped_cond_guard(mutex_intr, return -ERESTARTSYS, &port->ops_lock) {
> + int old = port->at_data.mdmbits;
> +
> + if (cmd == TIOCMBIC)
> + port->at_data.mdmbits &= ~mdmbits;
> + else if (cmd == TIOCMBIS)
> + port->at_data.mdmbits |= mdmbits;
> + else
> + port->at_data.mdmbits = mdmbits;
> + /* Only signal the driver when DTR or RTS actually changes */
> + if (port->type == WWAN_PORT_AT && port->ops &&
> + port->ops->dtr_rts &&
> + (old ^ port->at_data.mdmbits) & (TIOCM_DTR | TIOCM_RTS))
> + port->ops->dtr_rts(port, port->at_data.mdmbits);
> }
> - if (cmd == TIOCMBIC)
> - port->at_data.mdmbits &= ~mdmbits;
> - else if (cmd == TIOCMBIS)
> - port->at_data.mdmbits |= mdmbits;
> - else
> - port->at_data.mdmbits = mdmbits;
> - break;
> + return 0;
> }
>
> case TIOCEXCL:
> set_bit(WWAN_PORT_EXCLUSIVE, &port->flags);
> - break;
> + return 0;
>
> case TIOCNXCL:
> clear_bit(WWAN_PORT_EXCLUSIVE, &port->flags);
> - break;
> + return 0;
>
> case TIOCGEXCL:
> - {
> - int excl = test_bit(WWAN_PORT_EXCLUSIVE, &port->flags);
> -
> - ret = put_user(excl, (int __user *)arg);
> - break;
> - }
> + return put_user(test_bit(WWAN_PORT_EXCLUSIVE, &port->flags),
> + (int __user *)arg);
>
> default:
> - ret = -ENOIOCTLCMD;
> + return -ENOIOCTLCMD;
> }
> -
> - mutex_unlock(&port->data_lock);
> -
> - return ret;
> }
>
> static long wwan_port_fops_ioctl(struct file *filp, unsigned int cmd,
> diff --git a/include/linux/wwan.h b/include/linux/wwan.h
> index 1e0e2cb53579..23a8a8ee473d 100644
> --- a/include/linux/wwan.h
> +++ b/include/linux/wwan.h
> @@ -57,6 +57,14 @@ struct wwan_port;
> * @tx_blocking: Optional blocking routine that sends WWAN port protocol data
> * to the device.
> * @tx_poll: Optional routine that sets additional TX poll flags.
> + * @dtr_rts: Optional routine that updates the modem control lines to match
> + * @mdmbits, the TIOCM_* output bits (DTR, RTS, OUT1, OUT2, LOOP)
> + * currently set for the port. Called when the port is first opened
> + * and ->start() has succeeded, on last close if HUPCL is set, when
> + * the port is removed while still open, and when TIOCMSET, TIOCMBIS
> + * or TIOCMBIC changes DTR or RTS. Only called for WWAN_PORT_AT ports,
> + * as only the AT (DUN) port carries the modem's virtual RS-232
> + * control signals.
> *
> * The wwan_port_ops structure contains a list of low-level operations
> * that control a WWAN port device. All functions are mandatory unless specified.
> @@ -70,6 +78,7 @@ struct wwan_port_ops {
> int (*tx_blocking)(struct wwan_port *port, struct sk_buff *skb);
> __poll_t (*tx_poll)(struct wwan_port *port, struct file *filp,
> poll_table *wait);
> + void (*dtr_rts)(struct wwan_port *port, unsigned int mdmbits);
> };
>
> /** struct wwan_port_caps - The WWAN port capbilities
> --
> 2.43.0
>
Technical Details
Message-ID:
<CAFEp6-2jxY3R3FWm9oWJNtJ3zLfRkEDZ3pxb=T8qNnNLorASiQ@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347516-linux-kernel-netdev=dewy.ruReferences:
<20261013183500.261229-1-peter.hunt@opengear.com> <20261013183500.261229-2-peter.hunt@opengear.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347516-linux-kernel-netdev=dewy.ru
From: loic.poulain@oss.qualcomm.com (Loic Poulain)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v10 1/2] net: wwan: core: propagate modem control
signals to port drivers
Date: Fri, 16 Oct 2026 21:46:33 +0200
Organization: Usenet Network
Message-ID: <CAFEp6-2jxY3R3FWm9oWJNtJ3zLfRkEDZ3pxb=T8qNnNLorASiQ@mail.gmail.com>
References: <20261013183500.261229-1-peter.hunt@opengear.com> <20261013183500.261229-2-peter.hunt@opengear.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="2861243"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:FFJWhe2V1BNnJVXEWXsTANhURXU= sha256:6kjEdjsd3OuKae7mn63AN7mqrpxlPk3k226Z4kcjyXg=
sha1:gidRetcdjZFDO8sqbMP+wlP0uFY= sha256:PQ7ZdrfGZzD9FfawKTC+x3maMg0TPIl4/MAq3gsoysQ=
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 6CDA11105DC; Fri, 16 Oct 2026 22:51:53 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.75
X-Spam-Status: No, score=-0.75 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
MAILING_LIST_MULTI=-1, 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=qualcomm.com header.b=e2zMWSUc; dkim=pass (2048-bit key)
header.d=oss.qualcomm.com header.b=jNUj37Ze
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 hXYgVJ3v1OCG;
Fri, 16 Oct 2026 22:51:45 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347516-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (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 D4111110201; Fri, 16 Oct 2026 22:51:30 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id B324E30D34; Fri, 16 Oct 2026 19:46:52 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F66B3D16FB;
Fri, 16 Oct 2026 19:46:51 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="e2zMWSUc";
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="jNUj37Ze"
X-Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2778F3B9DA1
for <netdev@vger.kernel.org>; Fri, 16 Oct 2026 19:46:48 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=205.220.168.131
X-ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1792180011; cv=pass; b=BQbGZfFSYTCep+1BB3OO7Fgps42ZW1dD66fVz2mkoWF3ZznTjGdgrRb4Qa1WFRhmWXcRSjtsGCeDvpctFVoDwRuXIOFSBh3tj8wZBmPxw5qFWYCqnfSHlbme8bQdxY21eeJfyuIEGu2T8GgjyyubEJNaOgvF5dvHROIwK0q3adY=
X-ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1792180011; c=relaxed/simple;
bh=O8cy62w25lVRLQ2+87Qxso1BD9oGuEcVFUfjG4kL72s=;
h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
To:Cc:Content-Type; b=uHA2AjPwaY+11OcGtQTZwfHk8tbh9FrdJW9R+7ReSjavqc3EnCcnUKwpk6VBNWjGpWs796o4j0C6POVl6gxTy3qGwzNFF2c48ekGVYsH45SaJ+f2E9Qr72Np3iSgNo6anMCNZTM8P+wz1RiwVDCICkrgPJmKnvDgRVMFl3sWG2U=
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=e2zMWSUc; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=jNUj37Ze; arc=pass smtp.client-ip=205.220.168.131
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com
X-Received: from pps.filterd (m0279864.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69GJeiCR1717567
for <netdev@vger.kernel.org>; Fri, 16 Oct 2026 19:46:47 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=
p+VxrDVNdVa6yFhA5w5ziLBUXWol4faVGP6JwE2bNX8=; b=e2zMWSUcOWleOa2n
j79pJlkXPs35DClARNUvq+3ZYiCyMLyeX8gS9qSzUSqbg2xHPzthQ581WM+nMAyv
3wkTHJUtrzPiIgXv4tZ50WHzIS4K0ebntCICuN4iob0QKtApF1IgW5ET8Gid4zNc
0RO4EIEWx0BACvUFaEOSoyX7oK6qCjVhTAUTK4O2PHEVNI/EzdifQ8AxOUPet0j1
Ij/Mwj0z/UA5KReFNGQ5FvsaCLy2dF/2wDFVdCAqRAnAvRt6MmpdjbKrYPFhqeHe
nP6Y0wt/q6qmsHqK74WIlSFlKZY0JU1lf9lG952eTNB2UACmf0Q1B5s7WQ2y6gQL
62sGcg==
X-Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hbcjtbfpg-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <netdev@vger.kernel.org>; Fri, 16 Oct 2026 19:46:46 +0000 (GMT)
X-Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-939c30aa9a0so36163385a.0
for <netdev@vger.kernel.org>; Fri, 16 Oct 2026 12:46:46 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1792180006; cv=none;
d=google.com; s=arc-20260327;
b=qMp99JfxF6us7lIxEpIpqzgSIiH9wvVUV01qHz8HDoVkyjGwz6Ika0ZYkvDgJyUIY+
pCEUbA0jpDUnpEa9ldXxhgC1+Y3Ry7IDrTbR0A4G8Uj21UH+BUqhBSr5mGy2Fe5SAbXT
g8QGsADIU6fR/66FI3yyODHd/QpvcrzTlY1Y0FFCO21Gyyv9RZVXZpivIKejmlClrS31
wtvj9caq+Ydz+RHbmvGQApJcFrRrqdefeMkmxJ0ZEiKVzLc/XKPzxjoesV6Z2xUBnPj1
xS1p8BWj7uW+gngH7EAJy9UKrv4+JOeJMBZIzQ9Yrba8F2WCRL5+IsW169iYHxqYEqd2
+nwQ==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=p+VxrDVNdVa6yFhA5w5ziLBUXWol4faVGP6JwE2bNX8=;
fh=EJW2ddXTEv829xa3us1stnMhn7/OWvJlMEIMqfXkQfI=;
b=C6a7Xh5WgxCwCEtaiemFb3OuUE0v9lc/JgastaeAZ1TWwfYeqB0HFBYubT+0A6tRz0
fOZXF1+JNXaUuhkghsuFsuRj5M1c9tG0TX4q6DsnMZHguv4l1dctgzknDZSAmQmyHTFH
W207X5ns7+Jn1lZqPi6gch4wnVn3rQdhcgddELVVIdPc2irRsJvhX3tLc5DUC9kXJvGP
eRP94N1X3ykmZfWnDMJP85BrhST8Rnn2ydyeUhrshlJLyVyelh3NQUan5HUz45SsL0ee
nzVYFGdphAciYngQvvA3ZerHk8AWZsx3Otk4YHC+jbsvyu4gjunOGrC+EDwrfTroqe8m
hNcg==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1792180006; x=1792784806; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=p+VxrDVNdVa6yFhA5w5ziLBUXWol4faVGP6JwE2bNX8=;
b=jNUj37ZeYZ+Sp9VzDRFVcomP6TbBHqlZMx/s1c08Vtldbla2gKugV1ftTdXxdM73cG
4O+0m61uqetVAaaFGV4MRvGfqdm28BXmgp8360d6CHRBJObSd/hBeeDvrhBwr+wMlaJd
f6Cc8B9t/XxF4hcmGkK0kD1PJYptrgzKzJ5c05qXIERABMdINeIzyK9rdWrnM4kgdbH+
IdtEkHdkHUdmmgrJSGGRDSiYdKjsDZQnM5jLsJKGXN5RBa8KDth9fRb8l2Hn/MylnljH
did98988ZsOspOXAuoqwxp8Yo5kQ0+hjcjDqjn5cgdfX5nIetIqYORfqgzMrX/PzThiB
aX8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792180006; x=1792784806;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=p+VxrDVNdVa6yFhA5w5ziLBUXWol4faVGP6JwE2bNX8=;
b=js6zVOWDLGsJ+5kxllTX0XPFDqn0+YYwJRJIKtwY2bXfOnlpbz/RU+OWMSRSOtH23c
dBXB+xmtxvC4GH7mXUiE5Z1MEGAJVoXJdLPgvvOp/we5Iu1Jx9XEwdHx4KK84LENf5Pi
S6fo8W/f2xxABGsGteKfijaNKNTiOXTYWOprK9lYmBqZKU9+IMQp6nR8WY1K8w8P5X4t
5fQoQYblVtJq+hfKvPmAS9OHDcS5G/ZdUqoB//XpLRJqeYLkCK2yaVRWNZcsXkf8tqqg
20cn6TRvlLgDPvopdAgFh+t/yc6jjX+H3GLKErnqbK31Sb8N8pdQYw1akmxi7xqgh/Ia
FYHg==
X-Forwarded-Encrypted: i=1; AKwUvBwLtXGyWfhH+8qrx8H7cb6jdb4Mtg6sUxdvxX/42vWbvhcAmV91uXDO4BkQzuoIKR8hAnYIfws=@vger.kernel.org
X-Gm-Message-State: AFq9FYJOpsMsgIaRGzA4SSSoyI6TzQ7VckmMOt63cR/hMODwILhm+dwb
cp+Ka68Sj6QWqEbf112/UlBn1daDCrKyhLYP1KYmCXmRhysjbM/iQY0pay183kZn7ob/pUewrUm
pL2oDXW2n8jCkvKSvKuAEukdrlPUo6im8NR5B1qj1E1cpm0JFFSi1wv2Zaa2cjkb87/qQCjpcKJ
7quOAJsKoBZ04GkeHbznEH8//MkXXM4ZSI0g==
X-Gm-Gg: AYBFou1jtsp/nXEzm6gRoyCOBKxsaOlIODJGCQppgHjPYaHUCe170Y6OjLnkTo34jJL
4GZ2gJJ9vrD983Aj7wHtRNroqepCKV6gEc89w17NegKnvo+dhDDHe+nUjk0EkpLP2HsN1vLOtiY
7ZtPppoBmI9vI1OwOiBVwpFa2+RvmhgM/Xo7Gx/kw5ZMhzOoOvP2/dZ1D9jebN80kNJrNjR8A/n
px9wId6gNuzeeryih4JqWSOZVTj+Elm8+bAC947i8fHIl/MAlRQRfNM05PTHWuUHTfmEzV6eeY=
X-Received: by 2002:a05:620a:1a28:b0:93f:94b:81ce with SMTP id af79cd13be357-93f29df9e9cmr154460185a.81.1792180005636;
Fri, 16 Oct 2026 12:46:45 -0700 (PDT)
X-Received: by 2002:a05:620a:1a28:b0:93f:94b:81ce with SMTP id
af79cd13be357-93f29df9e9cmr154454685a.81.1792180004914; Fri, 16 Oct 2026
12:46:44 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261013183500.261229-2-peter.hunt@opengear.com>
X-Gm-Features: AclHuK-CR9XEUZOvZ07wl9FWbZnEXYQmRoc2w77oysNymiE6oO9QzUKYzXBBsJY
X-Cc: ryazanov.s.a@gmail.com, Daniele Palmas <dnlplm@gmail.com>,
johannes@sipsolutions.net, mani@kernel.org, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, netdev@vger.kernel.org, mhi@lists.linux.dev,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDE2MDA3OCBTYWx0ZWRfX7+uCkng89v/o
2OX6GwYTcVovkePakHR3CQADvY71bNz4Rn1umWn52U9HkNCoL83AypwEpS3DT+MDWFAJQzE2yzS
+4vTvCA5JwTvRKaK3t9of5EAb+Rux488fHs2ooMN28zG7jo0D/0a00OjvK3PAIvVn69XmB7rXir
F5jlqHX+YfOvLsfRy0sxd3ciYJK3BEjNdQoJaezY5HEysOz6yyX7BtOFbMYjq693fIIhRJKLboL
JgppYKTxI62T/tET+VPfpQd1rlzEeK2Sq4cXNSk6ug3CvnrSpsDk6/3F1IgjKC2DP1jTCVqQJGx
8lbx/F3w7/DtW6V2qOVCERvg6hzohGZ+BPpEEuIaE73T9tmtEjY9hrYGTkHD8U//+pKDPJ7AQso
YOZzzFKIsjOplr9eZ6uLrr3NBJ7wKaDWMe5AV2NCZTd77IaHvDKKhJwnhzVkMAu94/qOepXhTFR
3e42aFEQ7IFab5DdsfQ==
X-Proofpoint-ORIG-GUID: dXrnjnBbzIrberPpuRcEFCgiwBZ7uQiq
X-Proofpoint-GUID: dXrnjnBbzIrberPpuRcEFCgiwBZ7uQiq
X-Proofpoint-Spam-Info: AW1haW4tMjYxMDE2MDA3OCBTYWx0ZWRfX+wC8ws4+vcO5
5yeidyUaWwl/Z6OUA+y2ZYbew86SfpqgSKGgyIIIYDFnj0FAzHAdfiUOkaIf7ZOGmJWHIY6q8+W
eD3CXGQnHtmNEQO0fMYzYhBEuPb5jHI=
X-Authority-Analysis: v=2.4 cv=VpS2kO2n c=1 sm=1 tr=0 ts=6ad27f27 cx=c_pps
a=50t2pK5VMbmlHzFWWp8p/g==:117 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10
a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22
a=DJpcGTmdVt4CTyJn9g5Z:22 a=t2vznHeBAAAA:8 a=EUspDBNiAAAA:8
a=qh7v8B4ApeZPtt9jo1oA:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22
a=V_BghkRpYkFyHJIZkSH6:22
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49
definitions=2026-10-16_03,2026-10-14_01,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
suspectscore=0 bulkscore=0 adultscore=0 phishscore=0 clxscore=1015
malwarescore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0
spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound
adjust=0 reason=mlx scancount=1 engine=8.22.0-2610080000
definitions=main-2610160078