8000 ipc4: base_fw: Return an empty list for inactive cores by tmleman · Pull Request #9581 · thesofproject/sof · GitHub
[go: up one dir, main page]

Skip to content

ipc4: base_fw: Return an empty list for inactive cores#9581

Merged
lgirdwood merged 1 commit intothesofproject:mainfrom
tmleman:topic/upstream/pr/ipc4/fix/schedulers_info_get
Oct 16, 2024
Merged

ipc4: base_fw: Return an empty list for inactive cores#9581
lgirdwood merged 1 commit intothesofproject:mainfrom
tmleman:topic/upstream/pr/ipc4/fix/schedulers_info_get

Conversation

@tmleman
Copy link
Contributor
@tmleman tmleman commented Oct 15, 2024

The behavior expected by the driver on the host is that if the IPC IPC4_SCHEDULERS_INFO_GET is sent for an inactive core, the FW will return success with an empty list in the payload.

This patch addresses these shortcomings in the implementation by adding the appropriate IF statement and initializing an empty list regardless of whether something will be added to it later.

The behavior expected by the driver on the host is that if the IPC
`IPC4_SCHEDULERS_INFO_GET` is sent for an inactive core, the FW will
return success with an empty list in the payload.

This patch addresses these shortcomings in the implementation by adding
the appropriate IF statement and initializing an empty list regardless
of whether something will be added to it later.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
@lgirdwood lgirdwood merged commit 63f18c0 into thesofproject:main Oct 16, 2024
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.

5 participants

0