Re: [PATCH V8 02/44] Documentation/protection-keys: Clean up documentation for User Space pkeys

From: Dave Hansen
Date: Tue Feb 01 2022 - 18:54:24 EST


On 2/1/22 15:49, Ira Weiny wrote:
>> Protection Keys for Userspace (PKU) can be found on:
>> * Intel server CPUs, Skylake and later
>> * Intel client CPUs, Tiger Lake (11th Gen Core) and later
>> * Future AMD CPUs
>>
>> It would be great if the AMD folks can elaborate on that a bit, but I
>> understand it might not be possible if the CPUs aren't out yet.
> Updated.
>
> But I'm leery about putting in any information about AMD CPU's. Who could I
> ask directly?

I forgot who from AMD was chiming in on pkeys. So, I did:

git log --author=amd.com arch/x86/

and searched for 'keys'. I came up with this pretty quickly:

> commit 38f3e775e9c242f5430a9c08c11be7577f63a41c
> Author: Babu Moger <babu.moger@xxxxxxx>
> Date: Thu May 28 11:08:23 2020 -0500
>
> x86/Kconfig: Update config and kernel doc for MPK feature on AMD
>
> AMD's next generation of EPYC processors support the MPK (Memory
> Protection Keys) feature. Update the dependency and documentation.
>
> Signed-off-by: Babu Moger <babu.moger@xxxxxxx>
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>
> Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
> Link: https://lkml.kernel.org/r/159068199556.26992.17733929401377275140.stgit@xxxxxxxxxxxxxxxxxxx
You also don't have to go out and find this information for your
documentation. Just say "future" and then poke the AMD folks.