diff options
| author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2026-10-13 21:11:41 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-13 20:08:05 +0100 |
| commit | cec3598305a6df306fc4eb0c49a72e0f9949c06f (patch) | |
| tree | 8c203e440bdd1e5a863a38d4459ba4f80f452eea /scripts/Makefile.thinlto | |
| parent | 439c43d9628ee38c72fdc5933f7b6091461441b6 (diff) | |
| download | linux-cec3598305a6df306fc4eb0c49a72e0f9949c06f.tar.gz linux-cec3598305a6df306fc4eb0c49a72e0f9949c06f.zip | |
ASoC: SOF: amd: add ASP carveout firmware loading for ACP7.B/7.F
ACP7.B and ACP7.F require signed firmware to be authenticated by the
AMD Security Processor (ASP) before the DSP can execute it. Implement
a new two-stage firmware load path via the ASP MPASP mailbox.
Stage 1 (probe time): query ASP for the physical base address and ATU
group assignment of a pre-allocated 32 MB MALL carveout region. If
ASP does not support carveout, probe fails immediately.
Stage 2 (load time): load the signed image from disk, send it to ASP
via VALIDATE_IMAGE; ASP authenticates the image and deposits the raw
binary into the carveout. The driver then SHA-DMAs the raw binary from
the carveout into DSP IRAM.
On D3->D0 resume the raw binary is preserved in the carveout; the
driver skips the filesystem load and ASP authentication and restores
directly from the saved carveout address.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20261013154644.3788064-10-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
