[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z9VFn53H0-FcHeD4@gondor.apana.org.au>
Date: Sat, 15 Mar 2025 17:17:19 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Alexey Kardashevskiy <aik@....com>
Cc: linux-crypto@...r.kernel.org, linux-coco@...ts.linux.dev,
linux-kernel@...r.kernel.org, Ashish Kalra <ashish.kalra@....com>,
Tom Lendacky <thomas.lendacky@....com>,
"Borislav Petkov (AMD)" <bp@...en8.de>, stable@...r.kernel.org,
Dionna Glaze <dionnaglaze@...gle.com>
Subject: Re: [PATCH] crypto: ccp: Fix uAPI definitions of PSP errors
On Sat, Mar 08, 2025 at 12:10:28PM +1100, Alexey Kardashevskiy wrote:
> Additions to the error enum after explicit 0x27 setting for
> SEV_RET_INVALID_KEY leads to incorrect value assignments.
>
> Use explicit values to match the manufacturer specifications more
> clearly.
>
> Fixes: 3a45dc2b419e ("crypto: ccp: Define the SEV-SNP commands")
> CC: stable@...r.kernel.org
> Signed-off-by: Dionna Glaze <dionnaglaze@...gle.com>
> Reviewed-by: Tom Lendacky <thomas.lendacky@....com>
> Signed-off-by: Alexey Kardashevskiy <aik@....com>
> ---
>
> Reposting as requested in
> https://lore.kernel.org/r/Z7f2S3MigLEY80P2@gondor.apana.org.au
>
> I wrote it in the first place but since then it travelled a lot,
> feel free to correct the chain of SOBs and RB :)
> ---
> include/uapi/linux/psp-sev.h | 21 +++++++++++++-------
> 1 file changed, 14 insertions(+), 7 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