Skip to content

KVM/arm64 fixes for 5.12, take #1

Marc Zyngier kvm kvmarm linux-arm-kernel stable 1 version Applied

Status from this message: Applied to kvm/next (because kvm/master is also on the problematic 5.12-rc1 tags), thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8KVM: arm64: nvhe: Save the SPE context earlyarch/arm64/include/asm/kvm_hyp.h arch/arm64/kvm/hyp/nvhe/debug-sr.c arch/arm64/kvm/hyp/nvhe/switch.c+25 -30 replies
2/8KVM: arm64: Avoid corrupting vCPU context register in guest exitarch/arm64/kvm/hyp/entry.S+1 -10 replies
3/8KVM: arm64: Fix nVHE hyp panic host context restorearch/arm64/include/asm/kvm_hyp.h arch/arm64/kvm/hyp/nvhe/host.S arch/arm64/kvm/hyp/nvhe/switch.c+11 -100 replies
4/8KVM: arm64: Turn kvm_arm_support_pmu_v3() into a static keyarch/arm64/kvm/perf.c arch/arm64/kvm/pmu-emul.c include/kvm/arm_pmu.h+17 -120 replies
5/8KVM: arm64: Don't access PMSELR_EL0/PMUSERENR_EL0 when no PMU is availablearch/arm64/kernel/image-vars.h arch/arm64/kvm/hyp/include/hyp/switch.h+9 -30 replies
6/8KVM: arm64: Rename __vgic_v3_get_ich_vtr_el2() to __vgic_v3_get_gic_config()arch/arm64/include/asm/kvm_asm.h arch/arm64/kvm/hyp/nvhe/hyp-main.c arch/arm64/kvm/hyp/vgic-v3-sr.c +1 more+14 -70 replies
7/8KVM: arm64: Workaround firmware wrongly advertising GICv2-on-v3 compatibilityarch/arm64/kvm/hyp/vgic-v3-sr.c arch/arm64/kvm/vgic/vgic-v3.c+39 -42 replies
8/8KVM: arm64: Fix range alignment when walking page tablesarch/arm64/kvm/hyp/pgtable.c+1 -00 replies

Reviews trailers per patch

4 of 8 patches have a Reviewed-by or Acked-by.

PatchAlexandru EliseiShameer KolothumWill Deacon
1/8R-b
2/8
3/8
4/8R-b
5/8R-b
6/8T-b
7/8T-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] KVM/arm64 fixes for 5.12, take #1

Hi Paolo,

Here's the first batch of fixes for 5.12. We have a handful of low level world-switch regressions, a page table walker fix, more PMU tidying up, and a workaround for systems with creative firmware.

This will need to go on top of the current state of mainline.

Please apply,

	M.

Andrew Scull (1):
KVM: arm64: Fix nVHE hyp panic host context restore

Jia He (1):
KVM: arm64: Fix range alignment when walking page tables

Marc Zyngier (4):
KVM: arm64: Turn kvm_arm_support_pmu_v3() into a static key
KVM: arm64: Don't access PMSELR_EL0/PMUSERENR_EL0 when no PMU is available
KVM: arm64: Rename __vgic_v3_get_ich_vtr_el2() to __vgic_v3_get_gic_config()
KVM: arm64: Workaround firmware wrongly advertising GICv2-on-v3 compatibility

Suzuki K Poulose (1):
KVM: arm64: nvhe: Save the SPE context early

Will Deacon (1):
KVM: arm64: Avoid corrupting vCPU context register in guest exit

 arch/arm64/include/asm/kvm_asm.h        |  4 ++--
 arch/arm64/include/asm/kvm_hyp.h        |  8 ++++++-
 arch/arm64/kernel/image-vars.h          |  3 +++
 arch/arm64/kvm/hyp/entry.S              |  2 +-
 arch/arm64/kvm/hyp/include/hyp/switch.h |  9 +++++---
 arch/arm64/kvm/hyp/nvhe/debug-sr.c      | 12 ++++++++--
 arch/arm64/kvm/hyp/nvhe/host.S          | 15 +++++++------
 arch/arm64/kvm/hyp/nvhe/hyp-main.c      |  6 ++---
 arch/arm64/kvm/hyp/nvhe/switch.c        | 14 +++++++++---
 arch/arm64/kvm/hyp/pgtable.c            |  1 +
 arch/arm64/kvm/hyp/vgic-v3-sr.c         | 40 +++++++++++++++++++++++++++++++--
 arch/arm64/kvm/perf.c                   | 10 +++++++++
 arch/arm64/kvm/pmu-emul.c               | 10 ---------
 arch/arm64/kvm/vgic/vgic-v3.c           | 12 +++++++---
 include/kvm/arm_pmu.h                   |  9 ++++++--
 15 files changed, 116 insertions(+), 39 deletions(-)

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