Re: [PATCH v3 11/25] arm64: enable ARCH_HAS_PKEYS on arm64

2023-12-07 Thread Joey Gouly
Hi, Thanks to you and Mark for the comments so far! On Thu, Dec 07, 2023 at 03:25:17PM +, Catalin Marinas wrote: > On Fri, Nov 24, 2023 at 04:34:56PM +, Joey Gouly wrote: > > diff --git a/arch/arm64/include/asm/pkeys.h b/arch/arm64/include/asm/pkeys.h > > new file mode 100644 > > index 00

Re: [PATCH v3 11/25] arm64: enable ARCH_HAS_PKEYS on arm64

2023-12-07 Thread Catalin Marinas
On Fri, Nov 24, 2023 at 04:34:56PM +, Joey Gouly wrote: > diff --git a/arch/arm64/include/asm/pkeys.h b/arch/arm64/include/asm/pkeys.h > new file mode 100644 > index ..5761fb48fd53 > --- /dev/null > +++ b/arch/arm64/include/asm/pkeys.h > @@ -0,0 +1,54 @@ > +/* SPDX-License-Identifie

[PATCH v3 11/25] arm64: enable ARCH_HAS_PKEYS on arm64

2023-11-24 Thread Joey Gouly
Enable the ARCH_HAS_PKEYS config, but provide dummy functions for the entire interface. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/Kconfig | 2 ++ arch/arm64/include/asm/pkeys.h | 54 ++ arch/arm64/mm/mmu.c