From: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Stefan Hajnoczi" <stefanha@redhat.com>,
"Mads Ynddal" <mads@ynddal.dk>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Zhao Liu" <zhao1.liu@intel.com>,
"Gustavo Romero" <gustavo.romero@linaro.org>,
"Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
rowan.hart@intel.com,
"Richard Henderson" <richard.henderson@linaro.org>
Subject: [RFC PATCH v6 0/5] rust-pl011-rfc-v6
Date: Mon, 5 Aug 2024 00:04:11 +0300 [thread overview]
Message-ID: <rust-pl011-rfc-v6.git.manos.pitsidianakis@linaro.org> (raw)
Changes
=======
- Setting MSRV to 1.77.0:
* cstr crate MSRV is 1.64, which is more recent than Debian bookworm
(1.63.0) <https://github.com/upsuper/cstr/blob/master/Cargo.toml>
* pl011's dependencies (mostly proc-macro2) don't support 1.63.0
- Dropped CI/lcitool patches.
- Dropped vendored dependencies in favor of meson subprojects.
- Added a qom ObjectImpl trait and declaration macros
- Added # SAFETY comments.
- Changed configure flag to --{enable,disable}-rust
Manos Pitsidianakis (5):
build-sys: Add rust feature option
rust: add bindgen step as a meson dependency
.gitattributes: add Rust diff and merge attributes
rust: add crate to expose bindings and interfaces
rust: add PL011 device model
MAINTAINERS | 20 +
configure | 2 +
meson.build | 77 ++-
rust/wrapper.h | 39 ++
.gitattributes | 3 +
Kconfig | 1 +
Kconfig.host | 3 +
hw/arm/Kconfig | 33 +-
meson_options.txt | 3 +
rust/.gitignore | 3 +
rust/Kconfig | 1 +
rust/hw/Kconfig | 2 +
rust/hw/char/Kconfig | 3 +
rust/hw/char/meson.build | 1 +
rust/hw/char/pl011/.gitignore | 2 +
rust/hw/char/pl011/Cargo.lock | 125 ++++
rust/hw/char/pl011/Cargo.toml | 26 +
rust/hw/char/pl011/README.md | 31 +
rust/hw/char/pl011/meson.build | 28 +
rust/hw/char/pl011/rustfmt.toml | 1 +
rust/hw/char/pl011/src/definitions.rs | 26 +
rust/hw/char/pl011/src/device.rs | 586 ++++++++++++++++++
rust/hw/char/pl011/src/device_class.rs | 58 ++
rust/hw/char/pl011/src/lib.rs | 584 +++++++++++++++++
rust/hw/char/pl011/src/memory_ops.rs | 56 ++
rust/hw/meson.build | 1 +
rust/meson.build | 15 +
rust/qemu-api/.gitignore | 2 +
rust/qemu-api/Cargo.lock | 7 +
rust/qemu-api/Cargo.toml | 23 +
rust/qemu-api/README.md | 17 +
rust/qemu-api/build.rs | 13 +
rust/qemu-api/meson.build | 19 +
rust/qemu-api/rustfmt.toml | 1 +
rust/qemu-api/src/bindings.rs | 7 +
rust/qemu-api/src/definitions.rs | 108 ++++
rust/qemu-api/src/device_class.rs | 128 ++++
rust/qemu-api/src/lib.rs | 100 +++
rust/qemu-api/src/tests.rs | 48 ++
rust/rustfmt.toml | 7 +
scripts/meson-buildoptions.sh | 3 +
scripts/rustc_args.py | 84 +++
subprojects/.gitignore | 11 +
subprojects/arbitrary-int.wrap | 9 +
subprojects/bilge-impl.wrap | 10 +
subprojects/bilge.wrap | 10 +
subprojects/either.wrap | 10 +
subprojects/itertools.wrap | 10 +
.../packagefiles/arbitrary-int/meson.build | 19 +
.../packagefiles/bilge-impl/meson.build | 36 ++
subprojects/packagefiles/bilge/meson.build | 25 +
subprojects/packagefiles/either/meson.build | 21 +
.../packagefiles/itertools/meson.build | 25 +
.../proc-macro-error-attr/meson.build | 27 +
.../packagefiles/proc-macro-error/meson.build | 32 +
.../packagefiles/proc-macro2/meson.build | 26 +
subprojects/packagefiles/quote/meson.build | 25 +
subprojects/packagefiles/syn/meson.build | 33 +
.../packagefiles/unicode-ident/meson.build | 19 +
subprojects/proc-macro-error-attr.wrap | 10 +
subprojects/proc-macro-error.wrap | 11 +
subprojects/proc-macro2.wrap | 10 +
subprojects/quote.wrap | 10 +
subprojects/syn.wrap | 11 +
subprojects/unicode-ident.wrap | 10 +
65 files changed, 2695 insertions(+), 12 deletions(-)
create mode 100644 rust/wrapper.h
create mode 100644 rust/.gitignore
create mode 100644 rust/Kconfig
create mode 100644 rust/hw/Kconfig
create mode 100644 rust/hw/char/Kconfig
create mode 100644 rust/hw/char/meson.build
create mode 100644 rust/hw/char/pl011/.gitignore
create mode 100644 rust/hw/char/pl011/Cargo.lock
create mode 100644 rust/hw/char/pl011/Cargo.toml
create mode 100644 rust/hw/char/pl011/README.md
create mode 100644 rust/hw/char/pl011/meson.build
create mode 120000 rust/hw/char/pl011/rustfmt.toml
create mode 100644 rust/hw/char/pl011/src/definitions.rs
create mode 100644 rust/hw/char/pl011/src/device.rs
create mode 100644 rust/hw/char/pl011/src/device_class.rs
create mode 100644 rust/hw/char/pl011/src/lib.rs
create mode 100644 rust/hw/char/pl011/src/memory_ops.rs
create mode 100644 rust/hw/meson.build
create mode 100644 rust/meson.build
create mode 100644 rust/qemu-api/.gitignore
create mode 100644 rust/qemu-api/Cargo.lock
create mode 100644 rust/qemu-api/Cargo.toml
create mode 100644 rust/qemu-api/README.md
create mode 100644 rust/qemu-api/build.rs
create mode 100644 rust/qemu-api/meson.build
create mode 120000 rust/qemu-api/rustfmt.toml
create mode 100644 rust/qemu-api/src/bindings.rs
create mode 100644 rust/qemu-api/src/definitions.rs
create mode 100644 rust/qemu-api/src/device_class.rs
create mode 100644 rust/qemu-api/src/lib.rs
create mode 100644 rust/qemu-api/src/tests.rs
create mode 100644 rust/rustfmt.toml
create mode 100644 scripts/rustc_args.py
create mode 100644 subprojects/arbitrary-int.wrap
create mode 100644 subprojects/bilge-impl.wrap
create mode 100644 subprojects/bilge.wrap
create mode 100644 subprojects/either.wrap
create mode 100644 subprojects/itertools.wrap
create mode 100644 subprojects/packagefiles/arbitrary-int/meson.build
create mode 100644 subprojects/packagefiles/bilge-impl/meson.build
create mode 100644 subprojects/packagefiles/bilge/meson.build
create mode 100644 subprojects/packagefiles/either/meson.build
create mode 100644 subprojects/packagefiles/itertools/meson.build
create mode 100644 subprojects/packagefiles/proc-macro-error-attr/meson.build
create mode 100644 subprojects/packagefiles/proc-macro-error/meson.build
create mode 100644 subprojects/packagefiles/proc-macro2/meson.build
create mode 100644 subprojects/packagefiles/quote/meson.build
create mode 100644 subprojects/packagefiles/syn/meson.build
create mode 100644 subprojects/packagefiles/unicode-ident/meson.build
create mode 100644 subprojects/proc-macro-error-attr.wrap
create mode 100644 subprojects/proc-macro-error.wrap
create mode 100644 subprojects/proc-macro2.wrap
create mode 100644 subprojects/quote.wrap
create mode 100644 subprojects/syn.wrap
create mode 100644 subprojects/unicode-ident.wrap
base-commit: f9851d2ffef59b3a7f39513469263ab3b019480f
--
γαῖα πυρί μιχθήτω
next reply other threads:[~2024-08-04 21:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-04 21:04 Manos Pitsidianakis [this message]
2024-08-04 21:04 ` [RFC PATCH v6 1/5] build-sys: Add rust feature option Manos Pitsidianakis
2024-08-08 8:09 ` Paolo Bonzini
2024-08-04 21:04 ` [RFC PATCH v6 2/5] rust: add bindgen step as a meson dependency Manos Pitsidianakis
2024-08-04 21:04 ` [RFC PATCH v6 3/5] .gitattributes: add Rust diff and merge attributes Manos Pitsidianakis
2024-08-04 21:04 ` [RFC PATCH v6 4/5] rust: add crate to expose bindings and interfaces Manos Pitsidianakis
2024-08-08 8:13 ` Paolo Bonzini
2024-08-04 21:04 ` [RFC PATCH v6 5/5] rust: add PL011 device model Manos Pitsidianakis
2024-08-08 8:31 ` Paolo Bonzini
2024-08-12 8:50 ` Junjie Mao
2024-08-12 9:29 ` Paolo Bonzini
2024-08-08 6:10 ` [RFC PATCH v6 0/5] rust-pl011-rfc-v6 Paolo Bonzini
2024-08-08 7:49 ` Manos Pitsidianakis
2024-08-08 10:09 ` Paolo Bonzini
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=rust-pl011-rfc-v6.git.manos.pitsidianakis@linaro.org \
--to=manos.pitsidianakis@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=gustavo.romero@linaro.org \
--cc=mads@ynddal.dk \
--cc=marcandre.lureau@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=rowan.hart@intel.com \
--cc=stefanha@redhat.com \
--cc=thuth@redhat.com \
--cc=zhao1.liu@intel.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;
as well as URLs for NNTP newsgroup(s).