* [GIT PULL] KVM/arm64 fixes for 7.4, take #1
@ 2026-10-27 14:34 Marc Zyngier
2026-10-28 18:06 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Marc Zyngier @ 2026-10-27 14:34 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Fuad Tabba, Itaru Kitayama, Lorenzo Stoakes, Mark Brown,
Oliver Upton, Sascha Bischoff, Sasha Levin, Steven Rostedt,
Suzuki K Poulose, Vincent Donnefort, Steffen Eiden, Joey Gouly,
Zenghui Yu, kvmarm, linux-arm-kernel, kvm
Paolo,
Here's the first set of KVM/arm64 fixes for 7.4, most of which have
been brewing for some time. Of note: a couple of fixes for mismerges
in the initial kvmarm-7,4 pull request, fixes for the publication of
IN/OUTSIDE_GUEST_MODE, and nesting for vcpu pausing. The rest is a
bunch of cleanups for nonsensical configurations and some more pKVM
fixes. I have already started queuing more fixes, so it is likely that
I'll be back next week with a similar email.
Note that this is on top of the initial pull-request that you sent to
Linus, so hopefully conflict free.
Please pull,
M.
The following changes since commit 814607cd40df80d5727957adaa857e0feca43497:
Merge tag 'kvm-s390-next-7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2026-10-19 15:11:58 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-7.4-1
for you to fetch changes up to 9e9283e4c941e806d2735f09b66763487bc48b50:
Merge branch kvm-arm64/misc-fixes-7.4-1 into kvmarm-master/fixes (2026-10-26 10:57:37 +0000)
----------------------------------------------------------------
KVM/arm64 fixes for 7.4, take #1
- Fix a couple of embarrassing merge mistakes in kvmarm-7.4
- Cleanup the HCR_EL2 bit fields to exclusively use the generated
definitions, fixings a nasty regression introduced in 6.16, where
barriers were not upgraded from NSH to ISH anymore
- Fix publication of state when a vcpu is forced out of the guest
- Let vcpu pausing nest correctly
- Sanitise ID_AA64MMFR3_EL1.S1P[IO]E to follow the rules of the architecture
- Don't warn on SMCCC filter reserved range allocation failure
- Prevent GICv5 and TLBI hypercalls to be used from the host when pKVM
is active
- Enforce that only GICv3 guests are supported for pKVM
- Don't try to access GICv5 EL2 sysregs from EL1
- Compute architectrally correct values for ID_AA64MMFR3_EL1.S1P[IO]E
by checking the feature dependencies
- Require matching VGIC and ITS model
- Cleanup TRACE_REMOTE dependencies
- selftests: Skip unwritable ID fields in the failed-run test
- Move pkvm_selftests() after all CPUs have initialized EL2
- Fix random comments
----------------------------------------------------------------
Fuad Tabba (10):
KVM: arm64: vgic-its: Don't map an LPI from more than one event
KVM: arm64: vgic-its: Remove the pending state of a discarded LPI
KVM: arm64: Don't WARN on SMCCC filter reserved range allocation failure
KVM: arm64: Reject the GICv5 CPU interface hypercalls under pKVM
KVM: arm64: Return on kvm_gmem_get_pfn() failure in gmem_abort()
KVM: arm64: Reject the stage-2 flush hypercalls under pKVM
KVM: arm64: Validate the host-provided vgic model in pKVM
KVM: arm64: vgic: Do not access the GICv5 CPU interface from EL1
KVM: arm64: Fix stale VGICv3 comments in the nVHE world switch
KVM: arm64: Set HCR_EL2.BSU to Inner Shareable for guests
Marc Zyngier (12):
KVM: arm64: nv: Move L2->L1 switch on interrupt early
KVM: arm64: Move OUTSIDE_GUEST_MODE publication past context being saved
KVM: arm64: Move IN_GUEST_MODE ahead of state being loaded
KVM: arm64: Turn vcpu->arch.pause into a counter
KVM: arm64: vgic: Stop the target vcpu when disabling LPIs
KVM: arm64: vgic-its: Stop the VM when handling MOVALL
KVM: arm64: Convert HCR_xyz to HCR_EL2_xyz
KVM: arm64: Get rid of compatibility HCR_EL2 aliases
KVM: arm64: Sanitise ID_AA64MMFR3_EL1.S1P[IO]E
Merge branch kvm-arm64/hcr-cleanup into kvmarm-master/fixes
Merge branch kvm-arm64/cross-vcpu-sync into kvmarm-master/fixes
Merge branch kvm-arm64/misc-fixes-7.4-1 into kvmarm-master/fixes
Oliver Upton (1):
KVM: arm64: Add helpers to halt a vCPU
Sascha Bischoff (3):
KVM: arm64: gic-v5: Drop unused addr variable
KVM: arm64: vgic: Require matching VGIC and ITS models
KVM: selftests: Reject GICv3 ITS with a GICv5 VGIC
Sasha Levin (2):
KVM: arm64: Take a protected vCPU's TWI and TWE only at vCPU load
KVM: arm64: selftests: Skip unwritable ID fields in the failed-run test
Vincent Donnefort (2):
KVM: arm64: Move pkvm_selftests() after all CPUs have initialized EL2
tracing/remotes: Fix TRACE_REMOTE build when TRACING=n
arch/arm64/include/asm/el2_setup.h | 4 +-
arch/arm64/include/asm/hardirq.h | 6 +-
arch/arm64/include/asm/kvm_arm.h | 79 ++--------------
arch/arm64/include/asm/kvm_asm.h | 22 ++---
arch/arm64/include/asm/kvm_emulate.h | 18 ++--
arch/arm64/include/asm/kvm_host.h | 10 +-
arch/arm64/include/asm/kvm_mte.h | 4 +-
arch/arm64/include/asm/kvm_pkvm.h | 1 -
arch/arm64/include/asm/kvm_ptrauth.h | 4 +-
arch/arm64/kernel/head.S | 4 +-
arch/arm64/kvm/Kconfig | 2 +-
arch/arm64/kvm/arm.c | 100 ++++++++++++--------
arch/arm64/kvm/at.c | 18 ++--
arch/arm64/kvm/config.c | 78 ++++++++++++++++
arch/arm64/kvm/emulate-nested.c | 116 ++++++++++++------------
arch/arm64/kvm/guest.c | 2 +-
arch/arm64/kvm/handle_exit.c | 2 +-
arch/arm64/kvm/hyp/include/hyp/switch.h | 14 +--
arch/arm64/kvm/hyp/include/nvhe/pkvm.h | 13 +--
arch/arm64/kvm/hyp/nvhe/host.S | 2 +-
arch/arm64/kvm/hyp/nvhe/hyp-init.S | 2 +-
arch/arm64/kvm/hyp/nvhe/hyp-main.c | 15 +--
arch/arm64/kvm/hyp/nvhe/mem_protect.c | 6 +-
arch/arm64/kvm/hyp/nvhe/pkvm.c | 41 +++++----
arch/arm64/kvm/hyp/nvhe/switch.c | 4 +-
arch/arm64/kvm/hyp/vgic-v3-sr.c | 4 +-
arch/arm64/kvm/hyp/vhe/switch.c | 12 +--
arch/arm64/kvm/hyp/vhe/tlb.c | 2 +-
arch/arm64/kvm/hypercalls.c | 4 +-
arch/arm64/kvm/inject_fault.c | 6 +-
arch/arm64/kvm/mmu.c | 9 +-
arch/arm64/kvm/nested.c | 16 +++-
arch/arm64/kvm/pkvm.c | 4 +-
arch/arm64/kvm/sys_regs.c | 26 +++---
arch/arm64/kvm/vgic/vgic-init.c | 17 ++++
arch/arm64/kvm/vgic/vgic-irs-v5.c | 3 +-
arch/arm64/kvm/vgic/vgic-its.c | 85 +++++++++++++++--
arch/arm64/kvm/vgic/vgic-mmio-v3.c | 15 ++-
arch/arm64/kvm/vgic/vgic-v3-nested.c | 4 +-
arch/arm64/kvm/vgic/vgic.c | 15 +--
include/kvm/arm_vgic.h | 6 +-
kernel/trace/Kconfig | 1 +
tools/testing/selftests/kvm/arm64/set_id_regs.c | 13 ++-
tools/testing/selftests/kvm/arm64/vgic_v5.c | 32 +++++++
44 files changed, 517 insertions(+), 324 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] KVM/arm64 fixes for 7.4, take #1
2026-10-27 14:34 [GIT PULL] KVM/arm64 fixes for 7.4, take #1 Marc Zyngier
@ 2026-10-28 18:06 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2026-10-28 18:06 UTC (permalink / raw)
To: Marc Zyngier
Cc: Fuad Tabba, Itaru Kitayama, Lorenzo Stoakes, Mark Brown,
Oliver Upton, Sascha Bischoff, Sasha Levin, Steven Rostedt,
Suzuki K Poulose, Vincent Donnefort, Steffen Eiden, Joey Gouly,
Zenghui Yu, kvmarm, linux-arm-kernel, kvm
On Tue, Oct 27, 2026 at 3:35 PM Marc Zyngier <maz@kernel.org> wrote:
>
> Paolo,
>
> Here's the first set of KVM/arm64 fixes for 7.4, most of which have
> been brewing for some time. Of note: a couple of fixes for mismerges
> in the initial kvmarm-7,4 pull request, fixes for the publication of
> IN/OUTSIDE_GUEST_MODE, and nesting for vcpu pausing. The rest is a
> bunch of cleanups for nonsensical configurations and some more pKVM
> fixes. I have already started queuing more fixes, so it is likely that
> I'll be back next week with a similar email.
>
> Note that this is on top of the initial pull-request that you sent to
> Linus, so hopefully conflict free.
Pulled, thanks.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-28 18:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27 14:34 [GIT PULL] KVM/arm64 fixes for 7.4, take #1 Marc Zyngier
2026-10-28 18:06 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox