public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
* [PATCH qemu 0/1] Update opentitan uart (part of supporting opentitan version 1)
@ 2026-03-19 14:48 ~lexbaileylowrisc
  2026-03-13 12:23 ` [PATCH qemu 1/1] Replace opentitan UART device with newer version (opentitan 1.0) ~lexbaileylowrisc
  2026-03-26  2:47 ` [PATCH qemu 0/1] Update opentitan uart (part of supporting opentitan version 1) Alistair Francis
  0 siblings, 2 replies; 4+ messages in thread
From: ~lexbaileylowrisc @ 2026-03-19 14:48 UTC (permalink / raw)
  To: qemu-devel
  Cc: Lex Bailey, Marc-André Lureau, Paolo Bonzini,
	Alistair Francis, Palmer Dabbelt, Weiwei Li,
	Daniel Henrique Barboza, Liu Zhiwei, qemu-riscv, qemu-maintainers


This commit is part of our efforts to get support for opentitan version
1 in qemu, it replaces the previous proposed change, and incorporates
some requests from review comments.

The changes are now being made in the existing opentitan machine,
instead of in a new machine. We have also avoided adding any new helper
units.

This updates the UART device to match our branch, and to match version 1
of opentitan.
This is not where we were going to start previously, but now this is the
easiest starting point.

This commit adds a file that is a substantial copy of code already
published under the MIT licence, and we aren't able to relicence it as
GPL. (unable to get unanimous author agreement)

Lex Bailey (1):
  Replace opentitan UART device with newer version (opentitan 1.0)

 hw/char/ibex_uart.c          | 569 -------------------------------
 hw/char/meson.build          |   2 +-
 hw/char/ot_uart.c            | 635 +++++++++++++++++++++++++++++++++++
 hw/char/trace-events         |   8 +
 hw/riscv/opentitan.c         |   3 +-
 include/hw/char/ibex_uart.h  |  73 ----
 include/hw/char/ot_uart.h    | 133 ++++++++
 include/hw/riscv/opentitan.h |   4 +-
 8 files changed, 781 insertions(+), 646 deletions(-)
 delete mode 100644 hw/char/ibex_uart.c
 create mode 100644 hw/char/ot_uart.c
 delete mode 100644 include/hw/char/ibex_uart.h
 create mode 100644 include/hw/char/ot_uart.h

-- 
2.49.1


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-19 14:48 [PATCH qemu 0/1] Update opentitan uart (part of supporting opentitan version 1) ~lexbaileylowrisc
2026-03-13 12:23 ` [PATCH qemu 1/1] Replace opentitan UART device with newer version (opentitan 1.0) ~lexbaileylowrisc
2026-03-26  2:39   ` Alistair Francis
2026-03-26  2:47 ` [PATCH qemu 0/1] Update opentitan uart (part of supporting opentitan version 1) Alistair Francis

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