Repository navigation
zephyr: test: userspace: intel_hda_dma: convert to use IPC service - #11387
Merged
Merged
Conversation
Convert the test case to use Zephyr IPC service interface. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
kv2019i
requested review from
abonislawski,
dbaluta,
iuliana-prodan and
lyakh
as code owners
November 2, 2026 10:47
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The IPC backend and cavstool harness are outside the snapshot, so endpoint contracts, acknowledgement handling, and the revised DMA drain condition require validation on Intel ADSP hardware.
No open issues 🎉
What changed in this PR
Converts the userspace Intel HDA DMA test to use Zephyr’s IPC service for communication with the cavstool host.
Changes:
- Replaces direct IPC handlers with endpoint registration, messaging, and cleanup.
- Adds explicit waits for host acknowledgments and validation results.
- Updates DMA completion polling to wait until no data remains pending.
| File | Description |
|---|---|
zephyr/test/userspace/test_intel_hda_dma.c |
Migrates host communication to the IPC service and updates transfer completion and validation synchronization. |
Review effort: Balanced
PR 11387: test resultsRun date: 2026-11-02 12:00 UTC Tested commit: b0df52d38250f41564dd9449a778939bce4c456d |
lgirdwood
approved these changes
Nov 2, 2026
Collaborator
Author
|
FYI @tmleman this old IPC API user now converted |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Convert the test case to use Zephyr IPC service interface.