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 13:35:26 +0000 (14:35 +0100)
commit4214580444f0a17a56e676f34dc0da0eb0ddd83b
treed7aedb7a967186102519284170b207fa15e72bab
parentb49eb6061584f9a715c0353b1455e5803269138a
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