Skip to content

ASoC: SOF: amd: acp7x: fix S4 resume with ASP carveout firmware loading

[email protected] linux-sound lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: SOF: amd: acp7x: enable ACPI target power statessound/soc/sof/amd/pci-acp7x.c+2 -00 replies
2/2ASoC: SOF: amd: acp7x: reload firmware from disk on S4 resumesound/soc/sof/amd/acp.c+9 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ASoC: SOF: amd: acp7x: fix S4 resume with ASP carveout firmware loading

From: Siva Subramanian Ravi Saravanan <[email protected]>

On ACP7.B/7.F with signed firmware, the DSP firmware is loaded through the ASP carveout in DDR. The carveout loses its contents across S4 (hibernate), but on resume the loader still SHA-DMAs the image from it, so the DSP fails to boot.

Patch 1 enables ACPI target power states for ACP7.B/7.F so the driver can tell S4 apart from S3. It does not change behaviour on its own.

Patch 2 clears the cached carveout firmware address on S4 resume, forcing a full request_firmware() + VALIDATE_IMAGE reload. S3 resume is unchanged, as the carveout is preserved across S3.

Siva Subramanian Ravi Saravanan (2):
ASoC: SOF: amd: acp7x: enable ACPI target power states
ASoC: SOF: amd: acp7x: reload firmware from disk on S4 resume

 sound/soc/sof/amd/acp.c       | 9 +++++++++
 sound/soc/sof/amd/pci-acp7x.c | 2 ++
 2 files changed, 11 insertions(+)
Signature · 1 line
2.43.0