]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit8b945bef9f8008b621919cf160950e9f29a04fae
tree89824d7f1dfb9820e64bbc3908acec3aaa98a65c
parent6bb6894a6ad0f5d1138ac27b26b86e00a33b8a34
powerpc/83xx: Also save/restore SPRG4-7 during suspend

BugLink: https://bugs.launchpad.net/bugs/1837952
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/powerpc/platforms/83xx/suspend-asm.S