Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Sep 24, 2025

Add test for using zephyr/cache.h from user-space. Contains commits from #10119 , so marked as draft until dependency PR is first merged.

lyakh and others added 5 commits September 15, 2025 17:09
SYS_INIT() API has changed, initialisation functions now have to
return an integer error code. Fix building SOF boot-test.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Fix a recent VMH test build breakage and enable it on newer ACE
platforms.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
PTL supports user-space, add a boot test for it.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Re-enable boot-testing now that the DSP panic has been fixed.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Add simple tests that call cache invalidate and flush from a user-space
thread.

This does not currently have any negative tests (attempt to invalidate
an buffer the user space thread does not have access to), as these
currently result in kernel oops on xtensa.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i kv2019i force-pushed the 202509-audio-usercache-ztest branch from 6211b64 to 868ddf5 Compare September 30, 2025 09:59
@kv2019i
Copy link
Collaborator Author

kv2019i commented Sep 30, 2025

V2:

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lgirdwood
Copy link
Member

Btw, will our Ztests give us perf data for each call i.e. can we print out cycles in test results ?

@softwarecki softwarecki self-requested a review October 15, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants