Skip to contentSkip to conversation

KVM/arm64 fixes for 6.4, take #3

GIT PULL Marc Zyngier 2 participants 2 messages May 31, 2023 – Jun 3, 2023

Subsystems (2)
lore
Share & tools
lore

Marc Zyngier

author maintainer
#0 lore raw

Paolo,

Here's the third batch of fixes for 6.4: yet another MMU-related fix, an external debug bug fix and the obligatory PMU fix.

Note that since you don't seem to have pulled kvmarm-fixes-6.4-2[1] just yet, pulling this will drag both tags.

Please pull,

	M.

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

The following changes since commit a9f0e3d5a089d0844abb679a5e99f15010d53e25:

KVM: arm64: Reload PTE after invoking walker callback on preorder traversal (2023-05-24 13:47:12 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.4-3

for you to fetch changes up to 40e54cad454076172cc3e2bca60aa924650a3e4b:

KVM: arm64: Document default vPMU behavior on heterogeneous systems (2023-05-31 10:29:56 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 6.4, take #3

- Fix the reported address of a watchpoint forwarded to userspace

- Fix the freeing of the root of stage-2 page tables

- Stop creating spurious PMU events to perform detection of the default PMU and use the existing PMU list instead.

----------------------------------------------------------------
Akihiko Odaki (1):
KVM: arm64: Populate fault info for watchpoint

Oliver Upton (3):
KVM: arm64: Drop last page ref in kvm_pgtable_stage2_free_removed()
KVM: arm64: Iterate arm_pmus list to probe for default PMU
KVM: arm64: Document default vPMU behavior on heterogeneous systems

 arch/arm64/kvm/hyp/include/hyp/switch.h |  8 +++--
 arch/arm64/kvm/hyp/nvhe/switch.c        |  2 ++
 arch/arm64/kvm/hyp/pgtable.c            |  3 ++
 arch/arm64/kvm/hyp/vhe/switch.c         |  1 +
 arch/arm64/kvm/pmu-emul.c               | 58 +++++++++++++--------------------
 5 files changed, 35 insertions(+), 37 deletions(-)
maintainer
#1 lore raw
Quoted 15 lines · Marc Zyngier

Paolo,

Here's the third batch of fixes for 6.4: yet another MMU-related fix, an external debug bug fix and the obligatory PMU fix.

Note that since you don't seem to have pulled kvmarm-fixes-6.4-2[1] just yet, pulling this will drag both tags.

Please pull,

        M.

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

Quoted 7 lines

The following changes since commit a9f0e3d5a089d0844abb679a5e99f15010d53e25:

KVM: arm64: Reload PTE after invoking walker callback on preorder traversal (2023-05-24 13:47:12 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.4-3

Pulled, thanks (a bit more speedily than #2, fortunately).

Paolo

Quoted 30 lines

for you to fetch changes up to 40e54cad454076172cc3e2bca60aa924650a3e4b:

KVM: arm64: Document default vPMU behavior on heterogeneous systems (2023-05-31 10:29:56 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 6.4, take #3

- Fix the reported address of a watchpoint forwarded to userspace

- Fix the freeing of the root of stage-2 page tables

- Stop creating spurious PMU events to perform detection of the default PMU and use the existing PMU list instead.

----------------------------------------------------------------
Akihiko Odaki (1):
KVM: arm64: Populate fault info for watchpoint

Oliver Upton (3):
KVM: arm64: Drop last page ref in kvm_pgtable_stage2_free_removed()
KVM: arm64: Iterate arm_pmus list to probe for default PMU
KVM: arm64: Document default vPMU behavior on heterogeneous systems

 arch/arm64/kvm/hyp/include/hyp/switch.h |  8 +++--
 arch/arm64/kvm/hyp/nvhe/switch.c        |  2 ++
 arch/arm64/kvm/hyp/pgtable.c            |  3 ++
 arch/arm64/kvm/hyp/vhe/switch.c         |  1 +
 arch/arm64/kvm/pmu-emul.c               | 58 +++++++++++++--------------------
 5 files changed, 35 insertions(+), 37 deletions(-)