[PATCH] KVM: arm64: VHE: Compute fgt traps before activating them
Marc Zyngier
maz at kernel.org
Wed Nov 12 02:54:53 PST 2025
On Wed, 12 Nov 2025 10:28:53 +0000, Alexandru Elisei wrote:
> On VHE, the Fine Grain Traps registers are written to hardware in
> kvm_arch_vcpu_load()->..->__activate_traps_hfgxtr(), but the fgt array is
> computed later, in kvm_vcpu_load_fgt(). This can lead to zero being written
> to the FGT registers the first time a VCPU is loaded. Also, any changes to
> the fgt array will be visible only after the VCPU is scheduled out, and
> then back in, which is not the intended behaviour.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: VHE: Compute fgt traps before activating them
commit: 85592114ffda568b507bc2b04f5e9afbe7c13b62
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list