Skip to content

topology2: Revert the conditional topology2 building for CAVS/ACE - #6325

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
ujfalusi:peter/pr/topology2_build_fix
Sep 23, 2022
Merged

lgirdwood merged 1 commit into
thesofproject:mainfrom
ujfalusi:peter/pr/topology2_build_fix

Conversation

@ujfalusi

Copy link
Copy Markdown
Contributor

The MTL support added conditional build for topology2 based on CONFIG_CAVS or CONFIG_ACE.
This is wrong for several reasons:
There is not ace directory present
The Kconfig system is not used when building topologies, so we are ending up not building topology2 files at all.

There is no reason why CAVS and ACE topologies should be exclusive.

Fixes: 784bce7 ("mtl: Added meteorlake platform to the build system")
Signed-off-by: Peter Ujfalusi peter.ujfalusi@linux.intel.com

The MTL support added conditional build for topology2 based on CONFIG_CAVS
or CONFIG_ACE.
This is wrong for several reasons:
There is not ace directory present
The Kconfig system is not used when building topologies, so we are ending
up not building topology2 files at all.

There is no reason why CAVS and ACE topologies should be exclusive.

Fixes: 784bce7 ("mtl: Added meteorlake platform to the build system")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>

@marc-hb marc-hb left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@softwarecki did you take some time off?

topology2 visible in
https://sof-ci.01.org/sofpr/PR6325/build1632/build/tools.txt

@marc-hb marc-hb added bug Something isn't working as expected P1 Blocker bugs or important features labels Sep 23, 2022
@plbossart

Copy link
Copy Markdown
Member

I guess the topology2 issue was not found because we don't test the IPC4/topology2 configurations in the firmware PRs.

That's a big miss I am afraid. we probably need to move some daily test IPC4/topology2 devices to cover firmware and kernel PRs now. @keqiaozhang @lgirdwood @mengdonglin FYI

@keqiaozhang

Copy link
Copy Markdown
Collaborator

That's a big miss I am afraid. we probably need to move some daily test IPC4/topology2 devices to cover firmware and kernel PRs now

The reason why IPC4 was not added to the PR before is that the IPC4 test results were very bad at that time, but now it is much better. According to today's daily results, we have 3 critical issues left: FW# 6220 FW# 6203 and FW# 6213.

http://sof-ci.sh.intel.com/#/result/planresultdetail/15598

I think we can add TGLU_RVP_NOCODEC_IPC4ZPH to PR test first.

@plbossart

Copy link
Copy Markdown
Member

That's a big miss I am afraid. we probably need to move some daily test IPC4/topology2 devices to cover firmware and kernel PRs now

The reason why IPC4 was not added to the PR before is that the IPC4 test results were very bad at that time, but now it is much better. According to today's daily results, we have 3 critical issues left: FW# 6220 FW# 6203 and FW# 6213.

http://sof-ci.sh.intel.com/#/result/planresultdetail/15598

I think we can add TGLU_RVP_NOCODEC_IPC4ZPH to PR test first.

That would be useful indeed (assuming we have no conflicts in resource usage)

I think we should include the basics of boot, checks on firmware and topology and what is known to work. The known issues can still be tracked in daily tests and the remaining test cases enabled in PRs when they are fixed.

@lgirdwood
lgirdwood merged commit 2474fb4 into thesofproject:main Sep 23, 2022
@ujfalusi
ujfalusi deleted the peter/pr/topology2_build_fix branch August 17, 2023 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected P1 Blocker bugs or important features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants