~/talk

The Big-endian RISC-V Linux Adventure

Talkat Open Source Summit North America 2025 · 2025-06-23..06-25· [open-source]
name:Ben Dooks
links:none on file
slides:none on file

Prototype implements RISC-V runtime data endianness via MSTATUS MBE bits (bit 37/36), modifies QEMU (about 120 LOC in target/riscv and translation), updates OpenSBI and the Linux tree (roughly 2,033 LOC mainly around probes, BPF JIT and instruction-modifying code), and adds a kvmtool option to run mixed-endian guests. Instruction stream remains little-endian; page tables follow S-mode. FPGA CVA6 port runs integer loads/stores but atomics still fail. ZBB byte-reverse gives up to ~5x speedup for 64-bit swaps.

AI-written summary · about

  1. 0:00Big-endian RISC-V project intro
  2. 2:12Endianness significance
  3. 6:13Planning RISC-V big-endian
  4. 8:49QEMU big-endian RISC-V
  5. 12:45Software stack for big-endian RISC-V
  6. 15:39OpenSBI and kernel big-endian
  7. 19:31Networking and peripheral endianness
  8. 20:35Debugging kernel instructions
  9. 24:52Booting big-endian Linux
  10. 26:17Debugging unaligned memory
  11. 29:10Future work for big-endian RISC-V
  12. 31:15Testing on CVA6 and MIPS
  13. 34:45Upstreaming challenges
  14. 37:15Project resources
  15. 39:32Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.