* KVM/arm64 fixes for 6.19
@ 2026-01-15 9:30 Oliver Upton
2026-01-15 10:04 ` Marc Zyngier
2026-01-24 7:46 ` Paolo Bonzini
0 siblings, 2 replies; 3+ messages in thread
From: Oliver Upton @ 2026-01-15 9:30 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: Marc Zyngier, kvm, kvmarm
Hi Paolo,
Here is the first (and likely only) set of fixes for 6.19. Small batch
of changes fixing issues in non-standard configurations like pKVM, hVHE,
and nested.
Details are in the tag, please pull.
Thanks,
Oliver
The following changes since commit f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da:
Linux 6.19-rc3 (2025-12-28 13:24:26 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/ tags/kvmarm-fixes-6.19-1
for you to fetch changes up to 19cffd16ed6489770272ba383ff3aaec077e01ed:
KVM: arm64: Invert KVM_PGTABLE_WALK_HANDLE_FAULT to fix pKVM walkers (2026-01-10 02:19:52 -0800)
----------------------------------------------------------------
KVM/arm64 fixes for 6.19
- Ensure early return semantics are preserved for pKVM fault handlers
- Fix case where the kernel runs with the guest's PAN value when
CONFIG_ARM64_PAN is not set
- Make stage-1 walks to set the access flag respect the access
permission of the underlying stage-2, when enabled
- Propagate computed FGT values to the pKVM view of the vCPU at
vcpu_load()
- Correctly program PXN and UXN privilege bits for hVHE's stage-1 page
tables
- Check that the VM is actually using VGICv3 before accessing the GICv3
CPU interface
- Delete some unused code
----------------------------------------------------------------
Alexandru Elisei (4):
KVM: arm64: Copy FGT traps to unprotected pKVM VCPU on VCPU load
KVM: arm64: Inject UNDEF for a register trap without accessor
KVM: arm64: Remove extra argument for __pvkm_host_{share,unshare}_hyp()
KVM: arm64: Remove unused parameter in synchronize_vcpu_pstate()
Dongxu Sun (1):
KVM: arm64: Remove unused vcpu_{clear,set}_wfx_traps()
Marc Zyngier (2):
KVM: arm64: Fix EL2 S1 XN handling for hVHE setups
KVM: arm64: Don't blindly set set PSTATE.PAN on guest exit
Oliver Upton (1):
KVM: arm64: nv: Respect stage-2 write permssion when setting stage-1 AF
Sascha Bischoff (1):
KVM: arm64: gic: Check for vGICv3 when clearing TWI
Will Deacon (1):
KVM: arm64: Invert KVM_PGTABLE_WALK_HANDLE_FAULT to fix pKVM walkers
arch/arm64/include/asm/kvm_asm.h | 2 ++
arch/arm64/include/asm/kvm_emulate.h | 16 ----------------
arch/arm64/include/asm/kvm_pgtable.h | 16 ++++++++++++----
arch/arm64/include/asm/sysreg.h | 3 ++-
arch/arm64/kernel/image-vars.h | 1 +
arch/arm64/kvm/arm.c | 1 +
arch/arm64/kvm/at.c | 8 ++++++--
arch/arm64/kvm/hyp/entry.S | 4 +++-
arch/arm64/kvm/hyp/include/hyp/switch.h | 2 +-
arch/arm64/kvm/hyp/nvhe/hyp-main.c | 3 +++
arch/arm64/kvm/hyp/nvhe/pkvm.c | 1 -
arch/arm64/kvm/hyp/nvhe/switch.c | 2 +-
arch/arm64/kvm/hyp/pgtable.c | 5 +++--
arch/arm64/kvm/hyp/vhe/switch.c | 2 +-
arch/arm64/kvm/mmu.c | 12 +++++-------
arch/arm64/kvm/sys_regs.c | 5 ++++-
arch/arm64/kvm/va_layout.c | 28 ++++++++++++++++++++++++++++
17 files changed, 73 insertions(+), 38 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: KVM/arm64 fixes for 6.19
2026-01-15 9:30 KVM/arm64 fixes for 6.19 Oliver Upton
@ 2026-01-15 10:04 ` Marc Zyngier
2026-01-24 7:46 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Marc Zyngier @ 2026-01-15 10:04 UTC (permalink / raw)
To: Oliver Upton; +Cc: Paolo Bonzini, kvm, kvmarm
On Thu, 15 Jan 2026 09:30:25 +0000,
Oliver Upton <oupton@kernel.org> wrote:
>
> Hi Paolo,
>
> Here is the first (and likely only) set of fixes for 6.19. Small batch
> of changes fixing issues in non-standard configurations like pKVM, hVHE,
> and nested.
>
> Details are in the tag, please pull.
>
> Thanks,
> Oliver
>
> The following changes since commit f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da:
>
> Linux 6.19-rc3 (2025-12-28 13:24:26 -0800)
>
> are available in the Git repository at:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/ tags/kvmarm-fixes-6.19-1
>
> for you to fetch changes up to 19cffd16ed6489770272ba383ff3aaec077e01ed:
>
> KVM: arm64: Invert KVM_PGTABLE_WALK_HANDLE_FAULT to fix pKVM walkers (2026-01-10 02:19:52 -0800)
FWIW, I'll take this as an initial merge in kvmarm/next, as I have a
couple of things that depend on it [1].
Thanks,
M.
[1] https://lore.kernel.org/all/20251210173024.561160-1-maz@kernel.org
--
Without deviation from the norm, progress is not possible.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: KVM/arm64 fixes for 6.19
2026-01-15 9:30 KVM/arm64 fixes for 6.19 Oliver Upton
2026-01-15 10:04 ` Marc Zyngier
@ 2026-01-24 7:46 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2026-01-24 7:46 UTC (permalink / raw)
To: Oliver Upton; +Cc: Marc Zyngier, kvm, kvmarm
On Thu, Jan 15, 2026 at 10:30 AM Oliver Upton <oupton@kernel.org> wrote:
>
> Hi Paolo,
>
> Here is the first (and likely only) set of fixes for 6.19. Small batch
> of changes fixing issues in non-standard configurations like pKVM, hVHE,
> and nested.
>
> Details are in the tag, please pull.
Pulled, thanks - I waited to see if anything else came around from
other architectures, but it seems like things are calm.
Paolo
> Thanks,
> Oliver
>
> The following changes since commit f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da:
>
> Linux 6.19-rc3 (2025-12-28 13:24:26 -0800)
>
> are available in the Git repository at:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/ tags/kvmarm-fixes-6.19-1
>
> for you to fetch changes up to 19cffd16ed6489770272ba383ff3aaec077e01ed:
>
> KVM: arm64: Invert KVM_PGTABLE_WALK_HANDLE_FAULT to fix pKVM walkers (2026-01-10 02:19:52 -0800)
>
> ----------------------------------------------------------------
> KVM/arm64 fixes for 6.19
>
> - Ensure early return semantics are preserved for pKVM fault handlers
>
> - Fix case where the kernel runs with the guest's PAN value when
> CONFIG_ARM64_PAN is not set
>
> - Make stage-1 walks to set the access flag respect the access
> permission of the underlying stage-2, when enabled
>
> - Propagate computed FGT values to the pKVM view of the vCPU at
> vcpu_load()
>
> - Correctly program PXN and UXN privilege bits for hVHE's stage-1 page
> tables
>
> - Check that the VM is actually using VGICv3 before accessing the GICv3
> CPU interface
>
> - Delete some unused code
>
> ----------------------------------------------------------------
> Alexandru Elisei (4):
> KVM: arm64: Copy FGT traps to unprotected pKVM VCPU on VCPU load
> KVM: arm64: Inject UNDEF for a register trap without accessor
> KVM: arm64: Remove extra argument for __pvkm_host_{share,unshare}_hyp()
> KVM: arm64: Remove unused parameter in synchronize_vcpu_pstate()
>
> Dongxu Sun (1):
> KVM: arm64: Remove unused vcpu_{clear,set}_wfx_traps()
>
> Marc Zyngier (2):
> KVM: arm64: Fix EL2 S1 XN handling for hVHE setups
> KVM: arm64: Don't blindly set set PSTATE.PAN on guest exit
>
> Oliver Upton (1):
> KVM: arm64: nv: Respect stage-2 write permssion when setting stage-1 AF
>
> Sascha Bischoff (1):
> KVM: arm64: gic: Check for vGICv3 when clearing TWI
>
> Will Deacon (1):
> KVM: arm64: Invert KVM_PGTABLE_WALK_HANDLE_FAULT to fix pKVM walkers
>
> arch/arm64/include/asm/kvm_asm.h | 2 ++
> arch/arm64/include/asm/kvm_emulate.h | 16 ----------------
> arch/arm64/include/asm/kvm_pgtable.h | 16 ++++++++++++----
> arch/arm64/include/asm/sysreg.h | 3 ++-
> arch/arm64/kernel/image-vars.h | 1 +
> arch/arm64/kvm/arm.c | 1 +
> arch/arm64/kvm/at.c | 8 ++++++--
> arch/arm64/kvm/hyp/entry.S | 4 +++-
> arch/arm64/kvm/hyp/include/hyp/switch.h | 2 +-
> arch/arm64/kvm/hyp/nvhe/hyp-main.c | 3 +++
> arch/arm64/kvm/hyp/nvhe/pkvm.c | 1 -
> arch/arm64/kvm/hyp/nvhe/switch.c | 2 +-
> arch/arm64/kvm/hyp/pgtable.c | 5 +++--
> arch/arm64/kvm/hyp/vhe/switch.c | 2 +-
> arch/arm64/kvm/mmu.c | 12 +++++-------
> arch/arm64/kvm/sys_regs.c | 5 ++++-
> arch/arm64/kvm/va_layout.c | 28 ++++++++++++++++++++++++++++
> 17 files changed, 73 insertions(+), 38 deletions(-)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-24 7:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-15 9:30 KVM/arm64 fixes for 6.19 Oliver Upton
2026-01-15 10:04 ` Marc Zyngier
2026-01-24 7:46 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox