]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pkeys: Fix boot failures with Nemo board (A-EON AmigaOne X1000)
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Mon, 10 Aug 2020 10:26:23 +0000 (15:56 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 10 Aug 2020 13:07:21 +0000 (23:07 +1000)
commit9e76ef72caca77e4f5f095825695a56a85c2d386
tree44ed9213c3a259a40179674b40b3af825476c6fe
parent299b35d5b15d81a42bdbc5edb6e082f82630111c
powerpc/pkeys: Fix boot failures with Nemo board (A-EON AmigaOne X1000)

On p6 and before we should avoid updating UAMOR SPRN. This resulted
in boot failure on Nemo board.

Fixes: ff5a3c3043ee ("powerpc/book3s64/pkey: Disable pkey on POWER6 and before")
Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
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/20200810102623.685083-1-aneesh.kumar@linux.ibm.com
arch/powerpc/mm/book3s64/hash_utils.c
arch/powerpc/mm/book3s64/pkeys.c