Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: SOF: amd: acp7x: fix S4 resume with ASP carveout firmware loading
@ 2026-11-25  5:38 sravisar
  2026-11-25  5:38 ` [PATCH 1/2] ASoC: SOF: amd: acp7x: enable ACPI target power states sravisar
  2026-11-25  5:38 ` [PATCH 2/2] ASoC: SOF: amd: acp7x: reload firmware from disk on S4 resume sravisar
  0 siblings, 2 replies; 4+ messages in thread
From: sravisar @ 2026-11-25  5:38 UTC (permalink / raw)
  To: broonie
  Cc: alsa-devel, lgirdwood, perex, tiwai, yung-chuan.liao,
	Basavaraj.Hiregoudar, Sunil-kumar.Dommati, venkataprasad.potturu,
	Syed.SabaKareem, Mario.Limonciello, Richard.Gong,
	Vijendar.Mukunda, linux-sound, linux-kernel, sound-open-firmware,
	Siva Subramanian Ravi Saravanan

From: Siva Subramanian Ravi Saravanan <sravisar@amd.com>

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(+)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-25  6:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25  5:38 [PATCH 0/2] ASoC: SOF: amd: acp7x: fix S4 resume with ASP carveout firmware loading sravisar
2026-11-25  5:38 ` [PATCH 1/2] ASoC: SOF: amd: acp7x: enable ACPI target power states sravisar
2026-11-25  5:38 ` [PATCH 2/2] ASoC: SOF: amd: acp7x: reload firmware from disk on S4 resume sravisar
2026-11-25  6:02   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox