summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-08-20 13:34:31 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-20 15:35:18 +0300
commit787c70f2f9990b5a197320152d2fc32cd8a6ad1a (patch)
treea8103d3b32d9f20c026530ccf0f2a4eedfa73722 /mm
parent310d2e83cb9b7f1e7232319880e3fcb57592fa10 (diff)
downloadlinux-787c70f2f9990b5a197320152d2fc32cd8a6ad1a.tar.xz
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
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions