[PATCH] KVM: arm64: Fix parameter ordering for VBAR_EL1 assignment
Oliver Upton
oliver.upton at linux.dev
Mon Sep 8 11:23:25 PDT 2025
On Mon, 08 Sep 2025 17:35:57 +0100, Fuad Tabba wrote:
> The __vcpu_assign_sys_reg() helper expects the register ID as the second
> argument and the value to be assigned as the third. However, the
> existing code was passing these parameters in the incorrect order.
>
> Fix the function call to properly read the live value of VBAR_EL1 from
> the guest and update the vCPU value immediately before pending the
> exception. This ensures the vCPU's value is the same as the guest's and
> that the exception will be handled at the correct address upon resuming
> the guest.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Fix parameter ordering for VBAR_EL1 assignment
https://git.kernel.org/kvmarm/kvmarm/c/9f8073411c13
--
Best,
Oliver
More information about the linux-arm-kernel
mailing list