[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 5/9] target/riscv: add shtvala
From: |
Daniel Henrique Barboza |
Subject: |
[PATCH v2 5/9] target/riscv: add shtvala |
Date: |
Wed, 18 Dec 2024 08:40:22 -0300 |
shtvala is described in RVA22 as:
"htval must be written with the faulting guest physical address
in all circumstances permitted by the ISA."
This is the case since commit 3067553993, so claim support for shtvala.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
---
target/riscv/cpu.c | 1 +
tests/data/acpi/riscv64/virt/RHCT | Bin 356 -> 364 bytes
2 files changed, 1 insertion(+)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index f4997f488e..70301def20 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -184,6 +184,7 @@ const RISCVIsaExtData isa_edata_arr[] = {
ISA_EXT_DATA_ENTRY(zhinx, PRIV_VERSION_1_12_0, ext_zhinx),
ISA_EXT_DATA_ENTRY(zhinxmin, PRIV_VERSION_1_12_0, ext_zhinxmin),
ISA_EXT_DATA_ENTRY(shcounterenw, PRIV_VERSION_1_12_0, has_priv_1_12),
+ ISA_EXT_DATA_ENTRY(shtvala, PRIV_VERSION_1_12_0, has_priv_1_12),
ISA_EXT_DATA_ENTRY(shvstvala, PRIV_VERSION_1_12_0, has_priv_1_12),
ISA_EXT_DATA_ENTRY(smaia, PRIV_VERSION_1_12_0, ext_smaia),
ISA_EXT_DATA_ENTRY(smcntrpmf, PRIV_VERSION_1_12_0, ext_smcntrpmf),
diff --git a/tests/data/acpi/riscv64/virt/RHCT
b/tests/data/acpi/riscv64/virt/RHCT
index
15b82b5bb1cf24cf501e74cb82682742e0041ea6..065f894010272e7f27834b2c8d5d5fb0c21066a1
100644
GIT binary patch
delta 46
zcmaFD^oEHm$iq1#hmnDSF=ir{0UH-1BLgGjM2GFHC1r^@i4(tMa5ynCF!(SsFaQ7$
CAPVCE
delta 40
wcmaFE^n{5k$iq1#g^_`Q@%ltA12!f`MuwjZ6CJis{GZBU#mK<m!pOh?0OjfmAOHXW
--
2.47.1
- [PATCH v2 0/9] target/riscv: add 'sha' support, Daniel Henrique Barboza, 2024/12/18
- [PATCH v2 2/9] target/riscv: add ssstateen, Daniel Henrique Barboza, 2024/12/18
- [PATCH v2 1/9] target/riscv/tcg: hide warn for named feats when disabling via priv_ver, Daniel Henrique Barboza, 2024/12/18
- [PATCH v2 4/9] target/riscv: add shvstvala, Daniel Henrique Barboza, 2024/12/18
- [PATCH v2 3/9] target/riscv: add shcounterenw, Daniel Henrique Barboza, 2024/12/18
- [PATCH v2 5/9] target/riscv: add shtvala,
Daniel Henrique Barboza <=
- [PATCH v2 7/9] target/riscv: add shvsatpa, Daniel Henrique Barboza, 2024/12/18
- [PATCH v2 6/9] target/riscv: add shvstvecd, Daniel Henrique Barboza, 2024/12/18
- [PATCH v2 9/9] target/riscv/tcg: add sha, Daniel Henrique Barboza, 2024/12/18
- [PATCH v2 8/9] target/riscv: add shgatpa, Daniel Henrique Barboza, 2024/12/18