]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccp - Add DOWNLOAD_FIRMWARE SEV command
authorJanakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Fri, 25 May 2018 20:23:29 +0000 (15:23 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 May 2018 16:13:54 +0000 (00:13 +0800)
commit5e78e37c71cd1352aae482673890db58e8f248d6
treeed6a935943d2961fe6b0278d58a6f58ffd1e7c8e
parentba893fd14b8d3c5eed1574709e5d53993cb407c8
crypto: ccp - Add DOWNLOAD_FIRMWARE SEV command

The DOWNLOAD_FIRMWARE command, added as of SEV API v0.15, allows the OS
to install SEV firmware newer than the currently active SEV firmware.

For the new SEV firmware to be applied it must:
* Pass the validation test performed by the existing firmware.
* Be of the same build or a newer build compared to the existing firmware.

For more information please refer to "Section 5.11 DOWNLOAD_FIRMWARE" of
https://support.amd.com/TechDocs/55766_SEV-KM%20API_Specification.pdf

Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/psp-dev.c
drivers/crypto/ccp/psp-dev.h
include/linux/psp-sev.h