Re: [PATCH v15 4/8] arm64: futex: refactor futex atomic operation
From: Catalin Marinas
Date: Thu Mar 12 2026 - 10:44:07 EST
On Fri, Feb 27, 2026 at 03:17:01PM +0000, Yeoreum Yun wrote:
> Refactor futex atomic operations using ll/sc method with
> clearing PSTATE.PAN to prepare to apply FEAT_LSUI on them.
>
> Signed-off-by: Yeoreum Yun <yeoreum.yun@xxxxxxx>
> Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>
> ---
> arch/arm64/include/asm/futex.h | 137 +++++++++++++++++++++------------
> 1 file changed, 87 insertions(+), 50 deletions(-)
>
> diff --git a/arch/arm64/include/asm/futex.h b/arch/arm64/include/asm/futex.h
> index bc06691d2062..9a0efed50743 100644
> --- a/arch/arm64/include/asm/futex.h
> +++ b/arch/arm64/include/asm/futex.h
> @@ -7,21 +7,25 @@
>
> #include <linux/futex.h>
> #include <linux/uaccess.h>
> +#include <linux/stringify.h>
Nit: what needs stringify.h in this file? It get removed (or rather
moved to lsui.h) in the next patch.
--
Catalin