Re: [patch V2 20/52] x86/fpu: Cleanup arch_set_user_pkey_access()

Thomas Gleixner
2021-06-17T12:50:03Z

On Thu, Jun 17 2021 at 14:22, Borislav Petkov wrote:
> On Mon, Jun 14, 2021 at 05:44:28PM +0200, Thomas Gleixner wrote:
>> /*
>> * This check implies XSAVE support. OSPKE only gets
>
> There's a boot_cpu_has() check
>
> <--- here
>
> Might wanna convert it to cpu_feature_enabled(), while at it.

There's a later patch which cleans up the whole cpu feature mess of
OSPKE. That takes care of it.