linux/arch/x86/kvm/svm
Sean Christopherson bd31fe495d KVM: VMX: Add proper cache tracking for CR0
Move CR0 caching into the standard register caching mechanism in order
to take advantage of the availability checks provided by regs_avail.
This avoids multiple VMREADs in the (uncommon) case where kvm_read_cr0()
is called multiple times in a single VM-Exit, and more importantly
eliminates a kvm_x86_ops hook, saves a retpoline on SVM when reading
CR0, and squashes the confusing naming discrepancy of "cache_reg" vs.
"decache_cr0_guest_bits".

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200502043234.12481-8-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-05-13 12:15:12 -04:00
..
avic.c KVM: SVM: Move AVIC code to separate file 2020-04-03 10:53:56 -04:00
nested.c KVM: nSVM: Preserve IRQ/NMI/SMI priority irrespective of exiting behavior 2020-05-13 12:14:45 -04:00
pmu.c kVM SVM: Move SVM related files to own sub-directory 2020-04-03 10:53:47 -04:00
sev.c KVM: SVM: Fix build error due to missing release_pages() include 2020-04-15 12:08:37 -04:00
svm.c KVM: VMX: Add proper cache tracking for CR0 2020-05-13 12:15:12 -04:00
svm.h KVM: nSVM: Report interrupts as allowed when in L2 and exit-on-interrupt is set 2020-05-13 12:14:44 -04:00
vmenter.S KVM: SVM: Do not setup frame pointer in __svm_vcpu_run 2020-04-15 12:08:38 -04:00