Netdev List
 help / color / mirror / Atom feed
From: Shubham Antil <shubham@octane.security>
To: netdev@vger.kernel.org
Cc: Simon Horman <horms@kernel.org>,
	gio@octane.security, David Heidelberg <david@ixit.cz>,
	oe-linux-nfc@lists.linux.dev,
	Shubham Antil <shubham@octane.security>
Subject: [PATCH net v9 0/2] nfc: nci: uart: split driver selection fixes
Date: Mon, 30 Nov 2026 09:30:43 +0530	[thread overview]
Message-ID: <20261130040045.41928-1-shubham@octane.security> (raw)

The v8 series combined several independent NFC fixes.  This submission
contains only the NCI UART driver-selection fixes and splits the registry
lifetime change from the per-line-discipline selection change.

The first patch protects the transport registry and pins a transport
module before copying its template.  The second patch serializes the
existing allocate, open, and publish sequence with a sleepable mutex and
keeps failed selections retryable.

The issues were found during an AI-assisted source audit using OpenAI
Codex, gpt-5.6-sol.  Patch development and test planning used the same
assistant.

Each mail patch was applied independently to the base below on the Linux
test host.  The affected NFC objects built after every patch with W=1 and
sparse.  No physical Marvell controller was available.

Changes since v8:

  - send the driver-selection fixes as an independent patch set
  - separate registry lifetime protection from selection serialization
  - retain late publication and use a small selection mutex
  - add the requested AI-assistance trailer

Shubham Antil (2):
  nfc: nci: uart: protect the driver registry
  nfc: nci: uart: serialize driver selection

 net/nfc/nci/uart.c | 61 +++++++++++++++++++++++++++++++---------------
 1 file changed, 41 insertions(+), 20 deletions(-)


base-commit: 30c71476d842b094651bd7712f6c8ee8716147d0
-- 
2.54.0


             reply	other threads:[~2026-11-30  4:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  4:00 Shubham Antil [this message]
2026-11-30  4:00 ` [PATCH net v9 1/2] nfc: nci: uart: protect the driver registry Shubham Antil
2026-11-30  4:00 ` [PATCH net v9 2/2] nfc: nci: uart: serialize driver selection Shubham Antil
2026-11-30  4:03 ` [PATCH net v9 0/2] nfc: nci: uart: split driver selection fixes netdev-bot+sinfo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130040045.41928-1-shubham@octane.security \
    --to=shubham@octane.security \
    --cc=david@ixit.cz \
    --cc=gio@octane.security \
    --cc=horms@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oe-linux-nfc@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox