linux_dsm_epyc7002/arch/x86/kvm/svm
Sean Christopherson f1ea1bee35 KVM: SVM: Intercept INVPCID when it's disabled to inject #UD
[ Upstream commit 0a8ed2eaac102c746d8d114f2787f06cb3e55dfb ]

Intercept INVPCID if it's disabled in the guest, even when using NPT,
as KVM needs to inject #UD in this case.

Fixes: 4407a797e9 ("KVM: SVM: Enable INVPCID feature on AMD")
Cc: Babu Moger <babu.moger@amd.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210212003411.1102677-2-seanjc@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:38:20 +01:00
..
avic.c KVM: SVM: Initialize prev_ga_tag before use 2020-10-21 17:48:49 -04:00
nested.c KVM: nSVM: Don't strip host's C-bit from guest's CR3 when reading PDPTRs 2021-03-04 11:37:46 +01:00
pmu.c KVM: x86/pmu: Tweak kvm_pmu_get_msr to pass 'struct msr_data' in 2020-06-01 04:26:08 -04:00
sev.c Fix unsynchronized access to sev members through svm_register_enc_region 2021-02-10 09:29:18 +01:00
svm.c KVM: SVM: Intercept INVPCID when it's disabled to inject #UD 2021-03-04 11:38:20 +01:00
svm.h KVM: x86: cleanup CR3 reserved bits checks 2021-02-17 11:02:24 +01:00
vmenter.S x86/kvm/svm: Move guest enter/exit into .noinstr.text 2020-07-09 07:08:41 -04:00