This series is the continued series for commit b94cec5761d2 ("riscv:
skip software algning code for HAVE_EFFICIENT_UNALIGNED_ACCESS") that
makes the optimization available to distro kernels compiled without
NONPORTABLE config. Now, the kernel can skip the software aligning code
in ucopy after fast unaligned access is detected at runtime.
Andy Chiu (2):
riscv: introduce assembly version of jump table
riscv: optmize ucopy for has_fast_unaligned_accesses
arch/riscv/include/asm/jump_label.h | 26 ++++++++++++
arch/riscv/lib/uaccess.S | 61 ++++++++++++++++-------------
2 files changed, 60 insertions(+), 27 deletions(-)
--
2.43.0