Re: [PATCH] crypto: ccp - Log when resetting PSP SEV state
From: Herbert Xu
Date: Thu Apr 21 2022 - 06:01:54 EST
On Wed, Apr 13, 2022 at 08:58:35AM -0700, Peter Gonda wrote:
> Currently when the PSP returns a SECURE_DATA_INVALID error on INIT or
> INIT_EX the driver retries the command once which should reset the PSP's
> state SEV related state, meaning the PSP will regenerate its keying
> material. This is logged with a dbg log but given this will change
> system state this should be logged at a higher priority and with more
> information.
>
> Signed-off-by: Peter Gonda <pgonda@xxxxxxxxxx>
> Cc: Tom Lendacky <thomas.lendacky@xxxxxxx>
> Cc: Brijesh Singh <brijesh.singh@xxxxxxx>
> Cc: David Rientjes <rientjes@xxxxxxxxxx>
> Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Cc: John Allen <john.allen@xxxxxxx>
> Cc: linux-crypto@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> ---
> drivers/crypto/ccp/sev-dev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
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