Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH 0/3] riscv: Improved bare metal support
@ 2024-12-10  4:44 Samuel Holland
  2024-12-10  4:44 ` [kvm-unit-tests PATCH 1/3] riscv: Add Image header to flat binaries Samuel Holland
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Samuel Holland @ 2024-12-10  4:44 UTC (permalink / raw)
  To: kvm; +Cc: Samuel Holland

Here are a few patches which are just enough to run the SBI unit tests
in a bare metal environment, under U-Boot on boards with a UART needing
32-bit MMIO (which is a rather common configuration in my experience).
Though I wonder if we should prefer the SBI debug console extension for
puts() output when available.

Samuel Holland (3):
  riscv: Add Image header to flat binaries
  riscv: Rate limit UART output to avoid FIFO overflows
  riscv: Support UARTs with different I/O widths

 lib/riscv/io.c | 47 +++++++++++++++++++++++++++++++++++++++++++++--
 riscv/cstart.S | 16 +++++++++++++++-
 2 files changed, 60 insertions(+), 3 deletions(-)

-- 
2.39.3 (Apple Git-146)


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

end of thread, other threads:[~2025-03-22 10:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-10  4:44 [kvm-unit-tests PATCH 0/3] riscv: Improved bare metal support Samuel Holland
2024-12-10  4:44 ` [kvm-unit-tests PATCH 1/3] riscv: Add Image header to flat binaries Samuel Holland
2024-12-18 10:13   ` Andrew Jones
2024-12-18 23:06     ` Samuel Holland
2024-12-19  8:27       ` Andrew Jones
2025-03-22  9:18       ` Andrew Jones
2024-12-10  4:44 ` [kvm-unit-tests PATCH 2/3] riscv: Rate limit UART output to avoid FIFO overflows Samuel Holland
2024-12-10  4:44 ` [kvm-unit-tests PATCH 3/3] riscv: Support UARTs with different I/O widths Samuel Holland
2025-03-22 10:16   ` Andrew Jones
2024-12-18 10:06 ` [kvm-unit-tests PATCH 0/3] riscv: Improved bare metal support Andrew Jones
2025-03-22  9:16 ` [kvm-unit-tests PATCH 4/3] riscv: Support using SBI DBCN for the console Andrew Jones
2025-03-22  9:19 ` [kvm-unit-tests PATCH 0/3] riscv: Improved bare metal support Andrew Jones
2025-03-22 10:45 ` Andrew Jones

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