Update mtl 005 ipc D3#7865
Merged
abonislawski merged 10 commits intothesofproject:mtl-005-drop-stablefrom Jun 27, 2023
Merged
Conversation
This reverts commit 6c57b64. Newer commits from SOF main implementing D3 will replace this. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
This reverts commit de1d6c0. Newer commits implementing D3 support will replace this implementation. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
…tion" This reverts commit 42b8427. This commit will be replaced by the newer D3 implementation. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
For emergency like FW panic event, we need to send notification IPC message to host directly without inserting this message in msg_list since at this time the system is not stable now and it is very possible that the normal message processing logic can't work. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Rander Wang <rander.wang@intel.com> Co-developed-by: Rander Wang <rander.wang@intel.com>
Send panic notification message to host when panic happens. The panic detail is built by Zephyr framework and included in debug memory window. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Rander Wang <rander.wang@intel.com> Co-developed-by: Rander Wang <rander.wang@intel.com>
During PowerOff (D3) transition Zephyr Power Manager must have a pointer in IMR to save the LP/HPSRAM memory before powering off. As zephyr has no access to IMR heap, the memory must be allocated by SOF Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
…SIVE Zephyr turns on by default CONFIG_PM_DEVICE_RUNTIME_EXCLUSIVE option what causes Devices using Zephyr Device System Power Manager to be ignored during SoC power transition. Disabled this option so we can use default Zephyr kernel behavior to shut down Devices. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
Added IPC4 callbacks 'suspend_handler' and 'resume_handler' to control Zephyr IPC driver. Co-developed-by: Tomasz Leman <tomasz.m.leman@intel.com> Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com> Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
Enabled CONFIG_ADSP_IMR_CONTEXT_SAVE option in Kconfig in the board configuration. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
During IPC Device power transition errors may be encountered related to invalid system state or IPC messages waiting to be send. In this case we are going to send an IPC response to Host bypassing schedulers. IPC Device will not change power state when errors occur preventing whole system from the suspend. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
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.
This PR updates old implementation of IPC Device support for power transition and updates with updated implementation from the #7325 PR.
Had to also include content of #7597 as dependency.
Signed-off-by: Andrey Borisovich andrey.borisovich@intel.com