[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: support for having both 32 and 64 bit RISC-V CPUs in one QEMU machin
From: |
Alistair Francis |
Subject: |
Re: support for having both 32 and 64 bit RISC-V CPUs in one QEMU machine |
Date: |
Fri, 22 Mar 2024 15:23:12 +1000 |
On Fri, Feb 16, 2024 at 6:50 AM Igor Lesik <lesikigor@meta.com> wrote:
>
> Hi,
>
> I have a situation when I need to use third-party 32-bit RISC-V CPU when rest
> is all 64-bit RISC-V CPUs. I have seen that some steps were already made in
> the direction to enable such configuration
> (https://riscv.org/blog/2023/01/run-32-bit-applications-on-64-bit-linux-kernel-liu-zhiwei-guo-ren-t-head-division-of-alibaba-cloud/),
> I am wondering if someone can shed more light on it.
I assume you want to model a number of 64-bit RISC-V CPUs and a 32-bit
RISC-V CPU (for power control of something like that) in QEMU?
That currently isn't possible. There are minimal efforts to support
creating and running a 32-bit RISC-V CPU with the 64-bit binary, but
that currently doesn't work. I don't think anyone is actively working
on it either. The next step of running both at the same time shouldn't
be too hard after that. It's already possible for 32/64-bit ARM CPUs.
Alistair
>
> Thanks,
> Igor
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: support for having both 32 and 64 bit RISC-V CPUs in one QEMU machine,
Alistair Francis <=