qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] Improve RISC-V Debug support
@ 2022-06-10  5:13 frank.chang
  2022-06-10  5:13 ` [PATCH 1/9] target/riscv: debug: Determine the trigger type from tdata1.type frank.chang
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: frank.chang @ 2022-06-10  5:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-riscv, Frank Chang

From: Frank Chang <frank.chang@sifive.com>

This patchset refactors RISC-V Debug support to allow more types of
triggers to be extended.

The initial support of type 6 trigger, which is similar to type 2
trigger with additional functionality, is also introduced in this
patchset.

Frank Chang (9):
  target/riscv: debug: Determine the trigger type from tdata1.type
  target/riscv: debug: Introduce build_tdata1() to build tdata1 register
    content
  target/riscv: debug: Introduce tdata1, tdata2, and tdata3 CSRs
  target/riscv: debug: Restrict the range of tselect value can be
    written
  target/riscv: debug: Introduce tinfo CSR
  target/riscv: debug: Create common trigger actions function
  target/riscv: debug: Check VU/VS modes for type 2 trigger
  target/riscv: debug: Return 0 if previous value written to tselect >=
    number of triggers
  target/riscv: debug: Add initial support of type 6 trigger

 target/riscv/cpu.h      |   7 +-
 target/riscv/cpu_bits.h |   1 +
 target/riscv/csr.c      |  10 +-
 target/riscv/debug.c    | 483 ++++++++++++++++++++++++++++++++--------
 target/riscv/debug.h    |  55 +++--
 target/riscv/machine.c  |  20 +-
 6 files changed, 445 insertions(+), 131 deletions(-)

--
2.36.1



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

end of thread, other threads:[~2022-06-15 13:33 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-10  5:13 [PATCH 0/9] Improve RISC-V Debug support frank.chang
2022-06-10  5:13 ` [PATCH 1/9] target/riscv: debug: Determine the trigger type from tdata1.type frank.chang
2022-06-15  5:33   ` Bin Meng
2022-06-15  5:41   ` Bin Meng
2022-06-10  5:13 ` [PATCH 2/9] target/riscv: debug: Introduce build_tdata1() to build tdata1 register content frank.chang
2022-06-15 12:05   ` Bin Meng
2022-06-10  5:13 ` [PATCH 3/9] target/riscv: debug: Introduce tdata1, tdata2, and tdata3 CSRs frank.chang
2022-06-15 12:17   ` Bin Meng
2022-06-10  5:13 ` [PATCH 4/9] target/riscv: debug: Restrict the range of tselect value can be written frank.chang
2022-06-15 12:21   ` Bin Meng
2022-06-10  5:13 ` [PATCH 5/9] target/riscv: debug: Introduce tinfo CSR frank.chang
2022-06-15 12:26   ` Bin Meng
2022-06-10  5:13 ` [PATCH 6/9] target/riscv: debug: Create common trigger actions function frank.chang
2022-06-15 12:41   ` Bin Meng
2022-06-10  5:13 ` [PATCH 7/9] target/riscv: debug: Check VU/VS modes for type 2 trigger frank.chang
2022-06-15 12:43   ` Bin Meng
2022-06-10  5:13 ` [PATCH 8/9] target/riscv: debug: Return 0 if previous value written to tselect >= number of triggers frank.chang
2022-06-15 13:17   ` Bin Meng
2022-06-10  5:13 ` [PATCH 9/9] target/riscv: debug: Add initial support of type 6 trigger frank.chang
2022-06-15 13:18   ` Bin Meng

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).