[PATCH v3 0/4] KVM: arm64: pKVM fixes
Oliver Upton
oupton at kernel.org
Sat Jan 10 02:22:42 PST 2026
On Tue, 16 Dec 2025 10:30:49 +0000, Alexandru Elisei wrote:
> v2 can be found at [1].
>
> Similar to [2], when trying to run an unprotected VM on FVP with S1PIE enabled
> and kvm-arm.mode=protected, writes to PIRE0_EL1 made by the guest in
> __cpu_setup() are trapped by KVM and the BUG_ON(!r->access) is hit. That's
> because HFGWTR_EL2.nPIRE0_EL1 is an inverse polarity trap and the FGT values for
> the unprotected pKVM VCPU weren't being propagated from kvm_arch_vcpu_load().
>
> [...]
Applied to fixes, thanks!
[1/4] KVM: arm64: Copy FGT traps to unprotected pKVM VCPU on VCPU load
https://git.kernel.org/kvmarm/kvmarm/c/145cc42fe121
[2/4] KVM: arm64: Inject UNDEF for a register trap without accessor
https://git.kernel.org/kvmarm/kvmarm/c/aba963cb98c6
[3/4] KVM: arm64: Remove extra argument for __pvkm_host_{share,unshare}_hyp()
https://git.kernel.org/kvmarm/kvmarm/c/26cdea4893c2
[4/4] KVM: arm64: Remove unused parameter in synchronize_vcpu_pstate()
https://git.kernel.org/kvmarm/kvmarm/c/d252c7898ebc
--
Best,
Oliver
More information about the linux-arm-kernel
mailing list