Skip to content

[DNM] ipc4: set_dx: Change active pipeline check from error to warning#9225

Closed
tmleman wants to merge 1 commit into
thesofproject:mainfrom
tmleman:topic/upstream/pr/ipc4/set_dx/ppl_in_run
Closed

[DNM] ipc4: set_dx: Change active pipeline check from error to warning#9225
tmleman wants to merge 1 commit into
thesofproject:mainfrom
tmleman:topic/upstream/pr/ipc4/set_dx/ppl_in_run

Conversation

@tmleman

@tmleman tmleman commented Jun 12, 2024

Copy link
Copy Markdown
Contributor

During the power state transition process for DSP cores, the system previously checked for any active pipelines and prevented the transition if any were found, returning an IPC4_BUSY error. This behavior could potentially block power transitions even in cases where active pipelines do not critically affect the transition process.

This patch changes the behavior to issue a warning instead of an error when active pipelines are detected during a power state transition (DX transition). The intention is to allow the power transition to proceed while still logging the presence of active pipelines for diagnostic purposes.

During the power state transition process for DSP cores, the system
previously checked for any active pipelines and prevented the transition
if any were found, returning an IPC4_BUSY error. This behavior could
potentially block power transitions even in cases where active pipelines
do not critically affect the transition process.

This patch changes the behavior to issue a warning instead of an error
when active pipelines are detected during a power state transition (DX
transition). The intention is to allow the power transition to proceed
while still logging the presence of active pipelines for diagnostic
purposes.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@tmleman I guess this will help unblock power cycle if audio driver crashes ?
@plbossart fyi

@tmleman

tmleman commented Jun 19, 2024

Copy link
Copy Markdown
Contributor Author

Update: Leaving as DNM due to ongoing internal discussion about what the correct behavior should be.

@lgirdwood

Copy link
Copy Markdown
Member

@tmleman will track for this for v2.11 so its kept in context until a decision is made.

@lgirdwood lgirdwood added this to the v2.11 milestone Jun 26, 2024
@tmleman

tmleman commented Jul 8, 2024

Copy link
Copy Markdown
Contributor Author

I'm closing this PR. Together with the architect, I determined that the current implementation is correct and there is no reason to change it at this time.

@tmleman tmleman closed this Jul 8, 2024
@tmleman
tmleman deleted the topic/upstream/pr/ipc4/set_dx/ppl_in_run branch December 17, 2025 12:15
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.

2 participants