On Fri, Mar 7, 2025 at 5:10 PM Alexey Kardashevskiy aik@amd.com 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@vger.kernel.org Signed-off-by: Dionna Glaze dionnaglaze@google.com Reviewed-by: Tom Lendacky thomas.lendacky@amd.com Signed-off-by: Alexey Kardashevskiy aik@amd.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 :)
It's all good. Thanks for seeing this through to the end.