[PATCH v2] i3c: dw-i3c-master: Set SIR_REJECT in DAT on device attach and reattach

Alexandre Belloni alexandre.belloni at bootlin.com
Wed Mar 11 14:52:35 PDT 2026


On Fri, 13 Feb 2026 14:00:48 +0800, adrianhoyin.ng at altera.com wrote:
> The DesignWare I3C master controller ACKs IBIs as soon as a valid
> Device Address Table (DAT) entry is present. This can create a race
> between device attachment (after DAA) and the point where the client
> driver enables IBIs via i3c_device_enable_ibi().
> 
> Set DEV_ADDR_TABLE_SIR_REJECT in the DAT entry during
> attach_i3c_dev() and reattach_i3c_dev() so that IBIs are rejected
> by default. The bit is managed thereafter by the existing
> dw_i3c_master_set_sir_enabled() function, which clears it in
> enable_ibi() after ENEC is issued, and restores it in disable_ibi()
> after DISEC.
> 
> [...]

Applied, thanks!

[1/1] i3c: dw-i3c-master: Set SIR_REJECT in DAT on device attach and reattach
      https://git.kernel.org/abelloni/c/f311a0578463

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the linux-i3c mailing list