# Re: \[PATCH v6 03/23\] powerpc/book3s64/pkeys: pkeys are supported only on hash on book3s.

- From: Michael Ellerman \<mpe@ellerman.id.au\>
- Date: 2020-07-20 06:07:44 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/07/9517741
- Thread: https://ratatoskr.run/linuxppc-dev/2020/07/9517390/t.md

```text
"Aneesh Kumar K.V" [ref] writes:
> Move them to hash specific file and add BUG() for radix path.
> ---
>  .../powerpc/include/asm/book3s/64/hash-pkey.h | 32 ++++++++++++++++
>  arch/powerpc/include/asm/book3s/64/pkeys.h    | 25 +++++++++++++
>  arch/powerpc/include/asm/pkeys.h              | 37 ++++---------------
>  3 files changed, 64 insertions(+), 30 deletions(-)
>  create mode 100644 arch/powerpc/include/asm/book3s/64/hash-pkey.h
>  create mode 100644 arch/powerpc/include/asm/book3s/64/pkeys.h

This isn't signed-off.

I assume you meant to, so I added it.

cheers

> diff --git a/arch/powerpc/include/asm/book3s/64/hash-pkey.h b/arch/powerpc/include/asm/book3s/64/hash-pkey.h
> new file mode 100644
> index 000000000000..795010897e5d
```
