]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccp - introduce SEV_GET_ID2 command
authorSingh, Brijesh <brijesh.singh@amd.com>
Thu, 28 Mar 2019 21:58:52 +0000 (21:58 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 8 Apr 2019 06:36:16 +0000 (14:36 +0800)
commit7d79c4402d1d91d9d71c52fc77109b29420335dc
treea0dc3e4abe899584e16833c5ac8f692a7d292465
parent03c0b6926ba7718197656f014f6544371f976d8a
crypto: ccp - introduce SEV_GET_ID2 command

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@amd.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Gary Hook <gary.hook@amd.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Nathaniel McCallum <npmccallum@redhat.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/psp-dev.c
include/linux/psp-sev.h
include/uapi/linux/psp-sev.h