On 20/10/19 12:11, Marc Zyngier wrote: > Paolo, Radim, > > Here's the latest (and hopefully last) set of KVM/arm fixes for > 5.4. 4 patches exclusively covering our PMU emulation, which exhibited > several different flavours of brokenness. > > Please pull, > > M. > > The following changes since commit da0c9ea146cbe92b832f1b0f694840ea8eb33cce: > > Linux 5.4-rc2 (2019-10-06 14:27:30 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.4-2 > > for you to fetch changes up to 8c3252c06516eac22c4f8e2506122171abedcc09: > > KVM: arm64: pmu: Reset sample period on overflow handling (2019-10-20 10:47:07 +0100) > > ---------------------------------------------------------------- > KVM/arm fixes for 5.4, take #2 > > Special PMU edition: > > - Fix cycle counter truncation > - Fix cycle counter overflow limit on pure 64bit system > - Allow chained events to be actually functional > - Correct sample period after overflow > > ---------------------------------------------------------------- > Marc Zyngier (4): > KVM: arm64: pmu: Fix cycle counter truncation > arm64: KVM: Handle PMCR_EL0.LC as RES1 on pure AArch64 systems > KVM: arm64: pmu: Set the CHAINED attribute before creating the in-kernel event > KVM: arm64: pmu: Reset sample period on overflow handling > > arch/arm64/kvm/sys_regs.c | 4 ++++ > virt/kvm/arm/pmu.c | 48 ++++++++++++++++++++++++++++++++++------------- > 2 files changed, 39 insertions(+), 13 deletions(-) > Pulled, thanks. Paolo