<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in rust</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>7b948a2a - rust: pci: fix unrestricted &amp;mut pci::Device</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/rust/#7b948a2a</link>
        <description>rust: pci: fix unrestricted &amp;mut pci::DeviceAs by now, pci::Device is implemented as:	#[derive(Clone)]	pub struct Device(ARef&lt;device::Device&gt;);This may be convenient, but has the implication that drivers can calldevice methods that require a mutable reference concurrently at anypoint of time.Instead define pci::Device as	pub struct Device&lt;Ctx: DeviceContext = Normal&gt;(		Opaque&lt;bindings::pci_dev&gt;,		PhantomData&lt;Ctx&gt;,	);and manually implement the AlwaysRefCounted trait.With this we can implement methods that should only be called frombus callbacks (such as probe()) for pci::Device&lt;Core&gt;. Consequently, wemake this type accessible in bus callbacks only.Arbitrary references taken by the driver are still of typeARef&lt;pci::Device&gt; and hence don&apos;t provide access to methods that arereserved for bus callbacks.Fixes: 1bd8b6b2c5d3 (&quot;rust: pci: add basic PCI device / driver abstractions&quot;)Reviewed-by: Benno Lossin &lt;benno.lossin@proton.me&gt;Signed-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;Acked-by: Boqun Feng &lt;boqun.feng@gmail.com&gt;Link: https://lore.kernel.org/r/20250314160932.100165-4-dakr@kernel.orgSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/samples/rust/rust_driver_pci.rs</description>
        <pubDate>Fri, 14 Mar 2025 16:00:00 +0000</pubDate>
        <dc:creator>Danilo Krummrich &lt;dakr@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>9901adda - samples: rust: add Rust dma test sample driver</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/rust/#9901adda</link>
        <description>samples: rust: add Rust dma test sample driverAdd a simple driver to exercise the basics of the Rust DMAcoherent allocator bindings.Suggested-by: Danilo Krummrich &lt;dakr@kernel.org&gt;Signed-off-by: Abdiel Janulgue &lt;abdiel.janulgue@gmail.com&gt;Acked-by: Danilo Krummrich &lt;dakr@kernel.org&gt;Link: https://lore.kernel.org/r/20250317185345.2608976-4-abdiel.janulgue@gmail.com[ Renamed Kconfig symbol and moved it up. Migrated to the new  `authors` key in `module!`. Fixed module name in description  and typo in commit message. - Miguel ]Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;

            List of files:
            /linux-6.15/samples/rust/Kconfig/linux-6.15/samples/rust/Makefile</description>
        <pubDate>Mon, 17 Mar 2025 18:00:00 +0000</pubDate>
        <dc:creator>Abdiel Janulgue &lt;abdiel.janulgue@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
