All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/4] RISC-V Smstateen support
@ 2022-03-22 13:42 Mayuresh Chitale
  2022-03-22 13:42 ` [RFC PATCH v1 1/4] target/riscv: Add smstateen support Mayuresh Chitale
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mayuresh Chitale @ 2022-03-22 13:42 UTC (permalink / raw)
  To: qemu-riscv, qemu-devel; +Cc: Mayuresh Chitale, alistair.francis

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



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

end of thread, other threads:[~2022-03-22 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-22 13:42 [RFC PATCH v1 0/4] RISC-V Smstateen support Mayuresh Chitale
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

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.