linux/arch/powerpc/lib
Naveen N. Rao 0347c001c9 powerpc/lib: Add helper to check if offset is within conditional branch range
upstream commit 4549c3ea3160fa8b3f37dfe2f957657bb265eda9

Add a helper to check if a given offset is within the branch range for a
powerpc conditional branch instruction, and update some sites to use the
new helper.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/442b69a34ced32ca346a0d9a855f3f6cfdbbbd41.1633464148.git.naveen.n.rao@linux.vnet.ibm.com
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-17 09:48:49 +01:00
..
alloc.c
checksum_32.S
checksum_64.S
checksum_wrappers.c
code-patching.c powerpc/lib: Add helper to check if offset is within conditional branch range 2021-11-17 09:48:49 +01:00
copy_32.S
copypage_64.S
copypage_power7.S
copyuser_64.S
copyuser_power7.S
crtsavres.S
div64.S
error-inject.c
feature-fixups-test.S
feature-fixups.c
hweight_64.S
ldstfp.S
locks.c
Makefile
mem_64.S
memcmp_32.S
memcmp_64.S
memcpy_64.S
memcpy_mcsafe_64.S
memcpy_power7.S
pmem.c
quad.S
rheap.c
sstep.c
string_32.S
string_64.S
string.S
strlen_32.S
test_emulate_step_exec_instr.S
test_emulate_step.c
vmx-helper.c
xor_vmx_glue.c
xor_vmx.c
xor_vmx.h