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

From: Mukunda,Vijendar

Date: Mon Nov 30 2026 - 04:16:14 EST




On 11/30/26 14:32, sravisar@xxxxxxx wrote:
[Some people who received this message don't often get email from sravisar@xxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

From: Siva Subramanian Ravi Saravanan <sravisar@xxxxxxx>

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/S5 resume,
forcing a full request_firmware() + VALIDATE_IMAGE reload. S0ix/s2idle
resume keeps the fast path.
Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@xxxxxxx>

Changes in v2:
- Patch 2: clear fw_code_carveout_addr at the start of resume for
S4/S5, before the SoundWire and acp_init()/acp_memory_init() early
returns, and on suspend if the firmware has crashed or failed to boot.
- Link to v1: https://lore.kernel.org/all/20261125053843.1611378-1-sravisar@xxxxxxx/

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 | 11 +++++++++++
sound/soc/sof/amd/pci-acp7x.c | 2 ++
2 files changed, 13 insertions(+)


base-commit: a6c7e545d8abac8ad0b48da4c8b4ca5ef8ea8eda
--
2.43.0