[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 27/30] target/riscv: Expose the Smcntrpmf config
From: |
Alistair Francis |
Subject: |
[PULL 27/30] target/riscv: Expose the Smcntrpmf config |
Date: |
Thu, 18 Jul 2024 12:10:09 +1000 |
From: Atish Patra <atishp@rivosinc.com>
Create a new config for Smcntrpmf extension so that it can be enabled/
disabled from the qemu commandline.
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20240711-smcntrpmf_v7-v8-13-b7c38ae7b263@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
target/riscv/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index 4efe7ee3b0..a90808a3ba 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -1472,6 +1472,7 @@ const char *riscv_get_misa_ext_description(uint32_t bit)
const RISCVCPUMultiExtConfig riscv_cpu_extensions[] = {
/* Defaults for standard extensions */
MULTI_EXT_CFG_BOOL("sscofpmf", ext_sscofpmf, false),
+ MULTI_EXT_CFG_BOOL("smcntrpmf", ext_smcntrpmf, false),
MULTI_EXT_CFG_BOOL("zifencei", ext_zifencei, true),
MULTI_EXT_CFG_BOOL("zicsr", ext_zicsr, true),
MULTI_EXT_CFG_BOOL("zihintntl", ext_zihintntl, true),
--
2.45.2
[PULL 28/30] target/riscv: raise an exception when CSRRS/CSRRC writes a read-only CSR, Alistair Francis, 2024/07/17
[PULL 30/30] roms/opensbi: Update to v1.5, Alistair Francis, 2024/07/17
[PULL 27/30] target/riscv: Expose the Smcntrpmf config,
Alistair Francis <=
Re: [PULL 00/30] riscv-to-apply queue, Richard Henderson, 2024/07/18