From aff6020a76a768d0b7afb88bc32f2ccc7786b9f9 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 23 Sep 2021 09:05:37 +0200 Subject: [PATCH] fix: correct struct sev_data_snp_launch_start According to: SEV Secure Nested Paging Firmware ABI Specification Publication # 56860 Revision: 0.9 Issue Date: April 1, 2021 Page 68, Table 54. Layout of the CMDBUF_SNP_LAUNCH_START Structure Signed-off-by: Harald Hoyer --- include/linux/psp-sev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/psp-sev.h b/include/linux/psp-sev.h index ea94ce4d834a07..ad30196a239a32 100644 --- a/include/linux/psp-sev.h +++ b/include/linux/psp-sev.h @@ -604,8 +604,8 @@ struct sev_data_snp_launch_start { u64 gctx_paddr; /* In */ u64 policy; /* In */ u64 ma_gctx_paddr; /* In */ - u32 ma_en:1; /* In */ - u32 imi_en:1; /* In */ + u32 ma_en:1, /* In */ + imi_en:1; /* In */ u32 rsvd:30; u8 gosvw[16]; /* In */ } __packed;