<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in fwctl.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>98f21c54f99519329c18e2625b0ea6db14524d09 - Merge tag &apos;for-linus-fwctl&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/fwctl/fwctl</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/kernel/fwctl.rs#98f21c54f99519329c18e2625b0ea6db14524d09</link>
        <description>Merge tag &apos;for-linus-fwctl&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/fwctl/fwctlPull fwctl updates from Jason Gunthorpe: - Support more commands in bnxt, this completes what they originally   wanted to do - Rust bindings for fwctl. The Nova GPU is expected to use them next   cycle* tag &apos;for-linus-fwctl&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/fwctl/fwctl:  rust: introduce abstractions for fwctl  fwctl/bnxt: Add DMA buffer support for HWRM commands  bnxt_en: Update bnxt firmware spec

            List of files:
            /linux/rust/kernel/fwctl.rs</description>
        <pubDate>Wed, 19 Aug 2026 21:51:36 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>e052daab94ee8c4081c91de3549772bd1c235729 - rust: introduce abstractions for fwctl</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/kernel/fwctl.rs#e052daab94ee8c4081c91de3549772bd1c235729</link>
        <description>rust: introduce abstractions for fwctlIntroduce safe Rust wrappers around struct fwctl_device and structfwctl_uctx. This lets Rust drivers register fwctl devices and implementfirmware RPC callbacks through a typed trait interface.The abstraction keeps lifetime and reference-count handling inside thewrapper, exposes pinned per-FD user contexts to drivers, and validates thelayout assumptions required by the C fwctl allocation model. Allocationsizes are padded so the kmalloc-backed C allocations also satisfy Rustalignment requirements.Registration owns driver private data with a lifetime tied to the boundparent device and verifies the parent identity before registration.Callbacks access that data through a higher-ranked closure, preventing itserased lifetime from escaping, while Device remains only the refcountedfwctl object. This avoids requiring Rust drop glue from the fwctl_devicerelease path after unregister or module teardown.RPC callbacks receive typed scope information, a mutable request/responsebuffer, and the userspace output-buffer size. Response pointer conversion,length validation, and raw output-length handling remain inside theabstraction.Add the Rust sources to the FWCTL MAINTAINERS entry and add myself as themaintainer for the Rust abstractions.Link: https://patch.msgid.link/r/20260813152312.1311142-2-zhiw@nvidia.comCo-developed-by: Danilo Krummrich &lt;dakr@kernel.org&gt;Signed-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;Signed-off-by: Zhi Wang &lt;zhiw@nvidia.com&gt;Reviewed-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;Signed-off-by: Jason Gunthorpe &lt;jgg@nvidia.com&gt;

            List of files:
            /linux/rust/kernel/fwctl.rs</description>
        <pubDate>Thu, 13 Aug 2026 17:23:12 +0200</pubDate>
        <dc:creator>Zhi Wang &lt;zhiw@nvidia.com&gt;</dc:creator>
    </item>
</channel>
</rss>
