aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/linux/psp-sev.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-headers/include/linux/psp-sev.h')
-rw-r--r--linux-headers/include/linux/psp-sev.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-headers/include/linux/psp-sev.h b/linux-headers/include/linux/psp-sev.h
index 51d8b39..12ccb70 100644
--- a/linux-headers/include/linux/psp-sev.h
+++ b/linux-headers/include/linux/psp-sev.h
@@ -36,6 +36,13 @@ enum {
* SEV Firmware status code
*/
typedef enum {
+ /*
+ * This error code is not in the SEV spec. Its purpose is to convey that
+ * there was an error that prevented the SEV firmware from being called.
+ * The SEV API error codes are 16 bits, so the -1 value will not overlap
+ * with possible values from the specification.
+ */
+ SEV_RET_NO_FW_CALL = -1,
SEV_RET_SUCCESS = 0,
SEV_RET_INVALID_PLATFORM_STATE,
SEV_RET_INVALID_GUEST_STATE,