[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 5/6] target/riscv: Expose svukte ISA extension
From: |
Fea.Wang |
Subject: |
[PATCH v5 5/6] target/riscv: Expose svukte ISA extension |
Date: |
Tue, 3 Dec 2024 11:49:31 +0800 |
Add "svukte" in the ISA string when svukte extension is enabled.
Signed-off-by: Fea.Wang <fea.wang@sifive.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Jim Shu <jim.shu@sifive.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 8447ad0dfb..e10240c02a 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -199,6 +199,7 @@ const RISCVIsaExtData isa_edata_arr[] = {
ISA_EXT_DATA_ENTRY(svinval, PRIV_VERSION_1_12_0, ext_svinval),
ISA_EXT_DATA_ENTRY(svnapot, PRIV_VERSION_1_12_0, ext_svnapot),
ISA_EXT_DATA_ENTRY(svpbmt, PRIV_VERSION_1_12_0, ext_svpbmt),
+ ISA_EXT_DATA_ENTRY(svukte, PRIV_VERSION_1_13_0, ext_svukte),
ISA_EXT_DATA_ENTRY(svvptc, PRIV_VERSION_1_13_0, ext_svvptc),
ISA_EXT_DATA_ENTRY(xtheadba, PRIV_VERSION_1_11_0, ext_xtheadba),
ISA_EXT_DATA_ENTRY(xtheadbb, PRIV_VERSION_1_11_0, ext_xtheadbb),
@@ -1661,6 +1662,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_vendor_exts[] = {
/* These are experimental so mark with 'x-' */
const RISCVCPUMultiExtConfig riscv_cpu_experimental_exts[] = {
+ MULTI_EXT_CFG_BOOL("x-svukte", ext_svukte, false),
DEFINE_PROP_END_OF_LIST(),
};
--
2.34.1
- [PATCH v5 0/6] Introduce svukte ISA extension, Fea.Wang, 2024/12/02
- [PATCH v5 1/6] target/riscv: Add svukte extension capability variable, Fea.Wang, 2024/12/02
- [PATCH v5 3/6] target/riscv: Support hstatus[HUKTE] bit when svukte extension is enabled, Fea.Wang, 2024/12/02
- [PATCH v5 2/6] target/riscv: Support senvcfg[UKTE] bit when svukte extension is enabled, Fea.Wang, 2024/12/02
- [PATCH v5 4/6] target/riscv: Check memory access to meet svukte rule, Fea.Wang, 2024/12/02
- [PATCH v5 5/6] target/riscv: Expose svukte ISA extension,
Fea.Wang <=
- [PATCH v5 6/6] target/riscv: Check svukte is not enabled in RV32, Fea.Wang, 2024/12/02
- Re: [PATCH v5 0/6] Introduce svukte ISA extension, Alistair Francis, 2024/12/03