From: Adrian Hunter <adrian.hunter@intel.com>
To: alexandre.belloni@bootlin.com
Cc: Frank.Li@nxp.com, linux-i3c@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/8] i3c: Hot-Join improvements and MIPI HCI Hot-Join support
Date: Tue, 12 May 2026 15:17:24 +0300 [thread overview]
Message-ID: <20260512121732.406009-1-adrian.hunter@intel.com> (raw)
Hi
This series tightens the I3C core's handling of Hot-Join across system
suspend, shutdown and unregister, consolidates the per-driver Hot-Join
worker into the core, and finally wires the MIPI I3C HCI driver into the
new Hot-Join framework.
It applies on top of:
https://lore.kernel.org/linux-i3c/20260504113352.38490-1-adrian.hunter@intel.com/
Patches 1-2 fix latent races in the existing Hot-Join machinery
(suspend vs. Hot-Join work, and concurrent sysfs writers).
Patches 3-5 consolidate the per-driver Hot-Join worker into the core
and add proper teardown via an i3c_bus_type shutdown callback.
Patch 6 defers driver-model registration of newly discovered devices
out of the DAA caller's context, so resume-time DAA does not push
device probing into the controller's resume sequence.
Patches 7-8 add Hot-Join support to MIPI I3C HCI.
Adrian Hunter (8):
i3c: master: Make hot-join workqueue freezable to block hot-join during suspend
i3c: master: Serialize i3c_set_hotjoin() with the maintenance lock
i3c: master: Consolidate Hot-Join DAA work in the core
i3c: master: Ensure Hot-Join operations are stopped on shutdown
i3c: dw: Drop redundant Hot-Join cancel_work_sync() in shutdown
i3c: master: Defer new-device registration out of DAA caller context
i3c: master: Export i3c_master_enec_disec_locked()
i3c: mipi-i3c-hci: Add Hot-Join support
drivers/i3c/master.c | 123 ++++++++++++++++++++++++++-------
drivers/i3c/master/dw-i3c-master.c | 15 +---
drivers/i3c/master/dw-i3c-master.h | 2 -
drivers/i3c/master/i3c-master-cdns.c | 14 +---
drivers/i3c/master/mipi-i3c-hci/core.c | 50 +++++++++++++-
drivers/i3c/master/mipi-i3c-hci/dma.c | 5 ++
drivers/i3c/master/mipi-i3c-hci/hci.h | 1 +
drivers/i3c/master/mipi-i3c-hci/pio.c | 5 ++
drivers/i3c/master/svc-i3c-master.c | 14 +---
include/linux/i3c/master.h | 16 ++++-
10 files changed, 174 insertions(+), 71 deletions(-)
Regards
Adrian
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
WARNING: multiple messages have this Message-ID (diff)
From: Adrian Hunter <adrian.hunter@intel.com>
To: alexandre.belloni@bootlin.com
Cc: Frank.Li@nxp.com, linux-i3c@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/8] i3c: Hot-Join improvements and MIPI HCI Hot-Join support
Date: Tue, 12 May 2026 15:17:24 +0300 [thread overview]
Message-ID: <20260512121732.406009-1-adrian.hunter@intel.com> (raw)
Hi
This series tightens the I3C core's handling of Hot-Join across system
suspend, shutdown and unregister, consolidates the per-driver Hot-Join
worker into the core, and finally wires the MIPI I3C HCI driver into the
new Hot-Join framework.
It applies on top of:
https://lore.kernel.org/linux-i3c/20260504113352.38490-1-adrian.hunter@intel.com/
Patches 1-2 fix latent races in the existing Hot-Join machinery
(suspend vs. Hot-Join work, and concurrent sysfs writers).
Patches 3-5 consolidate the per-driver Hot-Join worker into the core
and add proper teardown via an i3c_bus_type shutdown callback.
Patch 6 defers driver-model registration of newly discovered devices
out of the DAA caller's context, so resume-time DAA does not push
device probing into the controller's resume sequence.
Patches 7-8 add Hot-Join support to MIPI I3C HCI.
Adrian Hunter (8):
i3c: master: Make hot-join workqueue freezable to block hot-join during suspend
i3c: master: Serialize i3c_set_hotjoin() with the maintenance lock
i3c: master: Consolidate Hot-Join DAA work in the core
i3c: master: Ensure Hot-Join operations are stopped on shutdown
i3c: dw: Drop redundant Hot-Join cancel_work_sync() in shutdown
i3c: master: Defer new-device registration out of DAA caller context
i3c: master: Export i3c_master_enec_disec_locked()
i3c: mipi-i3c-hci: Add Hot-Join support
drivers/i3c/master.c | 123 ++++++++++++++++++++++++++-------
drivers/i3c/master/dw-i3c-master.c | 15 +---
drivers/i3c/master/dw-i3c-master.h | 2 -
drivers/i3c/master/i3c-master-cdns.c | 14 +---
drivers/i3c/master/mipi-i3c-hci/core.c | 50 +++++++++++++-
drivers/i3c/master/mipi-i3c-hci/dma.c | 5 ++
drivers/i3c/master/mipi-i3c-hci/hci.h | 1 +
drivers/i3c/master/mipi-i3c-hci/pio.c | 5 ++
drivers/i3c/master/svc-i3c-master.c | 14 +---
include/linux/i3c/master.h | 16 ++++-
10 files changed, 174 insertions(+), 71 deletions(-)
Regards
Adrian
next reply other threads:[~2026-05-12 12:17 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-12 12:17 Adrian Hunter [this message]
2026-05-12 12:17 ` [PATCH 0/8] i3c: Hot-Join improvements and MIPI HCI Hot-Join support Adrian Hunter
2026-05-12 12:17 ` [PATCH 1/8] i3c: master: Make hot-join workqueue freezable to block hot-join during suspend Adrian Hunter
2026-05-12 12:17 ` Adrian Hunter
2026-05-12 16:09 ` Frank Li
2026-05-12 16:09 ` Frank Li
2026-05-12 12:17 ` [PATCH 2/8] i3c: master: Serialize i3c_set_hotjoin() with the maintenance lock Adrian Hunter
2026-05-12 12:17 ` Adrian Hunter
2026-05-12 16:11 ` Frank Li
2026-05-12 16:11 ` Frank Li
2026-05-12 19:42 ` David Nyström
2026-05-12 19:42 ` David Nyström
2026-05-13 5:01 ` Adrian Hunter
2026-05-13 5:01 ` Adrian Hunter
2026-05-13 10:21 ` David Nyström
2026-05-13 10:21 ` David Nyström
2026-05-13 5:09 ` Adrian Hunter
2026-05-13 5:09 ` Adrian Hunter
2026-05-12 12:17 ` [PATCH 3/8] i3c: master: Consolidate Hot-Join DAA work in the core Adrian Hunter
2026-05-12 12:17 ` Adrian Hunter
2026-05-12 16:16 ` Frank Li
2026-05-12 16:16 ` Frank Li
2026-05-12 12:17 ` [PATCH 4/8] i3c: master: Ensure Hot-Join operations are stopped on shutdown Adrian Hunter
2026-05-12 12:17 ` Adrian Hunter
2026-05-12 16:27 ` Frank Li
2026-05-12 16:27 ` Frank Li
2026-05-13 5:31 ` Adrian Hunter
2026-05-13 5:31 ` Adrian Hunter
2026-05-13 19:04 ` Frank Li
2026-05-13 19:04 ` Frank Li
2026-05-12 12:17 ` [PATCH 5/8] i3c: dw: Drop redundant Hot-Join cancel_work_sync() in shutdown Adrian Hunter
2026-05-12 12:17 ` Adrian Hunter
2026-05-12 16:30 ` Frank Li
2026-05-12 16:30 ` Frank Li
2026-05-12 12:17 ` [PATCH 6/8] i3c: master: Defer new-device registration out of DAA caller context Adrian Hunter
2026-05-12 12:17 ` Adrian Hunter
2026-05-12 16:39 ` Frank Li
2026-05-12 16:39 ` Frank Li
2026-05-13 5:45 ` Adrian Hunter
2026-05-13 5:45 ` Adrian Hunter
2026-05-13 10:20 ` David Nyström
2026-05-13 10:20 ` David Nyström
2026-05-13 19:03 ` Frank Li
2026-05-13 19:03 ` Frank Li
2026-05-15 16:42 ` Adrian Hunter
2026-05-15 16:42 ` Adrian Hunter
2026-05-12 12:17 ` [PATCH 7/8] i3c: master: Export i3c_master_enec_disec_locked() Adrian Hunter
2026-05-12 12:17 ` Adrian Hunter
2026-05-12 16:31 ` Frank Li
2026-05-12 16:31 ` Frank Li
2026-05-12 12:17 ` [PATCH 8/8] i3c: mipi-i3c-hci: Add Hot-Join support Adrian Hunter
2026-05-12 12:17 ` Adrian Hunter
2026-05-12 16:34 ` Frank Li
2026-05-12 16:34 ` Frank Li
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=20260512121732.406009-1-adrian.hunter@intel.com \
--to=adrian.hunter@intel.com \
--cc=Frank.Li@nxp.com \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.