mbox series

[GIT,PULL] KVM/arm64 fixes for 6.1, take #1

Message ID 20221013132830.1304947-1-maz@kernel.org
State New
Headers show
Series [GIT,PULL] KVM/arm64 fixes for 6.1, take #1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.1-1

Message

Marc Zyngier Oct. 13, 2022, 1:28 p.m. UTC
Paolo,

Here's the first set of fixes for 6.1. The most interesting bit is
Oliver's fix limiting the S2 invalidation batch size the the largest
block mapping, solving (at least for now) the RCU stall problems we
have been seeing for a while. We may have to find another solution
when (and if) we decide to allow 4TB mapping at S2...

The rest is a set of minor selftest fixes as well as enabling stack
protection and profiling in the VHE code.

Please pull,

       M.

The following changes since commit b302ca52ba8235ff0e18c0fa1fa92b51784aef6a:

  Merge branch kvm-arm64/misc-6.1 into kvmarm-master/next (2022-10-01 10:19:36 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.1-1

for you to fetch changes up to 05c2224d4b049406b0545a10be05280ff4b8ba0a:

  KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test (2022-10-13 11:46:51 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 6.1, take #1

- Fix for stage-2 invalidation holding the VM MMU lock
  for too long by limiting the walk to the largest
  block mapping size

- Enable stack protection and branch profiling for VHE

- Two selftest fixes

----------------------------------------------------------------
Gavin Shan (1):
      KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test

Oliver Upton (2):
      KVM: arm64: Work out supported block level at compile time
      KVM: arm64: Limit stage2_apply_range() batch size to largest block

Vincent Donnefort (1):
      KVM: arm64: Enable stack protection and branch profiling for VHE

Zenghui Yu (1):
      KVM: arm64: selftests: Fix multiple versions of GIC creation

 arch/arm64/include/asm/kvm_pgtable.h                 | 18 +++++++++++++-----
 arch/arm64/include/asm/stage2_pgtable.h              | 20 --------------------
 arch/arm64/kvm/hyp/Makefile                          |  5 +----
 arch/arm64/kvm/hyp/nvhe/Makefile                     |  3 +++
 arch/arm64/kvm/mmu.c                                 |  9 ++++++++-
 tools/testing/selftests/kvm/aarch64/vgic_init.c      |  4 ++--
 .../selftests/kvm/memslot_modification_stress_test.c |  2 +-
 7 files changed, 28 insertions(+), 33 deletions(-)

Comments

Paolo Bonzini Oct. 22, 2022, 7:32 a.m. UTC | #1
On Thu, Oct 13, 2022 at 3:28 PM Marc Zyngier <maz@kernel.org> wrote:
> Paolo,
>
> Here's the first set of fixes for 6.1. The most interesting bit is
> Oliver's fix limiting the S2 invalidation batch size the the largest
> block mapping, solving (at least for now) the RCU stall problems we
> have been seeing for a while. We may have to find another solution
> when (and if) we decide to allow 4TB mapping at S2...
>
> The rest is a set of minor selftest fixes as well as enabling stack
> protection and profiling in the VHE code.
>
> Please pull,

Done, thanks.

Paolo