[PATCH v2 0/4] i3c: mipi-i3c-hci: Make able to work with IOMMU enabled
Jarkko Nikula
jarkko.nikula at linux.intel.com
Fri Aug 15 07:12:38 PDT 2025
Hi
Here's the 2nd version of common I3C core DMA mapping and bounce buffering
handling and making the MIPI I3C HCI able to work with IOMMU enabled.
Changes to the v1:
- DMA mapping length is also cache_line_size() aligned in order to avoid
possible double bouncing from the SWIOTLB.
- Using DEFINE_FREE and __free infra for cleanup and changes to the other
patches accordingly.
- Added more description to the patch 1/4 commit log and slight corrections
to others.
---
v1: http://lists.infradead.org/pipermail/linux-i3c/2025-July/002721.html
Jarkko Nikula (4):
i3c: master: Add helpers for DMA mapping and bounce buffer handling
i3c: mipi-i3c-hci: Use core helpers for DMA mapping and bounce
buffering
i3c: mipi-i3c-hci: Use physical device pointer with DMA API
i3c: mipi-i3c-hci: Use own DMA bounce buffer management for I2C
transfers
drivers/i3c/master.c | 69 ++++++++++++++++++++++++
drivers/i3c/master/mipi-i3c-hci/core.c | 40 +-------------
drivers/i3c/master/mipi-i3c-hci/dma.c | 74 +++++++++++++++-----------
drivers/i3c/master/mipi-i3c-hci/hci.h | 3 +-
include/linux/i3c/master.h | 26 +++++++++
5 files changed, 140 insertions(+), 72 deletions(-)
--
2.47.2
More information about the linux-i3c
mailing list