[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 01/16] target/riscv: create TYPE_RISCV_VENDOR_CPU
From: |
Andrew Jones |
Subject: |
Re: [PATCH v7 01/16] target/riscv: create TYPE_RISCV_VENDOR_CPU |
Date: |
Wed, 1 Nov 2023 10:19:48 +0100 |
On Tue, Oct 31, 2023 at 05:39:01PM -0300, Daniel Henrique Barboza wrote:
> We want to add a new CPU type for bare CPUs that will inherit specific
> traits of the 2 existing types:
>
> - it will allow for extensions to be enabled/disabled, like generic
> CPUs;
>
> - it will NOT inherit defaults, like vendor CPUs.
>
> We can make this conditions met by adding an explicit type for the
> existing vendor CPUs and change the existing logic to not imply that
> "not generic" means vendor CPUs.
>
> Let's add the "vendor" CPU type first.
>
> Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
> ---
> target/riscv/cpu-qom.h | 1 +
> target/riscv/cpu.c | 30 +++++++++++++++++++++---------
> 2 files changed, 22 insertions(+), 9 deletions(-)
>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v7 01/16] target/riscv: create TYPE_RISCV_VENDOR_CPU,
Andrew Jones <=