From: Alistair Francis <alistair23@gmail.com>
To: Igor Lesik <lesikigor@meta.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
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 [thread overview]
Message-ID: <CAKmqyKPE5R4_kCgVtjShR=WzoMLQWp2DqOHSWOtmAOz2+YOe5g@mail.gmail.com> (raw)
In-Reply-To: <BYAPR15MB268082AF727B0C775A4BA7E1C34D2@BYAPR15MB2680.namprd15.prod.outlook.com>
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 parent reply other threads:[~2024-03-22 5:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-15 20:49 support for having both 32 and 64 bit RISC-V CPUs in one QEMU machine Igor Lesik
2024-03-22 5:23 ` Alistair Francis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKmqyKPE5R4_kCgVtjShR=WzoMLQWp2DqOHSWOtmAOz2+YOe5g@mail.gmail.com' \
--to=alistair23@gmail.com \
--cc=lesikigor@meta.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).