[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72mHVbnmA_G1Fx3rz06RXA+=K5ERoWKjH-UDJ9cKxvKQ1g@mail.gmail.com>
Date: Thu, 27 Feb 2025 17:46:35 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Alice Ryhl <aliceryhl@...gle.com>
Cc: Greg KH <gregkh@...uxfoundation.org>, Alistair Francis <alistair@...stair23.me>,
linux-cxl@...r.kernel.org, linux-kernel@...r.kernel.org, lukas@...ner.de,
linux-pci@...r.kernel.org, bhelgaas@...gle.com, Jonathan.Cameron@...wei.com,
rust-for-linux@...r.kernel.org, akpm@...ux-foundation.org,
boqun.feng@...il.com, bjorn3_gh@...tonmail.com, wilfred.mallawa@....com,
ojeda@...nel.org, alistair23@...il.com, a.hindborg@...nel.org,
tmgross@...ch.edu, gary@...yguo.net, alex.gaynor@...il.com,
benno.lossin@...ton.me, Alistair Francis <alistair.francis@....com>
Subject: Re: [RFC v2 09/20] PCI/CMA: Expose in sysfs whether devices are authenticated
On Thu, Feb 27, 2025 at 1:11 PM Alice Ryhl <aliceryhl@...gle.com> wrote:
>
> I don't think there is tooling for it today. We need the opposite of
> bindgen, which does exist in a tool called cbindgen. Unfortunately,
> cbindgen is written to only work in cargo-based build systems, so we
> cannot use it.
It doesn't require Cargo, e.g. see my reply to Daniel:
https://rust-for-linux.zulipchat.com/#narrow/channel/288089-General/topic/What.20is.20the.20status.20on.20C.20APIs.20for.20Rust.20kernel.20code.3F/near/420712657
Even if it did require something extra for complex usage or similar,
we could ask the maintainers or I could perhaps come up with something
to generate whatever inputs they need.
Cheers,
Miguel
Powered by blists - more mailing lists