[PATCH v7 1/4] KVM: arm64: PMU: Add kvm_pmu_enabled_counter_mask()
Akihiko Odaki
odaki at rsg.ci.i.u-tokyo.ac.jp
Sun Apr 19 22:27:08 PDT 2026
On 2026/04/19 23:13, Marc Zyngier wrote:
> On Sat, 18 Apr 2026 09:14:23 +0100,
> Akihiko Odaki <odaki at rsg.ci.i.u-tokyo.ac.jp> wrote:
>>
>> This function will be useful to enumerate enabled counters.
>
> Consider expanding this commit message a bit. Something along the
> lines of:
>
> "Add kvm_pmu_enabled_counter_mask() as an accessor returning a 64bit
> mask of the counters enabled on a given vcpu.
>
> This will eventually be useful to iterate over the counters."
That looks better. I think I'll use that message for the next version.
Regards,
Akihiko Odaki
More information about the linux-arm-kernel
mailing list