diff options
| author | Sumit Kumar <sumit.kumar@oss.qualcomm.com> | 2026-10-05 16:09:31 +0530 |
|---|---|---|
| committer | Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> | 2026-10-11 21:52:48 +0530 |
| commit | 0b1883ca75c0005ab5ca52c7bc1a26329bc39746 (patch) | |
| tree | f3d79e3e1ca9c34e8b7195a777f2564e21492c80 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f9ff616f57471389893475166f10765d77854e9a (diff) | |
| download | linux-next-0b1883ca75c0005ab5ca52c7bc1a26329bc39746.tar.gz linux-next-0b1883ca75c0005ab5ca52c7bc1a26329bc39746.zip | |
bus: mhi: ep: clients: Add loopback driver for data path testing
When an MHI endpoint device runs Linux, there is no firmware to implement
the LOOPBACK channel echo that real modem firmware provides. Without an
endpoint-side driver, the host loopback test has no software echo partner
and cannot exercise the full end-to-end MHI data path.
Add an endpoint-side loopback driver that binds to the LOOPBACK channel and
echoes received data back to the host. An ordered workqueue is used for
asynchronous processing to preserve packet ordering. Together with the
host-side loopback driver, this enables complete MHI data path validation
for Linux-based endpoint devices.
Co-developed-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Signed-off-by: Sumit Kumar <sumit.kumar@oss.qualcomm.com>
Link: https://patch.msgid.link/20261005-lb-v7-3-36a268b6386f@oss.qualcomm.com
[mani: fixed checkpatch warnings]
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
