aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-09-10 02:29:46 +1000
committerOliver O'Halloran <oohall@gmail.com>2020-09-29 14:44:14 +1000
commit355a7dc193292b5b543e1bba1ff8b4a295fe8381 (patch)
treeb9c4416d93dbe8e5a11b20d036faee49675dff47 /external
parentd362ae4f4c521a7faffb1befe2fbba467f2c4d18 (diff)
downloadskiboot-355a7dc193292b5b543e1bba1ff8b4a295fe8381.zip
skiboot-355a7dc193292b5b543e1bba1ff8b4a295fe8381.tar.gz
skiboot-355a7dc193292b5b543e1bba1ff8b4a295fe8381.tar.bz2
asm/head: fix power save wakeup register corruption
Power save wakeup handlers can clobber r30 before testing for state loss and avoiding restoring non-volatile GPRs. Fix this by using r5 instead (and move the register usage to one place, for clarity). Cc: skiboot-stable@lists.ozlabs.org Fixes: 8a43bf86b7 ("core/exceptions: implement an exception handler for non-powersave sresets") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions