public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
* [PATCH v4 0/7] Add RISC-V big-endian target support
@ 2026-03-20 15:05 Djordje Todorovic
  2026-03-20 15:05 ` [PATCH v4 2/7] target/riscv: Add big-endian CPU property Djordje Todorovic
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Djordje Todorovic @ 2026-03-20 15:05 UTC (permalink / raw)
  To: qemu-devel@nongnu.org
  Cc: qemu-riscv@nongnu.org, cfu@mips.com, mst@redhat.com,
	marcel.apfelbaum@gmail.com, dbarboza@ventanamicro.com,
	philmd@linaro.org, alistair23@gmail.com, thuth@redhat.com,
	Djordje Todorovic

- Addressed comments from v3
- Rebased on top of master
- Then rebased on top of patch set by Philippe
  "target/riscv: Forbid to use legacy native endianness API"

Djordje Todorovic (7):
  target/riscv: Define MSTATUS_SBE and MSTATUS_MBE bit masks
  target/riscv: Add big-endian CPU property
  target/riscv: Set endianness MSTATUS bits at CPU reset
  target/riscv: Implement runtime data endianness via MSTATUS bits
  hw/riscv: Make boot code endianness-aware at runtime
  target/riscv: Fix page table walk endianness for big-endian harts
  target/riscv: Support runtime endianness in virtio via sysemu callback

 hw/riscv/boot.c                   | 83 ++++++++++++++++++++++++++-----
 include/hw/riscv/boot.h           |  2 +
 target/riscv/cpu.c                | 22 ++++++--
 target/riscv/cpu.h                | 28 +++++++++++
 target/riscv/cpu_bits.h           |  2 +
 target/riscv/cpu_cfg_fields.h.inc |  1 +
 target/riscv/cpu_helper.c         | 28 ++++++++---
 target/riscv/internals.h          |  9 +---
 target/riscv/tcg/tcg-cpu.c        |  9 +++-
 target/riscv/translate.c          | 12 ++---
 10 files changed, 156 insertions(+), 40 deletions(-)

-- 
2.34.1

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-03-26  3:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 15:05 [PATCH v4 0/7] Add RISC-V big-endian target support Djordje Todorovic
2026-03-20 15:05 ` [PATCH v4 2/7] target/riscv: Add big-endian CPU property Djordje Todorovic
2026-03-20 15:05 ` [PATCH v4 1/7] target/riscv: Define MSTATUS_SBE and MSTATUS_MBE bit masks Djordje Todorovic
2026-03-20 15:05 ` [PATCH v4 3/7] target/riscv: Set endianness MSTATUS bits at CPU reset Djordje Todorovic
2026-03-20 15:06 ` [PATCH v4 4/7] target/riscv: Implement runtime data endianness via MSTATUS bits Djordje Todorovic
2026-03-26  3:22   ` Richard Henderson
2026-03-20 15:06 ` [PATCH v4 6/7] target/riscv: Fix page table walk endianness for big-endian harts Djordje Todorovic
2026-03-20 15:06 ` [PATCH v4 5/7] hw/riscv: Make boot code endianness-aware at runtime Djordje Todorovic
2026-03-20 15:06 ` [PATCH v4 7/7] target/riscv: Support runtime endianness in virtio via sysemu callback Djordje Todorovic
2026-03-26  3:23   ` Richard Henderson
2026-03-20 15:51 ` [PATCH v4 0/7] Add RISC-V big-endian target support Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox