-
Notifications
You must be signed in to change notification settings - Fork 349
soc: ace: fix IPC D3 power state entry #6440
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
Conversation
cac13e6 to
115cddb
Compare
|
@aborisovich fyi - #6041 is now merged |
115cddb to
96c4172
Compare
|
Awaits full scope results please do not merge for now. |
5c53704 to
96c4172
Compare
@aborisovich Looks like CI is good, but pls ping when ready. |
It fails all MTL tests as Zephyr Power Manager is not enabled. Waits for #6489 . |
|
@aborisovich Please also check #6515 |
|
@aborisovich @kv2019i we are blocking on the CI update for the dependencies ... |
96c4172 to
fd35f52
Compare
|
Internal Intel CI System/merge/build broken? |
|
Executed tests for MTL manually. Test load_fw_gracefull_shutdown passes now, but tests D3_master_core keep failing (however SetDx response is received and lack of it was the cause of this bug). |
|
@aborisovich both CI's are impacted by the 01.org server move. I hope to have it resolved today. |
Ack, I added DNM to PR subject, please remove when resolved. |
0495f7d to
65f829e
Compare
|
Improvement - |
|
@aborisovich can you check CI, not sure if we are testing this case today on MTL. |
I've asked validation team yesterday to add two more tests related to D3 - enter D3 with and without power gating. |
|
Discovered bug cause - we do not have implemented device reinitialization (context restore) after boot from IMR what causes FW to idle after waking up from D3 state and not responding to IPCs. |
0882fa0 to
2cf6b34
Compare
|
Switching this to a "draft" to make sure it does not get merged by accident while |
2cf6b34 to
8a6af1b
Compare
|
Fixed checkpatch. |
This patch fixes D3 issue - now platform enters and wakes up from D3 correctly on first iteration. This had been achieved using Zephyr cpu function call that redirects D3 flow to power down assembly code sending IPC response to host just before powering down. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com> Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
8a6af1b to
e8ce842
Compare
|
Still waiting for test results. |
|
PR can be merged now.
|
|
https://sof-ci.01.org/sofpr/PR6440/build3143/devicetest/index.html looks pretty bad. |
|
SOFCI TEST EDIT: https://sof-ci.01.org/sofpr/PR6440/build3152/devicetest/index.html |
|
Well, rerun fixed the issue... |
yes, good to go! |

Fist commit
Patch fixes D3 issue - now platform enters and wakes up from D3 correctly.
It had been achieved using Zephyr cpu function call that redirects D3 flow to power down assembly code
sending IPC response to host just before powering down.
Second commitAdds pm notifiers to Zephyr power manager to allocate IMR memory inside SOF code in order to save LPSRAM and HPSRAM memory before powering down.Edit: dropped for now due to missing implementation of devices context restore.
zephyrproject-rtos/zephyr#53105 will be used instead to skip context restore for now.
It will be implemented soontm.
Requires:
Signed-off-by: Andrey Borisovich andrey.borisovich@intel.com
Signed-off-by: Marcin Szkudlinski marcin.szkudlinski@intel.com
Signed-off-by: Tomasz Leman tomasz.m.leman@intel.com