[PATCH 01/10] target/riscv: Add `ext_ssdbltrp` in RISCVCPUConfig.

Clément Léger posted 10 patches 2 months, 1 week ago
There is a newer version of this series
[PATCH 01/10] target/riscv: Add `ext_ssdbltrp` in RISCVCPUConfig.
Posted by Clément Léger 2 months, 1 week ago
This variable is used to determine if the Ssdbltrp extension is enabled.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
---
 target/riscv/cpu_cfg.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/riscv/cpu_cfg.h b/target/riscv/cpu_cfg.h
index ae2a945b5f..dd804f95d4 100644
--- a/target/riscv/cpu_cfg.h
+++ b/target/riscv/cpu_cfg.h
@@ -77,6 +77,7 @@ struct RISCVCPUConfig {
     bool ext_smstateen;
     bool ext_sstc;
     bool ext_smcntrpmf;
+    bool ext_ssdbltrp;
     bool ext_svadu;
     bool ext_svinval;
     bool ext_svnapot;
-- 
2.45.2


Re: [PATCH 01/10] target/riscv: Add `ext_ssdbltrp` in RISCVCPUConfig.
Posted by Daniel Henrique Barboza 2 months ago

On 9/12/24 5:48 AM, Clément Léger wrote:
> This variable is used to determine if the Ssdbltrp extension is enabled.
> 
> Signed-off-by: Clément Léger <cleger@rivosinc.com>
> ---

I would merge this to patch 2 since the bool is being used there. Thanks,


Daniel

>   target/riscv/cpu_cfg.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/target/riscv/cpu_cfg.h b/target/riscv/cpu_cfg.h
> index ae2a945b5f..dd804f95d4 100644
> --- a/target/riscv/cpu_cfg.h
> +++ b/target/riscv/cpu_cfg.h
> @@ -77,6 +77,7 @@ struct RISCVCPUConfig {
>       bool ext_smstateen;
>       bool ext_sstc;
>       bool ext_smcntrpmf;
> +    bool ext_ssdbltrp;
>       bool ext_svadu;
>       bool ext_svinval;
>       bool ext_svnapot;