Skip to content

Commit c14e411

Browse files
Pavan Kumar Paluribp3tk0v
authored andcommitted
x86/sev: Fix __reserved field in sev_config
sev_config currently has debug, ghcbs_initialized, and use_cas fields. However, __reserved count has not been updated. Fix this. Fixes: 34ff659 ("x86/sev: Use kernel provided SVSM Calling Areas") Signed-off-by: Pavan Kumar Paluri <papaluri@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240729180808.366587-1-papaluri@amd.com
1 parent 0f7ced7 commit c14e411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/coco/sev/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ struct sev_config {
163163
*/
164164
use_cas : 1,
165165

166-
__reserved : 62;
166+
__reserved : 61;
167167
};
168168

169169
static struct sev_config sev_cfg __read_mostly;

0 commit comments

Comments
 (0)