Netdev List
 help / color / mirror / Atom feed
* [PATCH net v9 0/2] nfc: nci: uart: split driver selection fixes
@ 2026-11-30  4:00 Shubham Antil
  2026-11-30  4:00 ` [PATCH net v9 1/2] nfc: nci: uart: protect the driver registry Shubham Antil
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shubham Antil @ 2026-11-30  4:00 UTC (permalink / raw)
  To: netdev; +Cc: Simon Horman, gio, David Heidelberg, oe-linux-nfc, Shubham Antil

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-30  4:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  4:00 [PATCH net v9 0/2] nfc: nci: uart: split driver selection fixes Shubham Antil
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox