Skip to content

KVM/arm64 fixes for 5.16, take #1

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: arm64: Extract ESR_ELx.EC onlyarch/arm64/include/asm/esr.h arch/arm64/kvm/hyp/hyp-entry.S arch/arm64/kvm/hyp/nvhe/host.S+3 -20 replies
2/4KVM: arm64: nvhe: Fix a non-kernel-doc commentarch/arm64/kvm/hyp/nvhe/sys_regs.c+1 -10 replies
3/4KVM: arm64: Change the return type of kvm_vcpu_preferred_target()arch/arm64/include/asm/kvm_host.h arch/arm64/kvm/arm.c arch/arm64/kvm/guest.c+3 -110 replies
4/4KVM: arm64: Fix host stage-2 finalizationarch/arm64/kvm/hyp/nvhe/setup.c+12 -20 replies

Reviews trailers per patch

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

PatchWill DeaconAlexandru Elisei
1/4A-b
2/4
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] KVM/arm64 fixes for 5.16, take #1

Paolo,

Here's the first set of fixes for 5.16. The main items are a fix for a host S2 issue for protected VM, as well as a correctness fix when extracting the exception class from assembly code. The rest is strictly cosmetic.

Please pull,

	M.

The following changes since commit 5a2acbbb0179a7ffbb5440b9fa46689f619705ac:

Merge branch kvm/selftests/memslot into kvmarm-master/next (2021-10-21 11:40:03 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 50a8d3315960c74095c59e204db44abd937d4b5d:

KVM: arm64: Fix host stage-2 finalization (2021-11-08 18:07:48 +0000)

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

- Fix the host S2 finalization by solely iterating over the memblocks instead of the whole IPA space

- Tighten the return value of kvm_vcpu_preferred_target() now that 32bit support is long gone

- Make sure the extraction of ESR_ELx.EC is limited to the architected bits

- Comment fixups

----------------------------------------------------------------
Mark Rutland (1):
KVM: arm64: Extract ESR_ELx.EC only

Quentin Perret (1):
KVM: arm64: Fix host stage-2 finalization

Randy Dunlap (1):
KVM: arm64: nvhe: Fix a non-kernel-doc comment

YueHaibing (1):
KVM: arm64: Change the return type of kvm_vcpu_preferred_target()

 arch/arm64/include/asm/esr.h       |  1 +
 arch/arm64/include/asm/kvm_host.h  |  2 +-
 arch/arm64/kvm/arm.c               |  5 +----
 arch/arm64/kvm/guest.c             |  7 +------
 arch/arm64/kvm/hyp/hyp-entry.S     |  2 +-
 arch/arm64/kvm/hyp/nvhe/host.S     |  2 +-
 arch/arm64/kvm/hyp/nvhe/setup.c    | 14 ++++++++++++--
 arch/arm64/kvm/hyp/nvhe/sys_regs.c |  2 +-
 8 files changed, 19 insertions(+), 16 deletions(-)