linux-bl808/arch/x86/kvm/vmx
Paolo Bonzini 2924b52117 KVM: x86/pmu: do not mask the value that is written to fixed PMUs
According to the SDM, for MSR_IA32_PERFCTR0/1 "the lower-order 32 bits of
each MSR may be written with any value, and the high-order 8 bits are
sign-extended according to the value of bit 31", but the fixed counters
in real hardware are limited to the width of the fixed counters ("bits
beyond the width of the fixed-function counter are reserved and must be
written as zeros").  Fix KVM to do the same.

Reported-by: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-05-24 21:27:14 +02:00
..
capabilities.h
evmcs.c
evmcs.h
nested.c KVM: nVMX: Fix using __this_cpu_read() in preemptible context 2019-05-24 21:27:08 +02:00
nested.h
ops.h
pmu_intel.c KVM: x86/pmu: do not mask the value that is written to fixed PMUs 2019-05-24 21:27:14 +02:00
vmcs.h
vmcs12.c
vmcs12.h
vmcs_shadow_fields.h
vmenter.S
vmx.c KVM: x86: do not spam dmesg with VMCS/VMCB dumps 2019-05-24 21:27:12 +02:00
vmx.h kvm: vmx: Fix -Wmissing-prototypes warnings 2019-05-24 21:27:08 +02:00