aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2021-08-20 10:34:31 +0000
committerMichael Ellerman <[email protected]>2021-08-20 12:35:18 +0000
commit787c70f2f9990b5a197320152d2fc32cd8a6ad1a (patch)
treea8103d3b32d9f20c026530ccf0f2a4eedfa73722 /net/unix/af_unix.c
parentpowerpc: Re-enable ARCH_ENABLE_SPLIT_PMD_PTLOCK (diff)
downloadkernel-787c70f2f9990b5a197320152d2fc32cd8a6ad1a.tar.gz
kernel-787c70f2f9990b5a197320152d2fc32cd8a6ad1a.zip
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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions