Home
last modified time | relevance | path

Searched hist:"6 ed1298eb0bf6641b0a66c2c38369f5767a2575c" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/x86/kvm/svm/
H A Dpmu.cdiff 6ed1298eb0bf6641b0a66c2c38369f5767a2575c Tue Nov 30 01:42:18 CST 2021 Like Xu <likexu@tencent.com> KVM: x86/pmu: Reuse pmc_perf_hw_id() and drop find_fixed_event()

Since we set the same semantic event value for the fixed counter in
pmc->eventsel, returning the perf_hw_id for the fixed counter via
find_fixed_event() can be painlessly replaced by pmc_perf_hw_id()
with the help of pmc_is_fixed() check.

Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20211130074221.93635-4-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/openbmc/linux/arch/x86/kvm/
H A Dpmu.hdiff 6ed1298eb0bf6641b0a66c2c38369f5767a2575c Tue Nov 30 01:42:18 CST 2021 Like Xu <likexu@tencent.com> KVM: x86/pmu: Reuse pmc_perf_hw_id() and drop find_fixed_event()

Since we set the same semantic event value for the fixed counter in
pmc->eventsel, returning the perf_hw_id for the fixed counter via
find_fixed_event() can be painlessly replaced by pmc_perf_hw_id()
with the help of pmc_is_fixed() check.

Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20211130074221.93635-4-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dpmu.cdiff 6ed1298eb0bf6641b0a66c2c38369f5767a2575c Tue Nov 30 01:42:18 CST 2021 Like Xu <likexu@tencent.com> KVM: x86/pmu: Reuse pmc_perf_hw_id() and drop find_fixed_event()

Since we set the same semantic event value for the fixed counter in
pmc->eventsel, returning the perf_hw_id for the fixed counter via
find_fixed_event() can be painlessly replaced by pmc_perf_hw_id()
with the help of pmc_is_fixed() check.

Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20211130074221.93635-4-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/openbmc/linux/arch/x86/kvm/vmx/
H A Dpmu_intel.cdiff 6ed1298eb0bf6641b0a66c2c38369f5767a2575c Tue Nov 30 01:42:18 CST 2021 Like Xu <likexu@tencent.com> KVM: x86/pmu: Reuse pmc_perf_hw_id() and drop find_fixed_event()

Since we set the same semantic event value for the fixed counter in
pmc->eventsel, returning the perf_hw_id for the fixed counter via
find_fixed_event() can be painlessly replaced by pmc_perf_hw_id()
with the help of pmc_is_fixed() check.

Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20211130074221.93635-4-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>