commit | 4d7cd3b956713d3dfbc3028ad1251b3f6b416a53 | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Sun May 21 23:15:45 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jun 20 22:21:59 2017 +1000 |
tree | 7d37213be774ecae2911253bf88cebd8fa1bcf72 | |
parent | fe5482c04312791bb19202e47f8a7751d476251e [diff] |
powerpc/64s: Avoid r3 save/restore in SLB miss handler The SLB miss handler uses r3 for the faulting address but r12 is mostly able to be freed up to save r3 in. It just requires SRR1 be reloaded again on error. It would be more conventional to use r12 for SRR1 (and use r11 to save r3), but slb_allocate_realmode clobbers r11 and not r12. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>