All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/7] Add RISC-V big-endian target support
@ 2026-05-11  8:38 Djordje Todorovic
  2026-05-11  8:38 ` [PATCH v9 2/7] target/riscv: Add big-endian CPU configuration field and reset logic Djordje Todorovic
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Djordje Todorovic @ 2026-05-11  8:38 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

Rebase on top of master.

Djordje Todorovic (7):
  target/riscv: Define MSTATUS_SBE and MSTATUS_MBE bit masks
  target/riscv: Add big-endian CPU configuration field and reset logic
  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: Expose big-endian CPU property and add documentation
  target/riscv: Add endianness test for RISC-V BE

 docs/system/target-riscv.rst                  | 24 ++++++
 hw/riscv/boot.c                               | 81 ++++++++++++++++---
 include/hw/riscv/boot.h                       |  1 +
 target/riscv/cpu.c                            | 11 +--
 target/riscv/cpu.h                            | 23 ++++++
 target/riscv/cpu_bits.h                       |  2 +
 target/riscv/cpu_cfg_fields.h.inc             |  1 +
 target/riscv/cpu_helper.c                     | 28 +++++--
 target/riscv/insn_trans/trans_rva.c.inc       |  4 +-
 target/riscv/insn_trans/trans_rvd.c.inc       |  4 +-
 target/riscv/insn_trans/trans_rvf.c.inc       |  4 +-
 target/riscv/insn_trans/trans_rvi.c.inc       |  8 +-
 target/riscv/insn_trans/trans_rvzacas.c.inc   |  4 +-
 target/riscv/insn_trans/trans_rvzalasr.c.inc  |  4 +-
 target/riscv/insn_trans/trans_rvzce.c.inc     |  4 +-
 target/riscv/insn_trans/trans_rvzfh.c.inc     |  4 +-
 target/riscv/insn_trans/trans_rvzicfiss.c.inc |  4 +-
 target/riscv/insn_trans/trans_xmips.c.inc     |  8 +-
 target/riscv/insn_trans/trans_xthead.c.inc    | 16 ++--
 target/riscv/insn_trans/trans_zilsd.c.inc     |  4 +-
 target/riscv/internals.h                      |  9 +--
 target/riscv/tcg/tcg-cpu.c                    |  3 +
 target/riscv/translate.c                      | 22 ++---
 tests/functional/riscv64/meson.build          |  1 +
 tests/functional/riscv64/test_endianness.py   | 57 +++++++++++++
 25 files changed, 251 insertions(+), 80 deletions(-)
 create mode 100644 tests/functional/riscv64/test_endianness.py

-- 
2.34.1

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

end of thread, other threads:[~2026-05-26 14:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11  8:38 [PATCH v9 0/7] Add RISC-V big-endian target support Djordje Todorovic
2026-05-11  8:38 ` [PATCH v9 2/7] target/riscv: Add big-endian CPU configuration field and reset logic Djordje Todorovic
2026-05-11  8:38 ` [PATCH v9 1/7] target/riscv: Define MSTATUS_SBE and MSTATUS_MBE bit masks Djordje Todorovic
2026-05-12  2:31   ` Chao Liu
2026-05-11  8:38 ` [PATCH v9 3/7] target/riscv: Implement runtime data endianness via MSTATUS bits Djordje Todorovic
2026-05-11  8:38 ` [PATCH v9 4/7] hw/riscv: Make boot code endianness-aware at runtime Djordje Todorovic
2026-05-11  8:38 ` [PATCH v9 5/7] target/riscv: Fix page table walk endianness for big-endian harts Djordje Todorovic
2026-05-11  8:38 ` [PATCH v9 6/7] target/riscv: Expose big-endian CPU property and add documentation Djordje Todorovic
2026-05-11  8:38 ` [PATCH v9 7/7] target/riscv: Add endianness test for RISC-V BE Djordje Todorovic
2026-05-20 14:08 ` [PATCH v9 0/7] Add RISC-V big-endian target support Djordje Todorovic
2026-05-20 17:19   ` Philippe Mathieu-Daudé
2026-05-26 14:50     ` Djordje Todorovic
2026-05-20 14:12 ` Michael S. Tsirkin
2026-05-20 17:47   ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.