Skip to content

Random debug/PMU fixes for 5.6

Marc Zyngier kvm kvmarm linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: arm64: Fix missing RES1 in emulation of DBGBIDRarch/arm64/kvm/sys_regs.c+1 -13 replies
2/5KVM: arm64: Refactor filtering of ID registersarch/arm64/kvm/sys_regs.c+15 -71 reply
3/5kvm: arm64: Limit PMU version to ARMv8.1arch/arm64/kvm/sys_regs.c+5 -04 replies
4/5KVM: arm64: Limit the debug architecture to ARMv8.0arch/arm64/kvm/sys_regs.c+3 -01 reply
5/5KVM: arm64: Upgrade PMU support to ARMv8.4arch/arm64/include/asm/sysreg.h arch/arm64/kvm/sys_regs.c+8 -30 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchJames MorseAndre Przywara
1/5R-b
2/5R-b
3/5R-b
4/5
5/5

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

Read the v1 thread

Cover letter [PATCH 0/5] Random debug/PMU fixes for 5.6

Here's a few cleanups and fixes for 5.6, all around our debug and PMU ID register emulation:

1) Missing RES1 bit in DBGDIDR
2) Limiting PMU version to v8.1
3) Limiting debug version to ARMv8.0
4) Support for ARMv8.4-PMU

(1) was reported by Peter, (2) had a patch from Andrew Murray on the list, but it's been a while since he was going to rebase and fix it, so I did bite the bullet. (3) is needed until we implement the right thing with NV. (4) was too easy not to be done right away.

Patch #2 is a cleanup that helps the following patches.

Unless someone objects, I'd like to take this into 5.6 (except maybe for the last patch).

Marc Zyngier (5):
KVM: arm64: Fix missing RES1 in emulation of DBGBIDR
KVM: arm64: Refactor filtering of ID registers
kvm: arm64: Limit PMU version to ARMv8.1
KVM: arm64: Limit the debug architecture to ARMv8.0
KVM: arm64: Upgrade PMU support to ARMv8.4

 arch/arm64/include/asm/sysreg.h |  2 ++
 arch/arm64/kvm/sys_regs.c       | 35 +++++++++++++++++++++++++--------
 2 files changed, 29 insertions(+), 8 deletions(-)
Signature · 1 line
2.20.1