summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Allen <john.allen@amd.com>2024-02-27 20:03:56 +0000
committerSean Christopherson <seanjc@google.com>2024-02-27 12:22:43 -0800
commit78ccfce774435a08d9c69ce434099166cc7952c8 (patch)
treed12306c2f8034b6a4ddf9e821fab84d41bd56164
parentdafc17dd529a6194e199b837916062090562ff80 (diff)
downloadlinux-stable-78ccfce774435a08d9c69ce434099166cc7952c8.tar.gz
linux-stable-78ccfce774435a08d9c69ce434099166cc7952c8.tar.bz2
linux-stable-78ccfce774435a08d9c69ce434099166cc7952c8.zip
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: 6d3b3d34e39e ("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>
-rw-r--r--arch/x86/include/asm/svm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h
index 87a7b917d30e..728c98175b9c 100644
--- a/arch/x86/include/asm/svm.h
+++ b/arch/x86/include/asm/svm.h
@@ -358,10 +358,10 @@ struct sev_es_save_area {
struct vmcb_seg ldtr;
struct vmcb_seg idtr;
struct vmcb_seg tr;
- u64 vmpl0_ssp;
- u64 vmpl1_ssp;
- u64 vmpl2_ssp;
- u64 vmpl3_ssp;
+ u64 pl0_ssp;
+ u64 pl1_ssp;
+ u64 pl2_ssp;
+ u64 pl3_ssp;
u64 u_cet;
u8 reserved_0xc8[2];
u8 vmpl;