[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-9.0 v2 2/8] target/riscv: add priv ver restriction to pro
From: |
Andrew Jones |
Subject: |
Re: [PATCH for-9.0 v2 2/8] target/riscv: add priv ver restriction to profiles |
Date: |
Mon, 27 Nov 2023 13:13:36 +0100 |
On Mon, Nov 27, 2023 at 08:37:46AM -0300, Daniel Henrique Barboza wrote:
> Some profiles, like RVA22S64, has a priv_spec requirement.
>
> Make this requirement explicit for all profiles. We'll validate this
> requirement finalize() time and, in case the user chooses an
> incompatible priv_spec while activating a profile, a warning will be
> shown.
>
> Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
> ---
> target/riscv/cpu.c | 1 +
> target/riscv/cpu.h | 2 ++
> target/riscv/tcg/tcg-cpu.c | 31 +++++++++++++++++++++++++++++++
> 3 files changed, 34 insertions(+)
>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
- [PATCH for-9.0 v2 0/8] target/riscv: implement RVA22S64 profile, Daniel Henrique Barboza, 2023/11/27
- [PATCH for-9.0 v2 1/8] target/riscv: implement svade, Daniel Henrique Barboza, 2023/11/27
- [PATCH for-9.0 v2 2/8] target/riscv: add priv ver restriction to profiles, Daniel Henrique Barboza, 2023/11/27
- Re: [PATCH for-9.0 v2 2/8] target/riscv: add priv ver restriction to profiles,
Andrew Jones <=
- [PATCH for-9.0 v2 3/8] target/riscv/cpu.c: finalize satp_mode earlier, Daniel Henrique Barboza, 2023/11/27
- [PATCH for-9.0 v2 4/8] target/riscv/cpu.c: add riscv_cpu_is_32bit(), Daniel Henrique Barboza, 2023/11/27
- [PATCH for-9.0 v2 5/8] target/riscv: add satp_mode profile support, Daniel Henrique Barboza, 2023/11/27
- [PATCH for-9.0 v2 6/8] target/riscv: add 'parent' in profile description, Daniel Henrique Barboza, 2023/11/27
- [PATCH for-9.0 v2 7/8] target/riscv: add RVA22S64 profile, Daniel Henrique Barboza, 2023/11/27
- [PATCH for-9.0 v2 8/8] target/riscv: add rva22s64 cpu, Daniel Henrique Barboza, 2023/11/27