]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: SVM: Update dump_vmcb with shadow stack save area additions
authorJohn Allen <john.allen@amd.com>
Fri, 19 Sep 2025 22:32:44 +0000 (15:32 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 23 Sep 2025 16:28:23 +0000 (09:28 -0700)
commitc7586aa3bed4969cc7345940e5a331efd614f41d
tree82a278f529928fc1733a6632d93e71a2a7524e45
parentc5ba49458513bd1ecd669d4ec7124e788b19347c
KVM: SVM: Update dump_vmcb with shadow stack save area additions

Add shadow stack VMCB fields to dump_vmcb. PL0_SSP, PL1_SSP, PL2_SSP,
PL3_SSP, and U_CET are part of the SEV-ES save area and are encrypted,
but can be decrypted and dumped if the guest policy allows debugging.

Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: John Allen <john.allen@amd.com>
Link: https://lore.kernel.org/r/20250919223258.1604852-38-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/svm.c