[PATCHv2 0/2] Add new SEV commands

From: Janakarajan Natarajan
Date: Fri May 25 2018 - 16:24:04 EST


This patchset adds two new SEV commands, introduced in SEV API v0.15
and v0.16 respectively.

* DOWNLOAD_FIRMWARE allows the SEV firmware to be updated if a blob newer
than or similar to the exisiting build is available.

* GET_ID allows to query for a unique ID that can be used to retrieve the
Chip Endorsment Key (CEK) public key signed by the AMD SEV Signing Key
(ASK).

v1->v2:
* Added cover letter.
* Misc changes based on Boris' feedback.

Janakarajan Natarajan (2):
crypto: ccp: Add DOWNLOAD_FIRMWARE SEV command
crypto: ccp: Add GET_ID SEV command

drivers/crypto/ccp/psp-dev.c | 143 ++++++++++++++++++++++++++++++++++++++++---
drivers/crypto/ccp/psp-dev.h | 4 ++
include/linux/psp-sev.h | 23 +++++++
include/uapi/linux/psp-sev.h | 12 ++++
4 files changed, 172 insertions(+), 10 deletions(-)

--
2.7.4