Re: [PATCH 2/2] hw/riscv/virt.c: change default CPU to 'max'

2025-04-24 Thread Philippe Mathieu-Daudé
On 7/4/25 01:31, Alistair Francis wrote: On Sat, Apr 5, 2025 at 9:02 AM Richard Henderson wrote: On 4/4/25 08:27, Daniel Henrique Barboza wrote: Using 'max' as default CPU is done by other QEMU archs like aarch64 so we'll be more compatible with everyone else. This isn't true. qemu-system-

Re: [PATCH 2/2] hw/riscv/virt.c: change default CPU to 'max'

2025-04-24 Thread Andrew Jones
On Fri, Apr 04, 2025 at 12:27:50PM -0300, Daniel Henrique Barboza wrote: > In [1], minute 44, we have a hint from a Canonical kernel developer that > the next Ubuntu LTS will be RVA23 compliant. If this really comes to > pass, the 'virt' CPU won't run it by default - we'll need to either use > 'rva

Re: [PATCH 2/2] hw/riscv/virt.c: change default CPU to 'max'

2025-04-06 Thread Alistair Francis
On Sat, Apr 5, 2025 at 9:02 AM Richard Henderson wrote: > > On 4/4/25 08:27, Daniel Henrique Barboza wrote: > > Using 'max' as > > default CPU is done by other QEMU archs like aarch64 so we'll be more > > compatible with everyone else. > > This isn't true. qemu-system-aarch64 -M virt defaults to

Re: [PATCH 2/2] hw/riscv/virt.c: change default CPU to 'max'

2025-04-04 Thread Richard Henderson
On 4/4/25 08:27, Daniel Henrique Barboza wrote: Using 'max' as default CPU is done by other QEMU archs like aarch64 so we'll be more compatible with everyone else. This isn't true. qemu-system-aarch64 -M virt defaults to cortex-a15 (for hysterical raisins), which is completely and totally use

[PATCH 2/2] hw/riscv/virt.c: change default CPU to 'max'

2025-04-04 Thread Daniel Henrique Barboza
In [1], minute 44, we have a hint from a Canonical kernel developer that the next Ubuntu LTS will be RVA23 compliant. If this really comes to pass, the 'virt' CPU won't run it by default - we'll need to either use 'rva23s64' or 'max' CPUs instead because rv64 is not RVA23 compliant. Other distros w