Re: [PATCH 2/7] KVM: arm64: PMU: Use reset_pmu_reg() for PMUSERENR_EL0 and PMCCFILTR_EL0

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

 



Hi Oliver,

On Sun, Jan 8, 2023 at 11:13 AM Oliver Upton <oliver.upton@xxxxxxxxx> wrote:
>
> On Thu, Dec 29, 2022 at 07:59:23PM -0800, Reiji Watanabe wrote:
> > The default reset function for PMU registers (reset_pmu_reg())
> > now simply clears a specified register. Use that function for
> > PMUSERENR_EL0 and PMCCFILTR_EL0, since those registers should
> > simply be cleared on vCPU reset.
>
> AFAICT, the fields in both these registers have UNKNOWN reset values. Of
> course, 0 is an entirely valid reset value but the architectural
> behavior should be mentioned in the commit message.

Uh, yeah, the commit message was misleading.
The fields in both these registers have UNKNOWN reset values.
The ones for 32bit registers (PMUSERENR and PMCCFILTR) have zero reset
values though.

I will update the commit message to mention those explicitly.

Thank you,
Reiji



[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