[PATCH v4 0/2] i3c: dw-i3c-master: scoped spinlock guards and SIR reject fix

Alexandre Belloni alexandre.belloni at bootlin.com
Fri Jan 30 15:07:57 PST 2026


On Tue, 27 Jan 2026 10:05:05 +0800, adrianhoyin.ng at altera.com wrote:
> From: Adrian Ng Ho Yin <adrianhoyin.ng at altera.com>
> 
> This patchset replaces open-coded spin_lock_irqsave()/spin_unlock_irqrestore()
> pairs with scoped spinlock guards to reduce boilerplate and ensure correct
> lock release on scope exit.
> 
> In a subsequent patch it fixes the SIR reject bit mapping used for IBI
> handling. The IBI_SIR_REQ_REJECT register is indexed by a folded form of
> the 7-bit dynamic address, but the driver currently uses the device table
> index. This can result in IBIs being rejected or accepted for the wrong
> device. The patch derives the bit index directly from the dynamic address
> as defined by the controller.
> 
> [...]

Applied, thanks!

[1/2] i3c: dw-i3c-master: convert spinlock usage to scoped guards
      https://git.kernel.org/i3c/c/c7311aa4a71e
[2/2] i3c: dw-i3c-master: fix SIR reject bit mapping for dynamic addresses
      https://git.kernel.org/i3c/c/ed318b3fb4ab

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