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@xxxxxxx> > Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Cc: Gary Hook <gary.hook@xxxxxxx> > Cc: Tom Lendacky <thomas.lendacky@xxxxxxx> > Cc: Nathaniel McCallum <npmccallum@xxxxxxxxxx> > Signed-off-by: Brijesh Singh <brijesh.singh@xxxxxxx> > --- > 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@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt