[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 9/9] target/riscv: Add Smdbltrp ISA extension enable switch
From: |
Clément Léger |
Subject: |
[PATCH v7 9/9] target/riscv: Add Smdbltrp ISA extension enable switch |
Date: |
Tue, 17 Dec 2024 10:07:05 +0100 |
Add the switch to enable the Smdbltrp ISA extension.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
---
target/riscv/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index 1b883db0cc..c4330ded69 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -192,6 +192,7 @@ const RISCVIsaExtData isa_edata_arr[] = {
ISA_EXT_DATA_ENTRY(shvstvecd, 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),
+ ISA_EXT_DATA_ENTRY(smdbltrp, PRIV_VERSION_1_13_0, ext_smdbltrp),
ISA_EXT_DATA_ENTRY(smepmp, PRIV_VERSION_1_12_0, ext_smepmp),
ISA_EXT_DATA_ENTRY(smrnmi, PRIV_VERSION_1_12_0, ext_smrnmi),
ISA_EXT_DATA_ENTRY(smstateen, PRIV_VERSION_1_12_0, ext_smstateen),
@@ -1625,6 +1626,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_extensions[] = {
MULTI_EXT_CFG_BOOL("sstc", ext_sstc, true),
MULTI_EXT_CFG_BOOL("smaia", ext_smaia, false),
+ MULTI_EXT_CFG_BOOL("smdbltrp", ext_smdbltrp, false),
MULTI_EXT_CFG_BOOL("smepmp", ext_smepmp, false),
MULTI_EXT_CFG_BOOL("smrnmi", ext_smrnmi, false),
MULTI_EXT_CFG_BOOL("smstateen", ext_smstateen, false),
--
2.45.2
- [PATCH v7 0/9] target/riscv: Add support for Smdbltrp and Ssdbltrp extensions, Clément Léger, 2024/12/17
- [PATCH v7 1/9] target/riscv: Fix henvcfg potentially containing stale bits, Clément Léger, 2024/12/17
- [PATCH v7 3/9] target/riscv: Implement Ssdbltrp sret, mret and mnret behavior, Clément Léger, 2024/12/17
- [PATCH v7 2/9] target/riscv: Add Ssdbltrp CSRs handling, Clément Léger, 2024/12/17
- [PATCH v7 5/9] target/riscv: Add Ssdbltrp ISA extension enable switch, Clément Léger, 2024/12/17
- [PATCH v7 6/9] target/riscv: Add Smdbltrp CSRs handling, Clément Léger, 2024/12/17
- [PATCH v7 4/9] target/riscv: Implement Ssdbltrp exception handling, Clément Léger, 2024/12/17
- [PATCH v7 7/9] target/riscv: Implement Smdbltrp sret, mret and mnret behavior, Clément Léger, 2024/12/17
- [PATCH v7 9/9] target/riscv: Add Smdbltrp ISA extension enable switch,
Clément Léger <=
- [PATCH v7 8/9] target/riscv: Implement Smdbltrp behavior, Clément Léger, 2024/12/17