From 8808a818175ba525fe48b39bfec19d44b2ced7d3 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 old sizeof: 48 old gosvw offset: 28 new sizeof: 48 new gosvw offset: 32 Signed-off-by: Harald Hoyer --- include/linux/psp-sev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/psp-sev.h b/include/linux/psp-sev.h index ea94ce4d834a07..d04d42b3ba796b 100644 --- a/include/linux/psp-sev.h +++ b/include/linux/psp-sev.h @@ -607,6 +607,7 @@ struct sev_data_snp_launch_start { u32 ma_en:1; /* In */ u32 imi_en:1; /* In */ u32 rsvd:30; + u32 rsvd2; u8 gosvw[16]; /* In */ } __packed;