Re: [PATCH v7 12/12] KVM/VMX/vPMU: support to report GLOBAL_STATUS_LBRS_FROZEN

2019-07-10 Thread Wei Wang
On 07/09/2019 07:35 PM, Peter Zijlstra wrote: Yeah; although I'm not sure if its an implementation or specification problem. But as it exists it is of very limited use. Fundamentally our events (with exception of event groups) are independent. Events should always count, except when the PMI is

Re: [PATCH v7 12/12] KVM/VMX/vPMU: support to report GLOBAL_STATUS_LBRS_FROZEN

2019-07-09 Thread Peter Zijlstra
On Tue, Jul 09, 2019 at 11:24:07AM +0800, Wei Wang wrote: > On 07/08/2019 11:09 PM, Peter Zijlstra wrote: > > On Mon, Jul 08, 2019 at 09:23:19AM +0800, Wei Wang wrote: > > > This patch enables the LBR related features in Arch v4 in advance, > > > though the current vPMU only has v2 support. Other a

Re: [PATCH v7 12/12] KVM/VMX/vPMU: support to report GLOBAL_STATUS_LBRS_FROZEN

2019-07-08 Thread Wei Wang
On 07/08/2019 11:09 PM, Peter Zijlstra wrote: On Mon, Jul 08, 2019 at 09:23:19AM +0800, Wei Wang wrote: This patch enables the LBR related features in Arch v4 in advance, though the current vPMU only has v2 support. Other arch v4 related support will be enabled later in another series. Arch v4

Re: [PATCH v7 12/12] KVM/VMX/vPMU: support to report GLOBAL_STATUS_LBRS_FROZEN

2019-07-08 Thread Peter Zijlstra
On Mon, Jul 08, 2019 at 09:23:19AM +0800, Wei Wang wrote: > This patch enables the LBR related features in Arch v4 in advance, > though the current vPMU only has v2 support. Other arch v4 related > support will be enabled later in another series. > > Arch v4 supports streamlined Freeze_LBR_on_PMI.