Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Nicholas Piggin 4c2de74cc8 powerpc/64: Interrupts save PPR on stack rather than thread_struct
PPR is the odd register out when it comes to interrupt handling, it is
saved in current->thread.ppr while all others are saved on the stack.

The difficulty with this is that accessing thread.ppr can cause a SLB
fault, but the SLB fault handler implementation in C change had
assumed the normal exception entry handlers would not cause an SLB
fault.

Fix this by allocating room in the interrupt stack to save PPR.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-10-14 18:04:09 +11:00
..
2018-06-03 21:19:40 +10:00
2018-07-30 22:47:53 +10:00
2016-08-07 23:50:09 -04:00
2018-08-13 15:59:06 +10:00
2017-12-11 13:03:35 +11:00
2018-10-03 16:12:47 +10:00
2018-03-31 09:09:36 +11:00
2018-10-09 16:51:05 +11:00
2018-05-25 12:04:46 +10:00