2022-04-22 17:49:46

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: ccp - Log when resetting PSP SEV state

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 <[email protected]>
> Cc: Tom Lendacky <[email protected]>
> Cc: Brijesh Singh <[email protected]>
> Cc: David Rientjes <[email protected]>
> Cc: Herbert Xu <[email protected]>
> Cc: John Allen <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> ---
> drivers/crypto/ccp/sev-dev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt