Skip to content

KVM: arm64: More PMU/debug ID register fixes

Marc Zyngier kvm kvmarm linux-arm-kernel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 21 repliesIn review
  2. v16 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7KVM: arm64: Fix missing RES1 in emulation of DBGBIDRarch/arm64/kvm/sys_regs.c+1 -11 reply
2/7KVM: arm64: Fix AArch32 PMUv3 cappingarch/arm64/kvm/sys_regs.c+2 -21 reply
3/7KVM: arm64: Add handling of AArch32 PCMEID{2,3} PMUv3 registersarch/arm64/kvm/sys_regs.c+9 -30 replies
4/7KVM: arm64: Refactor filtering of ID registersarch/arm64/kvm/sys_regs.c+28 -231 reply
5/7KVM: arm64: Limit the debug architecture to ARMv8.0arch/arm64/kvm/sys_regs.c+3 -01 reply
6/7KVM: arm64: Upgrade PMU support to ARMv8.4arch/arm64/include/asm/sysreg.h arch/arm64/kvm/pmu-emul.c arch/arm64/kvm/sys_regs.c+16 -415 replies
7/7KVM: arm64: Use symbolic names for the PMU versionsarch/arm64/kvm/pmu-emul.c+4 -42 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchEric AugerAlexandru Elisei
1/7R-b R-b
2/7R-b R-b
3/7R-b
4/7R-b R-b
5/7R-b R-b
6/7
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] KVM: arm64: More PMU/debug ID register fixes

This is a respin of a series I posted in the 5.7 time frame, and completely forgot about it until I noticed again that a few things where not what I remembered... Given how long it has been, I'm pretending this is all new work.

Anyway, this covers a few gaps in our ID register handling for PMU and Debug, plus the upgrade of the PMU support to 8.4 when possible.

I don't plan to take this into 5.11, but this is a likely candidate for 5.12. Note that this conflicts with fixes that are on their way to 5.11. I'll probably end-up dragging the fixes into 5.12 to solve it.

* From v1 [1]:
- Upgrade AArch32 to PMUv8.4 if possible
- Don't advertise STALL_SLOT when advertising PMU 8.4
- Add an extra patch replacing raw values for the PMU version with the already existing symbolaic values

[1] https://lore.kernel.org/r/[email protected]

Marc Zyngier (7):
KVM: arm64: Fix missing RES1 in emulation of DBGBIDR
KVM: arm64: Fix AArch32 PMUv3 capping
KVM: arm64: Add handling of AArch32 PCMEID{2,3} PMUv3 registers
KVM: arm64: Refactor filtering of ID registers
KVM: arm64: Limit the debug architecture to ARMv8.0
KVM: arm64: Upgrade PMU support to ARMv8.4
KVM: arm64: Use symbolic names for the PMU versions

 arch/arm64/include/asm/sysreg.h |  3 ++
 arch/arm64/kvm/pmu-emul.c       | 14 ++++--
 arch/arm64/kvm/sys_regs.c       | 79 ++++++++++++++++++++-------------
 3 files changed, 61 insertions(+), 35 deletions(-)
Signature · 6 lines
2.29.2

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm