Skip to content

Conversation

@lyakh
Copy link
Collaborator

@lyakh lyakh commented Jul 18, 2025

ipc4_get_drv() is called from ipc4_get_comp_drv() in IPC context, and that can run on different cores, so just disabling local interrupts doesn't provide proper protection. On the other hand IPCs are serialised, and the global driver list can only be modified from IPC context, so there is no need to protect it here. Remove the interrupt lock.

ipc4_get_drv() is called from ipc4_get_comp_drv() in IPC context, and
that can run on different cores, so just disabling local interrupts
doesn't provide proper protection. On the other hand IPCs are
serialised, and the global driver list can only be modified from IPC
context, so there is no need to protect it here. Remove the interrupt
lock.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

LGTM

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