From: "Pathak, Asutosh" <asutosh.pathak@linux.intel.com>
To: samagazaryan@google.com
Cc: alexandre.belloni@bootlin.com, Frank.Li@nxp.com,
meaganlloyd@linux.microsoft.com, linux-i3c@lists.infradead.org
Subject: Re: [PATCH v5 0/5] i3c: add i3cdev module to expose i3c dev in /dev
Date: Fri, 13 Nov 2026 10:11:36 -0800 [thread overview]
Message-ID: <298e818d-90b5-4231-bbc6-ef840c0691ca@linux.intel.com> (raw)
Hi Sam,
Alexandre pointed me at this series. I'm working on a driver for the USB-I3C
device class (USB class 0x3C) - a USB device that acts as an I3C controller,
with a host-side tool (OpenIPC) that drives the bus from userspace. The master
part registers normally, so its targets would show up as i3cdev nodes and we'd
rather use I3C_IOC_XFER than carry our own ioctls. So +1 on the direction.
A few things we need that the current UAPI doesn't cover yet - wanted to raise
them now rather than after it lands:
1. IBIs to userspace. Our main use case is reacting to target interrupts, but
i3cdev is transfer-only today. We'd need a way to get IBIs (and ideally
hot-join) delivered to the fd - poll()/read() of an event, or similar.
This is the big one for us.
2. Larger transfers. len/actual_len are u16 and I3C_IOC_XFER caps the count.
Our bulk flows go past 64K, so we'd want either a larger width or a
documented way to split without dropping the bus lock mid-sequence.
3. Explicit opt-in over auto-attach. For bring-up/validation we don't want a
node appearing just because a driver got unbound - Meagan's driver_override
approach fits us better, and it also answers Andy's HW-damage concern.
4. CCCs from userspace. The union { rnw; cmd; } looks like it's meant for this -
just confirming direct/broadcast CCCs are in scope, since our tooling needs
them.
Happy to help with (1) if you want - it's the piece we care about most and I
suspect the recovery/BMC folks could use it too. Not trying to expand the scope
of v5, just flagging so the ABI leaves room.
Thanks,
Asutosh
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
next reply other threads:[~2026-11-13 18:11 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 18:11 Pathak, Asutosh [this message]
2026-11-13 21:03 ` [PATCH v5 0/5] i3c: add i3cdev module to expose i3c dev in /dev Alexandre Belloni
-- strict thread matches above, loose matches on Subject: below --
2026-09-21 23:05 Sam Agazaryan
2026-09-25 9:08 ` Andy Shevchenko
2026-09-25 10:57 ` Wolfram Sang
2026-10-10 4:05 ` Sam Agazaryan
2026-10-13 14:15 ` Andy Shevchenko
2026-10-18 20:28 ` Sam Agazaryan
2026-10-19 9:45 ` Andy Shevchenko
2026-10-19 9:47 ` Andy Shevchenko
2026-10-20 21:20 ` Sam Agazaryan
2026-10-21 9:57 ` Alexandre Belloni
2026-10-21 13:03 ` Andy Shevchenko
2026-10-22 20:23 ` Sam Agazaryan
2026-10-26 10:55 ` Andy Shevchenko
2026-11-09 6:11 ` Sam Agazaryan
2026-11-09 21:49 ` Andy Shevchenko
2026-11-11 5:20 ` Sam Agazaryan
2026-10-23 0:17 ` Sam Agazaryan
2026-11-12 9:41 ` Alexandre Belloni
2026-10-21 13:00 ` Andy Shevchenko
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=298e818d-90b5-4231-bbc6-ef840c0691ca@linux.intel.com \
--to=asutosh.pathak@linux.intel.com \
--cc=Frank.Li@nxp.com \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-i3c@lists.infradead.org \
--cc=meaganlloyd@linux.microsoft.com \
--cc=samagazaryan@google.com \
/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