[PATCH v21 05/15] KVM: arm64: Set PSTATE.EXLOCK when entering an exception

Lorenzo Stoakes (ARM) ljs at kernel.org
Thu Oct 1 04:37:52 PDT 2026


On Wed, Sep 30, 2026 at 10:48:15PM +0100, Mark Brown wrote:
> As per DDI 0487 R_WTXBY we need to manage PSTATE.EXLOCK when entering an
> exception, when the exception is entered from a lower EL the bit is cleared
> while if entering from the same EL it is set to GCSCR_ELx.EXLOCKEN.
> Implement this behaviour in enter_exception64().
>
> Reviewed-by: Yuan Yao <yaoyuan at linux.alibaba.com>
> Reviewed-by: Leonardo Bras <leo.bras at arm.com>
> Signed-off-by: Mark Brown <broonie at kernel.org>

I think this was just nits from v20, all LGTM so happy to re-tag:

Reviewed-by: Lorenzo Stoakes (ARM) <ljs at kernel.org>

--
Cheers, Lorenzo



More information about the linux-arm-kernel mailing list