linux_dsm_epyc7002/arch
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
..
alpha
arc
arm xen: branch for v5.7-rc2 2020-04-17 10:35:17 -07:00
arm64 Merge branch 'kvm-amd-fixes' into HEAD 2020-05-13 12:14:05 -04:00
c6x
csky
h8300
hexagon
ia64
m68k
microblaze
mips kvm: Replace vcpu->swait with rcuwait 2020-05-13 12:14:56 -04:00
nds32
nios2
openrisc
parisc
powerpc kvm: Replace vcpu->swait with rcuwait 2020-05-13 12:14:56 -04:00
riscv
s390 Merge branch 'kvm-amd-fixes' into HEAD 2020-05-13 12:14:05 -04:00
sh
sparc
um
unicore32
x86 KVM: VMX: Add proper cache tracking for CR0 2020-05-13 12:15:12 -04:00
xtensa
.gitignore
Kconfig