Skip to content

Commit 78ccfce

Browse files
jallen-amdsean-jc
authored andcommitted
KVM: SVM: Rename vmplX_ssp -> plX_ssp
The SSP fields in the SEV-ES save area were mistakenly named vmplX_ssp instead of plX_ssp. Rename these to the correct names as defined in the APM. Fixes: 6d3b3d3 ("KVM: SVM: Update the SEV-ES save area mapping") Signed-off-by: John Allen <john.allen@amd.com> Link: https://lore.kernel.org/r/20240227200356.35114-1-john.allen@amd.com Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent dafc17d commit 78ccfce

File tree

1 file changed

+4
-4
lines changed
  • arch/x86/include/asm

1 file changed

+4
-4
lines changed

arch/x86/include/asm/svm.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,10 @@ struct sev_es_save_area {
358358
struct vmcb_seg ldtr;
359359
struct vmcb_seg idtr;
360360
struct vmcb_seg tr;
361-
u64 vmpl0_ssp;
362-
u64 vmpl1_ssp;
363-
u64 vmpl2_ssp;
364-
u64 vmpl3_ssp;
361+
u64 pl0_ssp;
362+
u64 pl1_ssp;
363+
u64 pl2_ssp;
364+
u64 pl3_ssp;
365365
u64 u_cet;
366366
u8 reserved_0xc8[2];
367367
u8 vmpl;

0 commit comments

Comments
 (0)