aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2021-08-20 20:34:31 +1000
committerMichael Ellerman <[email protected]>2021-08-20 22:35:18 +1000
commit787c70f2f9990b5a197320152d2fc32cd8a6ad1a (patch)
treea8103d3b32d9f20c026530ccf0f2a4eedfa73722 /fs/btrfs/disk-io.c
parent310d2e83cb9b7f1e7232319880e3fcb57592fa10 (diff)
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 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions