Hi Djordje,

On 27/2/26 15:24, Djordje Todorovic wrote:
On 2/27/26 13:56, Conor Dooley wrote:
On Fri, Feb 27, 2026 at 12:42:21PM +0000, Djordje Todorovic wrote:
On 2/27/26 01:56, Alistair Francis wrote:
CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


On Fri, Feb 27, 2026 at 9:47 AM Conor Dooley<[email protected]> wrote:
On Fri, Feb 27, 2026 at 09:30:00AM +1000, Alistair Francis wrote:
On Wed, Feb 25, 2026 at 9:39 PM Mohamed Mediouni
<[email protected]> wrote:
On 25. Feb 2026, at 11:20, Djordje Todorovic<[email protected]> 
wrote:

This series adds big-endian (BE) RISC-V target support to QEMU,
covering both softmmu and linux-user emulation for riscv32be and
riscv64be.
Hello,

There’s no Linux RISC-V big endian. Maybe the right thing to do is to not
support it unless we’re sure that it can get to Linux upstream (for the 
linux-user mode)?
Agreed. We really need upstream Linux support before user mode
On that front, Ben posted patches for it and Linus was really really not
enthused when he became aware of it:
https://lore.kernel.org/linux-riscv/[email protected]
Even without Linus' take, I feel like there's absolutely no chance of
upstream support without meaningful shipping hardware that requires
big endian support, because basically everyone else was also opposed to
adding it...
Yeah... I saw that.

A few thoughts, just because Linus doesn't like it doesn't mean QEMU
can't support it. But I am hesitant to support BE considering the lack
of ecosystem support everywhere else.
Please be aware that MIPS will ship hardware based on riscv BE

soon:https://mips.com/products/hardware/i8500/
Not the meaning of "hardware" I was using, as this appears to be a core
complex IP rather than physical hardware? Do you know of any devices,
outside of a MIPS test chip or w/e, that are going to use this IP?

On the linux support front, the devils advocate take would be that
people should just run this core in LE mode, but that's a bridge to be
crossed when someone produces an SoC using that core complex and on
another mailing list!

Yes, you are right, the i8500 is an IP. And I can share for now that
QEMU and FPGA

board with the i8500 bitfile are the targets for testing of RISC-V BE
software.

Just to clarify, as explained by Thomas elsewhere in this thread, we
are not opposed to have QEMU runs big-endian RISCV cores, and indeed
what guest runs shouldn't be a blocker (Linux support is convenient
for testing, but as long as you provide any other guest firmware code
we can run, we are happy). What we do not want is to add a new binary.
Endianness is a runtime variant. If implemented correctly, the current
binaries should be able to have the HARTs running any endianness. See
the recent changes in qemu-system-microblaze for example. Other targets
are going to get their endianness unified (but it will take time).

Regards,

Phil.

Reply via email to