Re: [PATCH v2 08/16] target/riscv: move 'vlen' to riscv_cpu_properties[]

2024-01-02 Thread Daniel Henrique Barboza
On 1/2/24 09:04, Daniel Henrique Barboza wrote: On 12/29/23 08:22, Vladimir Isaev wrote: 22.12.2023 15:22, Daniel Henrique Barboza wrote: Turning 'vlen' into a class property will allow its default value to be overwritten by cpu_init() later on, solving the issue we have now where CPU spe

Re: [PATCH v2 08/16] target/riscv: move 'vlen' to riscv_cpu_properties[]

2024-01-02 Thread Daniel Henrique Barboza
On 12/29/23 08:22, Vladimir Isaev wrote: 22.12.2023 15:22, Daniel Henrique Barboza wrote: Turning 'vlen' into a class property will allow its default value to be overwritten by cpu_init() later on, solving the issue we have now where CPU specific settings are getting overwritten by the defau

Re: [PATCH v2 08/16] target/riscv: move 'vlen' to riscv_cpu_properties[]

2023-12-29 Thread Vladimir Isaev
22.12.2023 15:22, Daniel Henrique Barboza wrote: > > Turning 'vlen' into a class property will allow its default value to be > overwritten by cpu_init() later on, solving the issue we have now where > CPU specific settings are getting overwritten by the default. > > For 'vlen', 'elen' and the blo

[PATCH v2 08/16] target/riscv: move 'vlen' to riscv_cpu_properties[]

2023-12-22 Thread Daniel Henrique Barboza
Turning 'vlen' into a class property will allow its default value to be overwritten by cpu_init() later on, solving the issue we have now where CPU specific settings are getting overwritten by the default. For 'vlen', 'elen' and the blocksize options we need a way of tracking if the user set a val