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.