OSDN Git Service

powerpc/83xx: Also save/restore SPRG4-7 during suspend
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 25 Jan 2019 12:03:55 +0000 (12:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 12:19:51 +0000 (13:19 +0100)
commit5d8fff639e7435463fc7c390af5b87aeb9def617
treee543521b74000b673cf95d77f290231ee7eec8ac
parentf3b4d46f73bf9c32acdde0ac53fd98df9ff3aa90
powerpc/83xx: Also save/restore SPRG4-7 during suspend

commit 36da5ff0bea2dc67298150ead8d8471575c54c7d upstream.

The 83xx has 8 SPRG registers and uses at least SPRG4
for DTLB handling LRU.

Fixes: 2319f1239592 ("powerpc/mm: e300c2/c3/c4 TLB errata workaround")
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/83xx/suspend-asm.S