mbox series

[GIT,PULL] KVM/arm64 fixes for 6.4, take #3

Message ID 20230531100305.430120-1-maz@kernel.org (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] KVM/arm64 fixes for 6.4, take #3 | expand

Pull-request

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

Message

Marc Zyngier May 31, 2023, 10:03 a.m. UTC
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/20230524125757.3631091-1-maz@kernel.org

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(-)

Comments

Paolo Bonzini June 3, 2023, 7:16 p.m. UTC | #1
On Wed, May 31, 2023 at 12:03 PM Marc Zyngier <maz@kernel.org> wrote:
>
> 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/20230524125757.3631091-1-maz@kernel.org
>
> 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

> 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(-)
>