]> www.infradead.org Git - users/hch/dma-mapping.git/commit
KVM: x86/cpuid: Refactor host/guest CPU model consistency check
authorLike Xu <like.xu@linux.intel.com>
Mon, 11 Apr 2022 10:19:45 +0000 (18:19 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jun 2022 08:48:19 +0000 (04:48 -0400)
commit59cc99f6e971bb24b40e27f695daab98e2eff4b8
tree4869914fd5728a6575077a5abaa5b2709b0dc69c
parent968635abd5f5986f3cb6f15602d365cf1b551c5d
KVM: x86/cpuid: Refactor host/guest CPU model consistency check

For the same purpose, the leagcy intel_pmu_lbr_is_compatible() can be
renamed for reuse by more callers, and remove the comment about LBR
use case can be deleted by the way.

Signed-off-by: Like Xu <like.xu@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Message-Id: <20220411101946.20262-17-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.h
arch/x86/kvm/vmx/pmu_intel.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h