[PATCH v2 19/19] KVM: arm64: Move the handling of !FP outside of the fast path

Reiji Watanabe reijiw at google.com
Mon Jun 13 21:15:33 PDT 2022


On Fri, Jun 10, 2022 at 2:35 AM Marc Zyngier <maz at kernel.org> wrote:
>
> We currently start by assuming that the host owns the FP unit
> at load time, then check again whether this is the case as
> we are about to run. Only at this point do we account for the
> fact that there is a (vanishingly small) chance that we're running
> on a system without a FPSIMD unit (yes, this is madness).
>
> We can actually move this FPSIMD check as early as load-time,
> and drop the check at run time.
>
> No intended change in behaviour.
>
> Suggested-by: Reiji Watanabe <reijiw at google.com>
> Signed-off-by: Marc Zyngier <maz at kernel.org>

For patches 9~19 in the series,
Reviewed-by: Reiji Watanabe <reijiw at google.com>

Thanks,
Reiji



More information about the linux-arm-kernel mailing list