Messages in this thread | | | From | Jim Mattson <> | Date | Tue, 31 Oct 2023 11:22:31 -0700 | Subject | Re: [Patch 1/2] KVM: x86/pmu: Add Intel CPUID-hinted TopDown slots event |
| |
On Tue, Oct 31, 2023 at 1:58 AM Dapeng Mi <dapeng1.mi@linux.intel.com> wrote: > > This patch adds support for the architectural topdown slots event which > is hinted by CPUID.0AH.EBX.
Can't a guest already program an event selector to count event select 0xa4, unit mask 1, unless the event is prohibited by KVM_SET_PMU_EVENT_FILTER?
AFAICT, this change just enables event filtering based on CPUID.0AH:EBX[bit 7] (though it's not clear to me why two independent mechanisms are necessary for event filtering).
| |