Re: [PATCHv2 0/2] Add new SEV commands

From: Gary R Hook
Date: Tue May 29 2018 - 14:47:22 EST


On 05/29/2018 01:46 PM, Paolo Bonzini wrote:
On 25/05/2018 22:23, Janakarajan Natarajan wrote:
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(-)


This is not going through the KVM tree, is it?

This should be going through cryptodev, AFAIK.