Re: [PATCH] i3c: mipi-i3c-hci: fix atomic updates to RING_OPERATION1 register

From: Billy Tsai

Date: Thu Apr 02 2026 - 03:57:33 EST


On 01/04/2026 08:04:45+0000, Billy Tsai wrote:
> > Hi Adrian,
> >
> > Thank you for the clarification. I overlooked the lock in i3c_hci_irq_handler() in core.c.

> Just to be clear, did you use AI to find the issue ?

We have encountered a similar issue before, but addressed it using a different approach:
https://github.com/AspeedTech-BMC/linux/commit/aaf426c3d00ca06a5c0bd3667591ab579896726e
https://github.com/AspeedTech-BMC/linux/commit/a9428fffc7e64242b880ceee5443d094bc6cae14

For the upstream version, I noticed that you have also added fixes for this issue. I used
an AI tool to review and compare your solution with ours, and it highlighted the
differences in this patch.

Thanks