]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SVM: Emulate SYSENTER RIP/RSP behavior for all Intel compat vCPUs
authorSean Christopherson <seanjc@google.com>
Fri, 5 Apr 2024 23:56:00 +0000 (16:56 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 10 Jun 2024 21:29:38 +0000 (14:29 -0700)
commitdc2b8b2b524a46b24cc22f83cd3cb68535cfe367
treece8dfc0cf18b18cc190ae2dfefc5a431768bbd38
parentd99e4cb2ae2e02a632d3587d710eecf5a02c20e7
KVM: SVM: Emulate SYSENTER RIP/RSP behavior for all Intel compat vCPUs

Emulate bits 63:32 of the SYSENTER_R{I,S}P MSRs for all vCPUs that are
compatible with Intel's architecture, not just strictly vCPUs that have
vendor==Intel.  The behavior of bits 63:32 is architecturally defined in
the SDM, i.e. not some uarch specific quirk of Intel CPUs.

Link: https://lore.kernel.org/r/20240405235603.1173076-8-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/cpuid.h
arch/x86/kvm/svm/svm.c