Nicholas Piggin 787c70f2f9 powerpc/64s: Fix scv implicit soft-mask table for relocated kernels
The implict soft-mask table addresses get relocated if they use a
relative symbol like a label. This is right for code that runs relocated
but not for unrelocated. The scv interrupt vectors run unrelocated, so
absolute addresses are required for their soft-mask table entry.

This fixes crashing with relocated kernels, usually an asynchronous
interrupt hitting in the scv handler, then hitting the trap that checks
whether r1 is in userspace.

Fixes: 325678fd0522 ("powerpc/64s: add a table of implicit soft-masked addresses")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210820103431.1701240-1-npiggin@gmail.com
2021-08-20 22:35:18 +10:00
..
2021-04-30 12:22:28 -07:00
2020-08-07 18:48:15 -07:00
2021-04-22 20:59:04 +10:00
2020-12-04 01:01:09 +11:00
2021-07-02 12:54:34 -07:00
2021-06-17 00:09:10 +10:00
2021-04-30 11:20:40 -07:00
2021-07-02 12:54:34 -07:00
2021-06-25 00:07:10 +10:00
2021-07-02 12:54:34 -07:00
2021-02-09 00:10:50 +11:00
2021-07-02 12:54:34 -07:00