powerpc/64s/exception: Remove lite interrupt return
authorNicholas Piggin <npiggin@gmail.com>
Tue, 25 Feb 2020 17:35:38 +0000 (03:35 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 Apr 2020 02:42:14 +0000 (13:42 +1100)
commit702f0980522239bc7fd1360b24f722a90b6b4418
tree9345ee57b7a02a9fbc220c3e527f6808c3f6d7fe
parent6cc0c16d82f889f0083f3608237189afb55b67be
powerpc/64s/exception: Remove lite interrupt return

Regular interrupt return restores NVGPRS whereas lite returns do not.
This is clumsy: most interrupts can return without restoring NVGPRS in
most of the time, but there are special cases that require it (when
registers have been modified by the kernel). So change interrupt
return to not restore NVGPRS, and have interrupt handlers restore them
explicitly in the cases that requires it.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200225173541.1549955-30-npiggin@gmail.com
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/exceptions-64s.S