Re: [PATCH v21 05/15] KVM: arm64: Set PSTATE.EXLOCK when entering an exception
From: Lorenzo Stoakes (ARM)
Date: Thu Oct 01 2026 - 07:45:05 EST
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@xxxxxxxxxxxxxxxxx>
> Reviewed-by: Leonardo Bras <leo.bras@xxxxxxx>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
I think this was just nits from v20, all LGTM so happy to re-tag:
Reviewed-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>
--
Cheers, Lorenzo