diff options
| author | Tycho Andersen (AMD) <tycho@kernel.org> | 2026-03-02 08:02:23 -0700 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-03-14 14:03:19 +0900 |
| commit | 35a89319f60a48fb8cd07617f8e2c4649edbe361 (patch) | |
| tree | 3a08444c2429fdef2ca078bee6a532ebd907f78e /tools/perf/scripts/python/task-analyzer.py | |
| parent | d23cf35880114a1ad24efc262577e494ebfa0c23 (diff) | |
crypto: ccp - simplify sev_update_firmware()
sev_do_cmd() has its own command buffer (sev->cmd_buf) with the correct
alignment, perms, etc. that it copies the command into, so prepending it to
the firmware data is unnecessary.
Switch sev_update_firmware() to using a stack allocated command in light of
this copy, and drop all of the resulting pointer math.
Signed-off-by: Tycho Andersen (AMD) <tycho@kernel.org>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
