[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-10.0 0/9] target/riscv: add 'sha' support
From: |
Daniel Henrique Barboza |
Subject: |
[PATCH for-10.0 0/9] target/riscv: add 'sha' support |
Date: |
Wed, 13 Nov 2024 14:17:46 -0300 |
Hi,
'sha' is defined in RVA22 as "augmented hypervisor extension" and
consists of a set of named features that must be enabled.
RVA23 makes 'sha' mandatory, so let's add official support for it in
preparation to support RVA23 later.
Most of the named features added here are always implemented by TCG.
Only 'ssstateen' has a runtime dependency.
Daniel Henrique Barboza (9):
target/riscv/tcg: hide warn for named feats when disabling via
priv_ver
target/riscv: add ssstateen
target/riscv: add shcounterenw
target/riscv: add shvstvala
target/riscv: add shtvala
target/riscv: add shvstvecd
target/riscv: add shvsatpa
target/riscv: add shgatpa
target/riscv/tcg: add sha
target/riscv/cpu.c | 10 ++++++++++
target/riscv/cpu_cfg.h | 2 ++
target/riscv/tcg/tcg-cpu.c | 30 ++++++++++++++++++++++++++----
3 files changed, 38 insertions(+), 4 deletions(-)
--
2.47.0
- [PATCH for-10.0 0/9] target/riscv: add 'sha' support,
Daniel Henrique Barboza <=
- [PATCH for-10.0 1/9] target/riscv/tcg: hide warn for named feats when disabling via priv_ver, Daniel Henrique Barboza, 2024/11/13
- [PATCH for-10.0 2/9] target/riscv: add ssstateen, Daniel Henrique Barboza, 2024/11/13
- [PATCH for-10.0 3/9] target/riscv: add shcounterenw, Daniel Henrique Barboza, 2024/11/13
- [PATCH for-10.0 4/9] target/riscv: add shvstvala, Daniel Henrique Barboza, 2024/11/13
- [PATCH for-10.0 5/9] target/riscv: add shtvala, Daniel Henrique Barboza, 2024/11/13
- [PATCH for-10.0 8/9] target/riscv: add shgatpa, Daniel Henrique Barboza, 2024/11/13
- [PATCH for-10.0 6/9] target/riscv: add shvstvecd, Daniel Henrique Barboza, 2024/11/13
- [PATCH for-10.0 7/9] target/riscv: add shvsatpa, Daniel Henrique Barboza, 2024/11/13
- [PATCH for-10.0 9/9] target/riscv/tcg: add sha, Daniel Henrique Barboza, 2024/11/13