Re: [RFC PATCH v3 43/58] KVM: x86/pmu: Introduce PMU operator for setting counter overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/21/2024 2:48 AM, Sean Christopherson wrote:
> On Fri, Oct 25, 2024, Zide Chen wrote:
>>
>> On 7/31/2024 9:58 PM, Mingwei Zhang wrote:
>>> Introduce PMU operator for setting counter overflow. When emulating counter
>>> increment, multiple counters could overflow at the same time, i.e., during
>>> the execution of the same instruction. In passthrough PMU, having an PMU
>>> operator provides convenience to update the PMU global status in one shot
>>> with details hidden behind the vendor specific implementation.
>> Since neither Intel nor AMD does implement this API, this patch should
>> be dropped.
> For all of these small APIs, please introduce and use the API in the same patch.
> That avoids goofs like this, where something is never used, and makes the patches
> far easier to review.

Sure.


>




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux