[PATCH 0/2] riscv: misaligned: Add ZCB handling and fix sleeping function
From: Nylon Chen
Date: Fri Apr 11 2025 - 03:29:22 EST
1. Adds support for ZCB compressed instructions (C.LHU, C.LH, C.SH).
2. Fixes a bug where copy_from/to_user() calls in non-sleepable contexts
triggered attempts to sleep.
Signed-off-by: Zong Li <zong.li@xxxxxxxxxx>
Signed-off-by: Nylon Chen nylon.chen@xxxxxxxxxx
Nylon Chen (2):
riscv: misaligned: Add handling for ZCB instructions
riscv: misaligned: fix sleeping function called during misaligned
access handling
arch/riscv/kernel/traps_misaligned.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
--
2.34.1