]> git.ipfire.org Git - thirdparty/linux.git/commit
i3c: mipi-i3c-hci: Add DMA ring abort quirk for Intel controllers
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 3 Jun 2026 09:07:48 +0000 (12:07 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 14 Jun 2026 15:21:34 +0000 (17:21 +0200)
commit352d89067f78f27fc7b72e571fadf08d1d637ecb
tree57e03e6a41ddebd8ade3d7adabb05984fdebe07a
parent5d3855504912073270fda859021edd4c994ad758
i3c: mipi-i3c-hci: Add DMA ring abort quirk for Intel controllers

DMA rings can be aborted either per-ring via RING_CONTROL or globally
via HC_CONTROL_ABORT. The driver currently relies on the per-ring
mechanism.

Some Intel I3C HCI controllers require HC_CONTROL_ABORT to be asserted
before a DMA ring abort is effective.  This behavior is non-standard.
Introduce a controller quirk to select the required abort method and
enable it for Intel LPSS I3C controllers.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260603090754.16252-12-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/core.c
drivers/i3c/master/mipi-i3c-hci/dma.c
drivers/i3c/master/mipi-i3c-hci/hci.h