Commit c14e4114 authored by Pavan Kumar Paluri's avatar Pavan Kumar Paluri Committed by Borislav Petkov (AMD)

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: 34ff6590 ("x86/sev: Use kernel provided SVSM Calling Areas")
Signed-off-by: default avatarPavan Kumar Paluri <papaluri@amd.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240729180808.366587-1-papaluri@amd.com
parent 0f7ced7d
......@@ -163,7 +163,7 @@ struct sev_config {
*/
use_cas : 1,
__reserved : 62;
__reserved : 61;
};
static struct sev_config sev_cfg __read_mostly;
......
Markdown is supported
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