Skip to content

Conversation

@abonislawski
Copy link
Member

Enable for all ACE platforms

Copilot AI review requested due to automatic review settings October 16, 2025 09:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Broadens the CMake condition so the boot test sources are included for all ACE platforms instead of only version 1.5.

  • Replaces version-specific Kconfig symbol CONFIG_ACE_VERSION_1_5 with more general CONFIG_ACE
  • Keeps existing conditional inclusion of vmh.c under CONFIG_SOF_BOOT_TEST

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@@ -1,4 +1,4 @@
if (CONFIG_ACE_VERSION_1_5)
if (CONFIG_ACE)
Copy link
Collaborator

Choose a reason for hiding this comment

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

@abonislawski I think this is better, but I wonder if this could be made an ifdef on whether VMH is enabled or not? This would better scale up with different platforms...

Copy link
Member Author

Choose a reason for hiding this comment

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

Definitely good idea! I just pushed new version with generic kconfigs

Copy link
Contributor

@tmleman tmleman left a comment

Choose a reason for hiding this comment

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

LGTM

@lyakh
Copy link
Collaborator

lyakh commented Oct 17, 2025

I think we've originally only enabled it for MTL to try and see what the performance impact would be... But if tests are passing and nobody objects - sure, the more testing, the better

@lyakh
Copy link
Collaborator

lyakh commented Oct 17, 2025

at least I wouldn't call this a "fix" - it wasn't an oversight, it was a conscious decision to limit the scope of the feature

- Remove platform dependency
- Add CONFIG_SOF_BOOT_TEST and CONFIG_VIRTUAL_HEAP dependency

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
@abonislawski
Copy link
Member Author

Commit message updated with generic kconfigs

@abonislawski abonislawski changed the title boot_test: fix CMake condition for ACE platforms boot_test: use generic Kconfig for CMake conditions Oct 17, 2025
@lgirdwood lgirdwood merged commit d9e15d5 into thesofproject:main Oct 19, 2025
38 of 45 checks passed
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.

5 participants