Skip to contentSkip to conversation

KVM/arm64 fixes for 6.1, take #1

GIT PULL Marc Zyngier 2 participants 2 messages Oct 13, 2022 – Oct 22, 2022

Subsystems (2)
lore
Share & tools
lore

Marc Zyngier

author maintainer
#0 lore raw

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(-)
maintainer
#1 lore raw
Quoted 8 lines · Marc Zyngier

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...

Quoted 4 lines

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