From: Mayuresh Chitale <mchitale@ventanamicro.com>
To: qemu-riscv@nongnu.org, qemu-devel@nongnu.org
Cc: Mayuresh Chitale <mchitale@ventanamicro.com>, alistair.francis@wdc.com
Subject: [RFC PATCH v1 0/4] RISC-V Smstateen support
Date: Tue, 22 Mar 2022 19:12:14 +0530 [thread overview]
Message-ID: <20220322134218.27322-1-mchitale@ventanamicro.com> (raw)
This series adds support for the Smstateen specification which provides
a mechanism plug potential covert channels which are opened by extensions
that add to processor state that may not get context-switched. Currently
access to AIA registers, *envcfg registers and floating point(fcsr) is
controlled via smstateen.
This series depends on the following series from Atish Patra:
https://lists.nongnu.org/archive/html/qemu-riscv/2022-03/msg00031.html
https://lists.nongnu.org/archive/html/qemu-riscv/2022-03/msg00142.html
Mayuresh Chitale (4):
target/riscv: Add smstateen support
target/riscv: smstateen check for h/senvcfg
target/riscv: smstateen check for fcsr
target/riscv: smstateen check for AIA/IMSIC
target/riscv/cpu.c | 2 +
target/riscv/cpu.h | 4 +
target/riscv/cpu_bits.h | 36 +++
target/riscv/csr.c | 550 +++++++++++++++++++++++++++++++++++++++-
target/riscv/machine.c | 22 +-
5 files changed, 610 insertions(+), 4 deletions(-)
--
2.17.1
next reply other threads:[~2022-03-22 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-22 13:42 Mayuresh Chitale [this message]
2022-03-22 13:42 ` [RFC PATCH v1 1/4] target/riscv: Add smstateen support Mayuresh Chitale
2022-03-22 13:42 ` [RFC PATCH v1 2/4] target/riscv: smstateen check for h/senvcfg Mayuresh Chitale
2022-03-22 13:42 ` [RFC PATCH v1 3/4] target/riscv: smstateen check for fcsr Mayuresh Chitale
2022-03-22 13:42 ` [RFC PATCH v1 4/4] target/riscv: smstateen check for AIA/IMSIC Mayuresh Chitale
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=20220322134218.27322-1-mchitale@ventanamicro.com \
--to=mchitale@ventanamicro.com \
--cc=alistair.francis@wdc.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.