From: ~lexbaileylowrisc <lexbaileylowrisc@git.sr.ht>
To: qemu-devel@nongnu.org
Cc: "Lex Bailey" <lex.bailey@lowrisc.org>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Alistair Francis" <Alistair.Francis@wdc.com>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Weiwei Li" <liwei1518@gmail.com>,
"Daniel Henrique Barboza" <dbarboza@ventanamicro.com>,
"Liu Zhiwei" <zhiwei_liu@linux.alibaba.com>,
qemu-riscv@nongnu.org, qemu-maintainers@lowrisc.org
Subject: [PATCH qemu 0/1] Update opentitan uart (part of supporting opentitan version 1)
Date: Thu, 19 Mar 2026 14:48:47 +0000 [thread overview]
Message-ID: <177393172713.10003.9577410064303581086-0@git.sr.ht> (raw)
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
next reply other threads:[~2026-03-19 14:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-19 14:48 ~lexbaileylowrisc [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177393172713.10003.9577410064303581086-0@git.sr.ht \
--to=lexbaileylowrisc@git.sr.ht \
--cc=Alistair.Francis@wdc.com \
--cc=dbarboza@ventanamicro.com \
--cc=lex.bailey@lowrisc.org \
--cc=liwei1518@gmail.com \
--cc=marcandre.lureau@redhat.com \
--cc=palmer@dabbelt.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-maintainers@lowrisc.org \
--cc=qemu-riscv@nongnu.org \
--cc=zhiwei_liu@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox