Skip to content
Commit a5b03f56 authored by Peter Gonda's avatar Peter Gonda Committed by Greg Kroah-Hartman
Browse files

crypto: ccp - Name -1 return value as SEV_RET_NO_FW_CALL

[ Upstream commit efb339a8

 ]

The PSP can return a "firmware error" code of -1 in circumstances where
the PSP has not actually been called. To make this protocol unambiguous,
name the value SEV_RET_NO_FW_CALL.

  [ bp: Massage a bit. ]

Signed-off-by: default avatarPeter Gonda <pgonda@google.com>
Signed-off-by: default avatarDionna Glaze <dionnaglaze@google.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20221207010210.2563293-2-dionnaglaze@google.com
Stable-dep-of: db10cb9b

 ("virt: sevguest: Fix passing a stack buffer as a scatterlist target")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7c7371b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment