# Re: \[PATCH 0/4\] selftests/vm/pkeys: Bug fixes and a new test

- From: Aneesh Kumar K.V \<hidden\>
- Date: 2021-06-13 09:02:10 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/06/1412296
- Thread: https://ratatoskr.run/linux-mm/2021/06/1411489/t.md

```text
Dave Hansen [ref] writes:

> There has been a lot of activity on the x86 front around the XSAVE
> architecture which is used to context-switch processor state (among
> other things).  In addition, AMD has recently joined the protection
> keys club by adding processor support for PKU.
>
> The AMD implementation helped uncover a kernel bug around the PKRU
> "init state", which actually applied to Intel's implementation but
> was just harder to hit.  This series adds a test which is expected
> to help find this class of bug both on AMD and Intel.  All the work
> around pkeys on x86 also uncovered a few bugs in the selftest.
>
> Any testing of this new code (especially from my powerpc friends)
> would be appreciated.

I tested this on ppc64.

Tested-by: Aneesh Kumar K.V <redacted>

>
> Cc: Thomas Gleixner <redacted>
> Cc: Ram Pai <redacted>
> Cc: Sandipan Das <redacted>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Florian Weimer <redacted>
> Cc: "Desnes A. Nunes do Rosario" <redacted>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Thiago Jung Bauermann <redacted>
> Cc: "Aneesh Kumar K.V" <redacted>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Michal Hocko <mhocko@kernel.org>
> Cc: Michal Suchanek <redacted>
> Cc: Shuah Khan <shuah@kernel.org>
> Cc: x86@kernel.org

```
