mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] riscv: misaligned: Add ZCB handling and fix sleeping function
@ 2025-04-11  7:38 Nylon Chen
  2025-04-11  7:38 ` [PATCH 1/2] riscv: misaligned: Add handling for ZCB instructions Nylon Chen
  2025-04-11  7:38 ` [PATCH 2/2] riscv: misaligned: fix sleeping function called during misaligned access handling Nylon Chen
  0 siblings, 2 replies; 10+ messages in thread
From: Nylon Chen @ 2025-04-11  7:38 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-riscv, paul.walmsley, palmer, aou, alex, charlie, jesse,
	evan, nylon.chen, cleger, zhangchunyan, samuel.holland, zong.li

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-04-29  7:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-11  7:38 [PATCH 0/2] riscv: misaligned: Add ZCB handling and fix sleeping function Nylon Chen
2025-04-11  7:38 ` [PATCH 1/2] riscv: misaligned: Add handling for ZCB instructions Nylon Chen
2025-04-21  7:47   ` Alexandre Ghiti
2025-04-11  7:38 ` [PATCH 2/2] riscv: misaligned: fix sleeping function called during misaligned access handling Nylon Chen
2025-04-11  7:36   ` Clément Léger
2025-04-11  8:04     ` Nylon Chen
2025-04-11  8:35     ` Alexandre Ghiti
2025-04-11  8:38       ` Clément Léger
2025-04-29  5:57         ` Nylon Chen
2025-04-29  7:07           ` Clément Léger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®