qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Export debug triggers as an extension
@ 2024-01-10  4:02 Himanshu Chauhan
  2024-01-10  4:02 ` [PATCH 1/2] target/riscv: Export sdtrig as an extension and ISA string Himanshu Chauhan
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Himanshu Chauhan @ 2024-01-10  4:02 UTC (permalink / raw)
  To: qemu-riscv, qemu-devel

All the CPUs may or may not implement the debug trigger (sdtrig)
extension. The presence of it should be dynamically detectable.
This patch exports the debug triggers as an extension which
can be turned on or off by sdtrig=<true/false> option. It is
turned on by default.

"sdtrig" is concatenated to ISA string when it is enabled.
Like so:
rv64imafdch_zicbom_*_sdtrig_*_sstc_svadu


Himanshu Chauhan (2):
  target/riscv: Export sdtrig as an extension and ISA string
  target/riscv: Raise an exception when sdtrig is turned off

 target/riscv/cpu.c     |  2 ++
 target/riscv/cpu_cfg.h |  1 +
 target/riscv/csr.c     | 20 ++++++++++++++++++++
 3 files changed, 23 insertions(+)

-- 
2.34.1



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

end of thread, other threads:[~2024-02-05  5:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10  4:02 [PATCH 0/2] Export debug triggers as an extension Himanshu Chauhan
2024-01-10  4:02 ` [PATCH 1/2] target/riscv: Export sdtrig as an extension and ISA string Himanshu Chauhan
2024-01-12  3:34   ` Alistair Francis
2024-01-10  4:02 ` [PATCH 2/2] target/riscv: Raise an exception when sdtrig is turned off Himanshu Chauhan
2024-01-12  3:33   ` Alistair Francis
2024-01-10 19:19 ` [PATCH 0/2] Export debug triggers as an extension Daniel Henrique Barboza
2024-01-12  3:52   ` Alistair Francis
2024-01-12 13:34     ` Rob Bradford
2024-01-17 16:59       ` Daniel Henrique Barboza
2024-01-17 17:44         ` Himanshu Chauhan
2024-01-22  5:42       ` Alistair Francis
2024-01-22  9:16         ` Andrew Jones
2024-02-05  4:05           ` Alistair Francis
2024-02-05  4:50             ` Anup Patel
2024-02-05  5:57               ` Alistair Francis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).