[PATCH 0/2] riscv: misaligned: Add ZCB handling and fix sleeping function

Nylon Chen posted 2 patches 10 months ago
arch/riscv/kernel/traps_misaligned.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
[PATCH 0/2] riscv: misaligned: Add ZCB handling and fix sleeping function
Posted by Nylon Chen 10 months ago
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@sifive.com>
Signed-off-by: Nylon Chen nylon.chen@sifive.com

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