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

Dave Hansen
2022-01-29T00:06:34Z

On 1/27/22 09:54, ira.weiny@intel.com 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. :)