[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190408064023.e7eteoc6n4bi5qxi@gondor.apana.org.au>
Date: Mon, 8 Apr 2019 14:40:23 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: "Singh, Brijesh" <brijesh.singh@....com>
Cc: "linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Natarajan, Janakarajan" <Janakarajan.Natarajan@....com>,
"Hook, Gary" <Gary.Hook@....com>,
"Lendacky, Thomas" <Thomas.Lendacky@....com>,
Nathaniel McCallum <npmccallum@...hat.com>
Subject: Re: [PATCH v2] crypto: ccp: introduce SEV_GET_ID2 command
On Thu, Mar 28, 2019 at 09:58:52PM +0000, Singh, Brijesh wrote:
> The current definition and implementation of the SEV_GET_ID command
> does not provide the length of the unique ID returned by the firmware.
> As per the firmware specification, the firmware may return an ID
> length that is not restricted to 64 bytes as assumed by the SEV_GET_ID
> command.
>
> Introduce the SEV_GET_ID2 command to overcome with the SEV_GET_ID
> limitations. Deprecate the SEV_GET_ID in the favor of SEV_GET_ID2.
>
> At the same time update SEV API web link.
>
> Cc: Janakarajan Natarajan <Janakarajan.Natarajan@....com>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> Cc: Gary Hook <gary.hook@....com>
> Cc: Tom Lendacky <thomas.lendacky@....com>
> Cc: Nathaniel McCallum <npmccallum@...hat.com>
> Signed-off-by: Brijesh Singh <brijesh.singh@....com>
> ---
> Change since v1:
> - Keep the SEV_GET_ID implement and log the deprecated message
>
> drivers/crypto/ccp/psp-dev.c | 67 ++++++++++++++++++++++++++++++++++++
> include/linux/psp-sev.h | 3 +-
> include/uapi/linux/psp-sev.h | 18 +++++++---
> 3 files changed, 82 insertions(+), 6 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists