[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 3/3] target/riscv: Enable sdtrig for Ventana's Veyron CPUs
From: |
Himanshu Chauhan |
Subject: |
[PATCH v4 3/3] target/riscv: Enable sdtrig for Ventana's Veyron CPUs |
Date: |
Wed, 13 Mar 2024 11:39:31 +0530 |
Ventana's Veyron CPUs support sdtrig ISA extension. By default, enable
the sdtrig extension and disable the debug property for these CPUs.
Signed-off-by: Himanshu Chauhan <hchauhan@ventanamicro.com>
---
target/riscv/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index ab057a0926..9ddebe468b 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -568,7 +568,9 @@ static void rv64_veyron_v1_cpu_init(Object *obj)
cpu->cfg.ext_zicbom = true;
cpu->cfg.cbom_blocksize = 64;
cpu->cfg.cboz_blocksize = 64;
+ cpu->cfg.debug=false;
cpu->cfg.ext_zicboz = true;
+ cpu->cfg.ext_sdtrig = true;
cpu->cfg.ext_smaia = true;
cpu->cfg.ext_ssaia = true;
cpu->cfg.ext_sscofpmf = true;
--
2.34.1
- [PATCH v4 0/3] Introduce sdtrig ISA extension, Himanshu Chauhan, 2024/03/13
- [PATCH v4 2/3] target/riscv: Expose sdtrig ISA extension, Himanshu Chauhan, 2024/03/13
- Re: [PATCH v4 2/3] target/riscv: Expose sdtrig ISA extension, Andrew Jones, 2024/03/13
- Re: [PATCH v4 2/3] target/riscv: Expose sdtrig ISA extension, Himanshu Chauhan, 2024/03/13
- Re: [PATCH v4 2/3] target/riscv: Expose sdtrig ISA extension, Andrew Jones, 2024/03/13
- Re: [PATCH v4 2/3] target/riscv: Expose sdtrig ISA extension, Himanshu Chauhan, 2024/03/13
- Re: [PATCH v4 2/3] target/riscv: Expose sdtrig ISA extension, Andrew Jones, 2024/03/13
- Re: [PATCH v4 2/3] target/riscv: Expose sdtrig ISA extension, Himanshu Chauhan, 2024/03/13
[PATCH v4 3/3] target/riscv: Enable sdtrig for Ventana's Veyron CPUs,
Himanshu Chauhan <=
[PATCH v4 1/3] target/riscv: Enable mcontrol6 triggers only when sdtrig is selected, Himanshu Chauhan, 2024/03/13