Re: [PATCH V8 06/44] mm/pkeys: Add Kconfig options for PKS

From: Dave Hansen
Date: Fri Jan 28 2022 - 19:06:34 EST


On 1/27/22 09:54, ira.weiny@xxxxxxxxx wrote:
> @@ -1867,6 +1867,7 @@ config X86_INTEL_MEMORY_PROTECTION_KEYS
> depends on X86_64 && (CPU_SUP_INTEL || CPU_SUP_AMD)
> select ARCH_USES_HIGH_VMA_FLAGS
> select ARCH_HAS_PKEYS
> + select ARCH_HAS_SUPERVISOR_PKEYS

For now, this should be:

select ARCH_HAS_SUPERVISOR_PKEYS if CPU_SUP_INTEL

unless the AMD folks speak up and say otherwise. :)