Draft
Conversation
5c7af85 to
9eb49af
Compare
checkpatch flags too many false positives in the SOF codebase to be considered useful. Notwithstanding it does not cope with assembler, matlab and topology very well. Remove and use clang-format instead which is understood by modern editors and agents. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Move the initialization of `bsource_list`, `bsink_list`, and performance tracking telemetry data from `comp_new_ipc4()` directly into `ipc4_add_comp_dev()`. This refactoring centralizes core component setup logic deeper into the device addition routine, allowing it to be directly leveraged by mock component setups (like the Zephyr usermode IPC pipeline tests). This ensures manual test components correctly initialize their data structures via core infrastructure APIs instead of relying on redundant manual list tracking, promoting better API safety and reusability. As a result, `ipc4_add_comp_dev()` is now defined in `component_ext.h` as a globally accessible symbol, dropping its static scope. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the aria module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the asrc module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the codec module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the copier module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the crossover module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the dcblock module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the google module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the igo_nr module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the level_multiplier module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the mfcc module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the mic_privacy_manager module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the mixin_mixout module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the multiband_drc module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the nxp module, validating component instantiation and evaluation configuration structs bindings. Contains fixes to eap_stub.c mitigating uninitialized trace string pointer dereference. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the rtnr module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the smart_amp module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the sound_dose module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the src module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the stft_process module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the tdfb module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the tensorflow module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the tone module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add the ztest framework test cases for the up_down_mixer module, validating component instantiation and evaluation configuration structs bindings. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Define new connector node ID types for QEMU test input and output classes, and add a QEMU gateway type. Also expose pipeline creation and deletion functions globally to support testing in userspace. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add a new QEMU gateway implementation to the copier component to facilitate userspace pipeline testing. This allows the copier to interface directly with the QEMU test environment, handling input and output classes specific to QEMU. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add zassert_not_null checks to userspace tests for Intel HDA DMA and SSP DAI. This verifies that the retrieved DMA and DAI device pointers are valid and not null before attempting to use them in the test cases. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Refactor test_ipc4_pipeline.c by splitting it into a common utility header and source file, alongside dedicated test files for native and user space. This improves code organization and separates test execution environments. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
d7d6b73 to
77fa25d
Compare
Member
Author
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.
Very basic/simple ztest to start with user LL. For developers only, lots still todo. Includes qemu support for dc233c atm.