[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 2/5] riscv: Change type of valid_vm_1_10_[32|64] to bool
From: |
Bin Meng |
Subject: |
Re: [PATCH v8 2/5] riscv: Change type of valid_vm_1_10_[32|64] to bool |
Date: |
Sun, 29 Jan 2023 13:55:53 +0800 |
On Thu, Jan 26, 2023 at 12:22 AM Alexandre Ghiti <alexghiti@rivosinc.com> wrote:
>
> This array is actually used as a boolean so swap its current char type
> to a boolean and at the same time, change the type of validate_vm to
> bool since it returns valid_vm_1_10_[32|64].
>
> Suggested-by: Andrew Jones <ajones@ventanamicro.com>
> Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
> Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
> ---
> target/riscv/csr.c | 21 +++++++++++----------
> 1 file changed, 11 insertions(+), 10 deletions(-)
>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
- [PATCH v8 0/5] riscv: Allow user to set the satp mode, Alexandre Ghiti, 2023/01/25
- [PATCH v8 1/5] riscv: Pass Object to register_cpu_props instead of DeviceState, Alexandre Ghiti, 2023/01/25
- [PATCH v8 2/5] riscv: Change type of valid_vm_1_10_[32|64] to bool, Alexandre Ghiti, 2023/01/25
- Re: [PATCH v8 2/5] riscv: Change type of valid_vm_1_10_[32|64] to bool,
Bin Meng <=
- [PATCH v8 3/5] riscv: Allow user to set the satp mode, Alexandre Ghiti, 2023/01/25
- [PATCH v8 4/5] riscv: Introduce satp mode hw capabilities, Alexandre Ghiti, 2023/01/25
- [PATCH v8 5/5] riscv: Correctly set the device-tree entry 'mmu-type', Alexandre Ghiti, 2023/01/25