[PATCH v2 03/20] arm64: sysreg: Define OSLSR_EL1_OSLK_MASK

Marc Zyngier maz at kernel.org
Tue Sep 1 00:51:04 PDT 2026


On Mon, 31 Aug 2026 15:55:18 +0100,
Steffen Eiden <seiden at linux.ibm.com> wrote:
> 
> Define the missing mask for the OLSK field of OSLSR_EL1 which is
> required to safely write a value to that field.
> 
> Signed-off-by: Steffen Eiden <seiden at linux.ibm.com>
> ---
>  arch/arm64/include/asm/sysreg.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h
> index 1c5c4df260be..5a439853b721 100644
> --- a/arch/arm64/include/asm/sysreg.h
> +++ b/arch/arm64/include/asm/sysreg.h
> @@ -200,6 +200,7 @@
>  #define OSLSR_EL1_OSLM_NI		0
>  #define OSLSR_EL1_OSLM_IMPLEMENTED	BIT(3)
>  #define OSLSR_EL1_OSLK			BIT(1)
> +#define OSLSR_EL1_OSLK_MASK		BIT(1)

Just move the required sysregs to the sysreg file, with the full bit
description. This will sort this once and for all.

	M.

-- 
Jazz isn't dead. It just smells funny.



More information about the linux-arm-kernel mailing list