acrn-kernel/arch/riscv
Guo Ren 026cae99d0 riscv: kprobe: Fixup misaligned load text
commit eb7423273c upstream.

The current kprobe would cause a misaligned load for the probe point.
This patch fixup it with two half-word loads instead.

Fixes: c22b0bcb1d ("riscv: Add kprobes supported")
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/linux-riscv/878rhig9zj.fsf@all.your.base.are.belong.to.us/
Reported-by: Bjorn Topel <bjorn.topel@gmail.com>
Reviewed-by: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/r/20230204063531.740220-1-guoren@kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-14 19:11:53 +01:00
..
boot riscv: dts: sifive: fu740: fix size of pcie 32bit memory 2023-01-24 07:24:37 +01:00
configs
errata
include riscv: uaccess: fix type of 0 variable on error in get_user() 2023-01-12 12:02:50 +01:00
kernel riscv: kprobe: Fixup misaligned load text 2023-02-14 19:11:53 +01:00
kvm RISC-V: KVM: Fix reg_val check in kvm_riscv_vcpu_set_reg_config() 2022-12-31 13:32:51 +01:00
lib
mm riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte 2023-02-14 19:11:53 +01:00
net
purgatory
Kbuild
Kconfig riscv: Fixup compile error with !MMU 2023-01-07 11:11:53 +01:00
Kconfig.debug
Kconfig.erratas
Kconfig.socs
Makefile riscv: disable generation of unwind tables 2023-02-09 11:28:20 +01:00