linux/drivers/i3c
Adrian Hunter b6d586431a i3c: mipi-i3c-hci: Restart DMA ring correctly after dequeue abort
The DMA dequeue path attempts to restart the ring after aborting an
in-flight transfer, but the current sequence is incomplete. The controller
must be brought out of the aborted state and the ring control registers
must be programmed in the correct order: first clearing ABORT, then
re-enabling the ring and asserting RUN_STOP to resume operation.

Add the missing controller resume step and update the ring control writes
so that the ring is restarted using the proper sequence.

Fixes: 9ad9a52cce ("i3c/master: introduce the mipi-i3c-hci driver")
Cc: stable@vger.kernel.org
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260306072451.11131-11-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
History 2026-03-11 22:10:02 +01:00
..
master i3c: mipi-i3c-hci: Restart DMA ring correctly after dequeue abort 2026-03-11 22:10:02 +01:00
device.c i3c: master: Introduce optional Runtime PM support 2026-01-14 17:21:10 +01:00
internals.h i3c: master: Introduce optional Runtime PM support 2026-01-14 17:21:10 +01:00
Kconfig i3c: simplify combined i3c/i2c dependencies 2026-02-27 16:33:07 +01:00
Makefile i3c: Add core I3C infrastructure 2018-11-12 10:33:49 +01:00
master.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00