]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/idle: Fix restore of AMOR on POWER9 after deep sleep
authorNicholas Piggin <npiggin@gmail.com>
Thu, 5 Apr 2018 06:10:00 +0000 (16:10 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 Apr 2018 06:48:52 +0000 (16:48 +1000)
commitcd5a4f3f4616523b68922a5a9454ffb250d623a4
treee4bff9e1b478af543dcf2611d2d6c152c0d469cb
parent372fa9ab41bf362d588b0d38de20f4498ab78302
powerpc/64s/idle: Fix restore of AMOR on POWER9 after deep sleep

POWER8 restores AMOR when waking from deep sleep, but POWER9 does not,
because it does not go through the subcore restore.

Have POWER9 restore it in core restore.

Fixes: 348b07d1fba5 ("powerpc/mm/radix: Setup AMOR in HV mode to allow key 0")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/idle_book3s.S