Re: [PATCH 16/16] ASoC: SOF: amd: add system and runtime PM ops for ACP7x

From: Mark Brown

Date: Fri Jul 03 2026 - 13:09:52 EST


On Fri, Jul 03, 2026 at 10:21:25PM +0530, Mukunda,Vijendar wrote:
> On 7/3/26 21:58, Mark Brown wrote:
> > On Wed, Jul 01, 2026 at 03:25:17PM +0530, Vijendar Mukunda wrote:

> > The interrupt is requested with IRQF_SHARED so probably worth double
> > checking if the interrupt handler is safe to run while the suspend and
> > resume callbacks are running, I see we reset the device during suspend
> > so there might be some risk of corrupted register reads?

> There won't be any corrupted register reads when acp reset sequence
> is executed,  all the acp registers are set to default values. i.e Interrupt
> control registers are disabled. This sequence ensures that till interrupt

Including whatever the threaded handler is doing? I didn't actually
check properly, just saw the indirection through the SOF I/O functions
and the threaded handler.

> masks are enabled during resume sequence, no interrupt will be asserted
> for ACP IP.

Right, but IRQF_SHARED means it might be an interrupt for something
else.

Attachment: signature.asc
Description: PGP signature