Re: [PATCH 12/27] x86/pkru: Provide .*_pkru_ins() functions
From: Dave Hansen
Date: Wed Apr 10 2019 - 17:29:30 EST
On 4/10/19 2:25 PM, Sebastian Andrzej Siewior wrote:
>> static inline void write_pkru(u32 pkru)
>> if (boot_cpu_has(X86_FEATURE_OSPKE))
>> - __write_pkru(pkru);
>> + wrpkru(pkru);
> I think if this is a simple
> then it should work just fine and match what Dave asked for.
I'm fine with it either way, fwiw.