mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mukunda,Vijendar" <vijendar.mukunda@amd.com>
To: sravisar@amd.com, broonie@kernel.org
Cc: alsa-devel@alsa-project.org, lgirdwood@gmail.com, perex@perex.cz,
	tiwai@suse.com, yung-chuan.liao@linux.intel.com,
	Basavaraj.Hiregoudar@amd.com, Sunil-kumar.Dommati@amd.com,
	venkataprasad.potturu@amd.com, Syed.SabaKareem@amd.com,
	Mario.Limonciello@amd.com, Richard.Gong@amd.com,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	sound-open-firmware@alsa-project.org
Subject: Re: [PATCH v2 0/2] ASoC: SOF: amd: acp7x: fix S4 resume with ASP carveout firmware loading
Date: Mon, 30 Nov 2026 14:44:50 +0530	[thread overview]
Message-ID: <6b7dd82a-54e9-41b9-884a-6df63c0a01cd@amd.com> (raw)
In-Reply-To: <20261130090246.3653208-1-sravisar@amd.com>



On 11/30/26 14:32, sravisar@amd.com wrote:
> [Some people who received this message don't often get email from sravisar@amd.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> 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/S5 resume,
> forcing a full request_firmware() + VALIDATE_IMAGE reload. S0ix/s2idle
> resume keeps the fast path.
Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
>
> 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@amd.com/
>
> 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


      parent reply	other threads:[~2026-11-30  9:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  9:02 sravisar
2026-11-30  9:02 ` [PATCH v2 1/2] ASoC: SOF: amd: acp7x: enable ACPI target power states sravisar
2026-11-30  9:02 ` [PATCH v2 2/2] ASoC: SOF: amd: acp7x: reload firmware from disk on S4 resume sravisar
2026-11-30  9:14 ` Mukunda,Vijendar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6b7dd82a-54e9-41b9-884a-6df63c0a01cd@amd.com \
    --to=vijendar.mukunda@amd.com \
    --cc=Basavaraj.Hiregoudar@amd.com \
    --cc=Mario.Limonciello@amd.com \
    --cc=Richard.Gong@amd.com \
    --cc=Sunil-kumar.Dommati@amd.com \
    --cc=Syed.SabaKareem@amd.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=sound-open-firmware@alsa-project.org \
    --cc=sravisar@amd.com \
    --cc=tiwai@suse.com \
    --cc=venkataprasad.potturu@amd.com \
    --cc=yung-chuan.liao@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®