Re: [PATCH 19/27] x86/fpu: Update xstate's PKRU value on write_pkru()

Dave Hansen
2019-04-08T18:14:30Z

On 4/3/19 9:41 AM, Sebastian Andrzej Siewior wrote:
> During the context switch the xstate is loaded which also includes the
> PKRU value.
> If xstate is restored on return to userland it is required that the
> PKRU value in xstate is the same as the one in the CPU.

All of the protection keys bits in here look ok to me. Thanks for the
sustained work to get all those into shape. I know it's a special
snowflake.

Although I paid much closer attention to the PK bits, feel free to add:

Reviewed-by: Dave Hansen <dave.hansen@intel.com>

for the series.