qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alvin Chang via <qemu-devel@nongnu.org>
To: <qemu-riscv@nongnu.org>, <qemu-devel@nongnu.org>
Cc: <alistair.francis@wdc.com>, <bin.meng@windriver.com>,
	<liwei1518@gmail.com>, <dbarboza@ventanamicro.com>,
	<zhiwei_liu@linux.alibaba.com>,
	Alvin Chang <alvinga@andestech.com>
Subject: [PATCH 0/2] RISC-V: Add preliminary textra trigger CSR functions
Date: Thu, 4 Jul 2024 12:01:58 +0800	[thread overview]
Message-ID: <20240704040200.243892-1-alvinga@andestech.com> (raw)

According to RISC-V Debug specification, the optional textra32 and textra64
trigger CSRs can be used to configure additional matching conditions for the
triggers.

This series support to write MHVALUE and MHSELECT fields into textra32 and
textra64 trigger CSRs. Besides, the additional matching condition between
textra.MHVALUE and mcontext CSR is also implemented.

Alvin Chang (2):
  target/riscv: Preliminary textra trigger CSR writting support
  target/riscv: Add textra matching condition for the triggers

 target/riscv/cpu_bits.h |  10 +++
 target/riscv/debug.c    | 144 ++++++++++++++++++++++++++++++++++++++--
 target/riscv/debug.h    |   3 +
 3 files changed, 150 insertions(+), 7 deletions(-)

-- 
2.34.1



             reply	other threads:[~2024-07-04  4:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-04  4:01 Alvin Chang via [this message]
2024-07-04  4:01 ` [PATCH 1/2] target/riscv: Preliminary textra trigger CSR writting support Alvin Chang via
2024-07-10  1:22   ` Alistair Francis
2024-07-04  4:02 ` [PATCH 2/2] target/riscv: Add textra matching condition for the triggers Alvin Chang via
2024-07-10  1:29   ` Alistair Francis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240704040200.243892-1-alvinga@andestech.com \
    --to=qemu-devel@nongnu.org \
    --cc=alistair.francis@wdc.com \
    --cc=alvinga@andestech.com \
    --cc=bin.meng@windriver.com \
    --cc=dbarboza@ventanamicro.com \
    --cc=liwei1518@gmail.com \
    --cc=qemu-riscv@nongnu.org \
    --cc=zhiwei_liu@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).