diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2020-07-09 08:59:24 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-20 22:57:57 +1000 |
commit | d79e7a5f26f1d179cbb915a8bf2469b6d7431c29 (patch) | |
tree | 6085c2bc19d3b5c5a584c1d8da8930423b333ddf /arch/powerpc/include/asm/pkeys.h | |
parent | powerpc/papr/scm: Add bad memory ranges to nvdimm bad ranges (diff) | |
download | linux-dev-d79e7a5f26f1d179cbb915a8bf2469b6d7431c29.tar.xz linux-dev-d79e7a5f26f1d179cbb915a8bf2469b6d7431c29.zip |
powerpc/book3s64/pkeys: Use PVR check instead of cpu feature
We are wrongly using CPU_FTRS_POWER8 to check for P8 support. Instead, we should
use PVR value. Now considering we are using CPU_FTRS_POWER8, that
implies we returned true for P9 with older firmware. Keep the same behavior
by checking for P9 PVR value.
Fixes: cf43d3b26452 ("powerpc: Enable pkey subsystem")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200709032946.881753-2-aneesh.kumar@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/pkeys.h')
0 files changed, 0 insertions, 0 deletions