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

Ira Weiny
2022-02-04T19:14:12Z

On Fri, Jan 28, 2022 at 04:06:29PM -0800, Dave Hansen wrote:
> 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. :)

Done for now.

Ira