public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* updates for instruction trapping and ptrace
@ 2024-11-13  9:17 Ben Dooks
  2024-11-13  9:17 ` [PATCH 1/3] riscv: ptrace: add regs_set_register() Ben Dooks
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ben Dooks @ 2024-11-13  9:17 UTC (permalink / raw)
  To: linux-riscv; +Cc: palmer, ajones, alex

After looking at handling the RDCYCLE as RDTIME, the following
patches are probably still useful (even if the actual in-kernel
fixup of RDCYCLE isn't).



_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RFC: extern illegal instruction trap and trap RDCYCLE
@ 2024-09-17 13:08 Ben Dooks
  2024-09-17 13:08 ` [PATCH 2/3] riscv: traps: make insn fetch common in unknown instruction Ben Dooks
  0 siblings, 1 reply; 11+ messages in thread
From: Ben Dooks @ 2024-09-17 13:08 UTC (permalink / raw)
  To: linux-riscv

This is a RFC series to change how the illegal instruction trap
is handled and then how to trap RDCYCLE and emulate it with RDTIME
instead.

I did this when we found multiple libraries using RDCYCLE and
upgrading multiple runners to newer kernels caused many problems



_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

end of thread, other threads:[~2024-11-13 10:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13  9:17 updates for instruction trapping and ptrace Ben Dooks
2024-11-13  9:17 ` [PATCH 1/3] riscv: ptrace: add regs_set_register() Ben Dooks
2024-11-13 10:12   ` Andrew Jones
2024-11-13 10:19     ` Ben Dooks
2024-11-13  9:17 ` [PATCH 2/3] riscv: traps: make insn fetch common in unknown instruction Ben Dooks
2024-11-13  9:21   ` Ben Dooks
2024-11-13  9:31     ` Ben Dooks
2024-11-13  9:17 ` [PATCH 3/3] riscv: insn: add RV_EXTRACT_FUNCT3() Ben Dooks
2024-11-13 10:17   ` Andrew Jones
2024-11-13 10:35     ` Ben Dooks
  -- strict thread matches above, loose matches on Subject: below --
2024-09-17 13:08 RFC: extern illegal instruction trap and trap RDCYCLE Ben Dooks
2024-09-17 13:08 ` [PATCH 2/3] riscv: traps: make insn fetch common in unknown instruction Ben Dooks

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