[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/6] riscv: RVA22U64 profile support
From: |
Andrea Bolognani |
Subject: |
Re: [PATCH 0/6] riscv: RVA22U64 profile support |
Date: |
Fri, 29 Sep 2023 03:10:22 -0700 |
On Tue, Sep 26, 2023 at 04:49:44PM -0300, Daniel Henrique Barboza wrote:
> Based-on: 20230926183109.165878-1-dbarboza@ventanamicro.com
> ("[PATCH 0/2] riscv: add extension properties for all cpus")
>
> Hi,
>
> These patches implements the base profile support for qemu-riscv and the
> first profile, RVA22U64.
>
> As discussed in this thread [1] we're aiming for a flag that enables all
> mandatory extensions of a profile. Optional extensions were left behind
> and must be enabled by hand if desired. Since this is the first profile
> we're adding, we'll need to add the base framework as well.
>
> The RVA22U64 profile was chosen because qemu-riscv implements all its
> extensions, both mandatory and optional. That includes 'zicntr' and
> 'zihpm', which we support for awhile but aren't adverting to userspace.
>
> Other design decisions made:
>
> - disabling a profile flag does nothing, i.e. we won't mass disable
> mandatory extensions of the rva22U64 profile if the user sets
> rva22u64=false;
Wouldn't it make more sense to error out when this is requested?
Silently ignoring an explicit request made by the user is pretty much
never a good idea in my experience.
--
Andrea Bolognani / Red Hat / Virtualization
- [PATCH 0/6] riscv: RVA22U64 profile support, Daniel Henrique Barboza, 2023/09/26
- [PATCH 1/6] target/riscv/cpu.c: add zicntr extension flag, Daniel Henrique Barboza, 2023/09/26
- [PATCH 2/6] target/riscv/cpu.c: add zihpm extension flag, Daniel Henrique Barboza, 2023/09/26
- [PATCH 3/6] target/riscv: add rva22u64 profile definition, Daniel Henrique Barboza, 2023/09/26
- [PATCH 4/6] target/riscv/tcg: implement rva22u64 profile, Daniel Henrique Barboza, 2023/09/26
- [PATCH 5/6] target/riscv/tcg-cpu.c: enable profile support for vendor CPUs, Daniel Henrique Barboza, 2023/09/26
- [PATCH 6/6] target/riscv/kvm: add 'rva22u64' flag as unavailable, Daniel Henrique Barboza, 2023/09/26
- Re: [PATCH 0/6] riscv: RVA22U64 profile support,
Andrea Bolognani <=
- Re: [PATCH 0/6] riscv: RVA22U64 profile support, Daniel P . Berrangé, 2023/09/29
- Re: [PATCH 0/6] riscv: RVA22U64 profile support, Daniel Henrique Barboza, 2023/09/29
- Re: [PATCH 0/6] riscv: RVA22U64 profile support, Daniel P . Berrangé, 2023/09/29
- Re: [PATCH 0/6] riscv: RVA22U64 profile support, Daniel Henrique Barboza, 2023/09/29
- Re: [PATCH 0/6] riscv: RVA22U64 profile support, Daniel P . Berrangé, 2023/09/29
- Re: [PATCH 0/6] riscv: RVA22U64 profile support, Daniel Henrique Barboza, 2023/09/29
- Re: [PATCH 0/6] riscv: RVA22U64 profile support, Daniel P . Berrangé, 2023/09/29