summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/genpd.py
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-08-03 18:14:27 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-07 01:53:59 +0300
commit62376365048878f770d8b7d11b89b8b3e18018f1 (patch)
treedf5eaa6133cb07121d1bcd1a0ce0e0bfa92cac55 /scripts/gdb/linux/genpd.py
parenta88603f4b92ecef9e2359e40bcb99ad399d85dd7 (diff)
downloadlinux-62376365048878f770d8b7d11b89b8b3e18018f1.tar.xz
powerpc/32s: Fix napping restore in data storage interrupt (DSI)
When a DSI (Data Storage Interrupt) is taken while in NAP mode, r11 doesn't survive the call to power_save_ppc32_restore(). So use r1 instead of r11 as they both contain the virtual stack pointer at that point. Fixes: 4c0104a83fc3 ("powerpc/32: Dismantle EXC_XFER_STD/LITE/TEMPLATE") Cc: stable@vger.kernel.org # v5.13+ Reported-by: Finn Thain <fthain@linux-m68k.org> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/731694e0885271f6ee9ffc179eb4bcee78313682.1628003562.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions