-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zephyr: cavs: use zephyr pm, clk and dma glue #7183
Conversation
ee870c4
to
7016c6e
Compare
@juimonen ping ? any update ? |
caaab3c
to
dc2da1b
Compare
updated. actually going to D3 now in tgl. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have any Zephyr commits as a dependecy prior to merge ?
|
8af5d89
to
3f85590
Compare
e29541c
to
098192b
Compare
SOFCI TEST |
Finally should go to D3 even with asserts enabled. Cavs path had some arch_timer_disable to mess things up... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pls ping when Zephyr part merged and update west commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Need the Zephyr dependency of course, but otherwise looks good. We can potentially remove the old implementation soon for cavs25.
@@ -57,71 +57,7 @@ static FUNC_NORETURN void secondary_init(void *arg) | |||
CODE_UNREACHABLE; /* LCOV_EXCL_LINE */ | |||
} | |||
|
|||
#ifndef CONFIG_ACE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would the diff be smaller if you changed this to #if !CONFIG_ZEPHYR_NATIVE_DRIVERS
and moved the added code here? With this kind of a change it's difficult to see whether the code id changed or just moved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah probably. I personally dont like the !CONFIGs as they are really "easy" to misinterpret for not having the ! when reading the code. So I would prefer to have the configs without ! if not absolutely needed. But yes, you are also right that this PR didnt change the code of the other branch at all, just moved it around.
ae017c8
to
f390185
Compare
zephyr side pr merged, let's see the CI results... |
Start using zephyr pm_runtime, clk and dma glue code in cavs25 native drivers build. Move the files from ace/lib into zephyr/lib. Also update west.yaml to related zephyr commit as power related files have been moved to zephyr side. Signed-off-by: Jaska Uimonen <[email protected]>
One failure with capture tests but this was happening last week already: System-PM failures on one DUT in (also seen before this PR). Proceeding with merge. |
Start using zephyr pm_runtime, clk and dma glue code in cavs25 native drivers build. Move the files from ace/lib into zephyr/lib.