On Tue, 11 Nov 2025 15:29:40 -0300, Daniel Henrique Barboza wrote:
>We want to configure other CPU types to use profiles as an alternative
>to adding every profile extension explicitly, i.e. a profile is nothing
>more than an extension bundle.
>
>This means that a vendor CPU can set .profile=rva23s64 while having the
>same handling as any other vendor CPU. Same thing with all other CPU
>types.
>
>Signed-off-by: Daniel Henrique Barboza <[email protected]>
>Reviewed-by: Andrew Jones <[email protected]>

Tested-by: Chao Liu <[email protected]>

Thanks,
Chao
>---
> target/riscv/cpu.c | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
>index 73d4280d7c..975f7953e1 100644
>--- a/target/riscv/cpu.c
>+++ b/target/riscv/cpu.c
>@@ -2792,7 +2792,6 @@ static void riscv_cpu_class_base_init(ObjectClass *c,
const void *data)
>         mcc->def->bare |= def->bare;
>         if (def->profile) {
>             assert(profile_extends(def->profile, mcc->def->profile));
>-            assert(mcc->def->bare);
>             mcc->def->profile = def->profile;
>         }
>         if (def->misa_mxl_max) {

Reply via email to