[PATCH] arm64: syscall: unmask DAIF earlier for SVCs

Will Deacon will at kernel.org
Fri Aug 11 04:44:56 PDT 2023


On Tue, 8 Aug 2023 11:11:48 +0100, Mark Rutland wrote:
> For a number of historical reasons, when handling SVCs we don't unmask
> DAIF in el0_svc() or el0_svc_compat(), and instead do so later in
> el0_svc_common(). This is unfortunate and makes it harder to make
> changes to the DAIF management in entry-common.c as we'd like to do as
> cleanup and preparation for FEAT_NMI support. We can move the DAIF
> unmasking to entry-common.c as long as we also hoist the
> fp_user_discard() logic, as reasoned below.
> 
> [...]

Applied to arm64 (for-next/entry), thanks!

[1/1] arm64: syscall: unmask DAIF earlier for SVCs
      https://git.kernel.org/arm64/c/f130ac0ae441

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list