From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
To: linux-i3c@lists.infradead.org
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>,
Frank Li <Frank.Li@nxp.com>,
Jarkko Nikula <jarkko.nikula@linux.intel.com>
Subject: [PATCH v2 0/4] i3c: mipi-i3c-hci: Make able to work with IOMMU enabled
Date: Fri, 15 Aug 2025 17:12:38 +0300 [thread overview]
Message-ID: <20250815141242.2013767-1-jarkko.nikula@linux.intel.com> (raw)
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
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
next reply other threads:[~2025-08-15 16:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-15 14:12 Jarkko Nikula [this message]
2025-08-15 14:12 ` [PATCH v2 1/4] i3c: master: Add helpers for DMA mapping and bounce buffer handling Jarkko Nikula
2025-08-18 16:07 ` Frank Li
2025-08-19 6:08 ` Jarkko Nikula
2025-08-19 14:26 ` Frank Li
2025-08-15 14:12 ` [PATCH v2 2/4] i3c: mipi-i3c-hci: Use core helpers for DMA mapping and bounce buffering Jarkko Nikula
2025-08-18 16:17 ` Frank Li
2025-08-19 6:15 ` Jarkko Nikula
2025-08-19 14:22 ` Frank Li
2025-08-15 14:12 ` [PATCH v2 3/4] i3c: mipi-i3c-hci: Use physical device pointer with DMA API Jarkko Nikula
2025-08-18 16:28 ` Frank Li
2025-08-19 6:27 ` Jarkko Nikula
2025-08-19 14:14 ` Frank Li
2025-08-15 14:12 ` [PATCH v2 4/4] i3c: mipi-i3c-hci: Use own DMA bounce buffer management for I2C transfers Jarkko Nikula
2025-08-18 16:29 ` Frank Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250815141242.2013767-1-jarkko.nikula@linux.intel.com \
--to=jarkko.nikula@linux.intel.com \
--cc=Frank.Li@nxp.com \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-i3c@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).