All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] kvm-arm64: Fix PMU reset values (and more)
@ 2021-07-13 13:58 ` Marc Zyngier
  0 siblings, 0 replies; 42+ messages in thread
From: Marc Zyngier @ 2021-07-13 13:58 UTC (permalink / raw)
  To: linux-arm-kernel, kvm, kvmarm
  Cc: James Morse, Suzuki K Poulose, Alexandru Elisei,
	Alexandre Chartre, Robin Murphy, kernel-team

Hi all,

After some back and forth with Alexandre about patch #3 of this
series, it became apparent that some of the PMU code paths perform
some unnecessary masking, only to hide the fact that some of the PMU
register reset values are not architecturally compliant (RES0 bits get
set, among other things).

The first patch of this series addresses the reset value problem, the
second one rids us of the pointless masking, and Alexandre's patch
(which depends on the first two) is slapped on top, with a small
cosmetic change.

Thanks,

	M.

Alexandre Chartre (1):
  KVM: arm64: Disabling disabled PMU counters wastes a lot of time

Marc Zyngier (2):
  KVM: arm64: Narrow PMU sysreg reset values to architectural
    requirements
  KVM: arm64: Drop unnecessary masking of PMU registers

 arch/arm64/kvm/pmu-emul.c |  8 +++---
 arch/arm64/kvm/sys_regs.c | 52 ++++++++++++++++++++++++++++++++++-----
 2 files changed, 50 insertions(+), 10 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2021-07-15 12:28 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-13 13:58 [PATCH 0/3] kvm-arm64: Fix PMU reset values (and more) Marc Zyngier
2021-07-13 13:58 ` Marc Zyngier
2021-07-13 13:58 ` Marc Zyngier
2021-07-13 13:58 ` [PATCH 1/3] KVM: arm64: Narrow PMU sysreg reset values to architectural requirements Marc Zyngier
2021-07-13 13:58   ` Marc Zyngier
2021-07-13 13:58   ` Marc Zyngier
2021-07-13 14:39   ` Russell King (Oracle)
2021-07-13 14:39     ` Russell King (Oracle)
2021-07-13 14:39     ` Russell King (Oracle)
2021-07-13 15:59     ` Marc Zyngier
2021-07-13 15:59       ` Marc Zyngier
2021-07-13 15:59       ` Marc Zyngier
2021-07-13 16:15       ` Russell King (Oracle)
2021-07-13 16:15         ` Russell King (Oracle)
2021-07-13 16:15         ` Russell King (Oracle)
2021-07-14 15:48   ` Alexandru Elisei
2021-07-14 15:48     ` Alexandru Elisei
2021-07-14 15:48     ` Alexandru Elisei
2021-07-15 11:11     ` Marc Zyngier
2021-07-15 11:11       ` Marc Zyngier
2021-07-15 11:11       ` Marc Zyngier
2021-07-15 11:51       ` Robin Murphy
2021-07-15 11:51         ` Robin Murphy
2021-07-15 11:51         ` Robin Murphy
2021-07-15 12:25         ` Marc Zyngier
2021-07-15 12:25           ` Marc Zyngier
2021-07-15 12:25           ` Marc Zyngier
2021-07-13 13:58 ` [PATCH 2/3] KVM: arm64: Drop unnecessary masking of PMU registers Marc Zyngier
2021-07-13 13:58   ` Marc Zyngier
2021-07-13 13:58   ` Marc Zyngier
2021-07-14 16:12   ` Alexandru Elisei
2021-07-14 16:12     ` Alexandru Elisei
2021-07-14 16:12     ` Alexandru Elisei
2021-07-13 13:59 ` [PATCH 3/3] KVM: arm64: Disabling disabled PMU counters wastes a lot of time Marc Zyngier
2021-07-13 13:59   ` Marc Zyngier
2021-07-13 13:59   ` Marc Zyngier
2021-07-14 16:18   ` Alexandru Elisei
2021-07-14 16:18     ` Alexandru Elisei
2021-07-14 16:18     ` Alexandru Elisei
2021-07-15  8:34 ` [PATCH 0/3] kvm-arm64: Fix PMU reset values (and more) Alexandre Chartre
2021-07-15  8:34   ` Alexandre Chartre
2021-07-15  8:34   ` Alexandre Chartre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.