[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aEC73CHD0fvByrJs@cassiopeiae>
Date: Wed, 4 Jun 2025 23:34:20 +0200
From: Danilo Krummrich <dakr@...nel.org>
To: Igor Korotin <igor.korotin.linux@...il.com>
Cc: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Rob Herring <robh@...nel.org>,
Saravana Kannan <saravanak@...gle.com>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org, devicetree@...r.kernel.org,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Len Brown <lenb@...nel.org>, Viresh Kumar <viresh.kumar@...aro.org>,
Wedson Almeida Filho <wedsonaf@...il.com>,
Alex Hung <alex.hung@....com>, Tamir Duberstein <tamird@...il.com>,
FUJITA Tomonori <fujita.tomonori@...il.com>,
Xiangfei Ding <dingxiangfei2009@...il.com>
Subject: Re: [PATCH v1 0/5] rust: Add ACPI match table support for Rust
drivers
On Wed, Jun 04, 2025 at 01:29:39PM +0100, Igor Korotin wrote:
> This patch series introduces support for ACPI match tables in Rust
> drivers.
>
> Currently, Rust abstractions support only Open Firmware (OF) device
> matching. This series extends the driver model to support ACPI-based
> matching, enabling Rust drivers to bind to ACPI-described devices.
>
> Changes include:
> - A new `acpi::DeviceId` abstraction for working with
> `struct acpi_device_id`.
> - A helper function `is_of_node()` for determining fwnode types.
> - Updates to the core `Adapter` trait and `platform::Driver` to support
> optional ACPI ID tables.
> - A sample implementation in the Rust platform driver, demonstrating
> multi-bus matching.
>
> This is especially useful for writing drivers that work across platforms
> using both OF and ACPI.
>
> Tested using QEMU with a custom SSDT that creates an ACPI device matching
> the sample Rust platform driver.
Thanks this is great!
Unfortunately, it seems that something went wrong sending this patch series.
Patches 3 and 5 are missing on my end (and on the corresponding lists as well).
Can you please resend?
Also, technically this series is a v2; patch 1 differs from the one you sent
originally -- please include a changelog.
Powered by blists - more mailing lists