Re: [PATCH v7 0/3] bus: mhi: Add loopback driver

From: Manivannan Sadhasivam

Date: Sun Oct 11 2026 - 12:24:06 EST



On Mon, 05 Oct 2026 16:09:28 +0530, Sumit Kumar wrote:
> The MHI specification defines a LOOPBACK channel that is already
> implemented by MHI-based devices (modems, WLAN) deployed in the field.
> The endpoint firmware echoes back whatever the host sends on this channel.
> Without a host-side driver, there is no way to exercise this channel to
> validate MHI data path integrity between host and endpoint.
>
> This series adds drivers to exercise the LOOPBACK channel from both the
> host and endpoint sides. The host driver (patch 1) binds to the LOOPBACK
> channel and provides a sysfs interface for configuring transfer parameters,
> triggering a test, and reading the result. The sysfs interface is stable
> ABI because the wire protocol is fixed by the endpoint firmware already
> deployed in the field and cannot be changed.
>
> [...]

Applied, thanks!

[1/3] bus: mhi: host: clients: Add loopback driver with sysfs interface
commit: dd93cef28dcb604375236a9cfa8c683e25b66e33
[2/3] bus: mhi: ep: Add mhi_ep_queue_buf() API for raw buffer queuing
commit: f9ff616f57471389893475166f10765d77854e9a
[3/3] bus: mhi: ep: clients: Add loopback driver for data path testing
commit: 0b1883ca75c0005ab5ca52c7bc1a26329bc39746

Best regards,
--
மணிவண்ணன் சதாசிவம்