Commit 126be034 authored by Nylon Chen's avatar Nylon Chen Committed by Greg Kroah-Hartman
Browse files

riscv: misaligned: Add handling for ZCB instructions



[ Upstream commit eb16b372 ]

Add support for the Zcb extension's compressed half-word instructions
(C.LHU, C.LH, and C.SH) in the RISC-V misaligned access trap handler.

Signed-off-by: default avatarZong Li <zong.li@sifive.com>
Signed-off-by: default avatarNylon Chen <nylon.chen@sifive.com>
Fixes: 956d705d ("riscv: Unaligned load/store handling for M_MODE")
Reviewed-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20250411073850.3699180-2-nylon.chen@sifive.com


Signed-off-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent eaa30e1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment