Linux on Apple ARM platform development
 help / color / mirror / Atom feed
* Re: [PATCH v3 00/16] Device / Driver PCI / Platform Rust abstractions
       [not found] <20241022213221.2383-1-dakr@kernel.org>
@ 2024-11-16 14:32 ` Janne Grunau
  2024-11-16 14:50   ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Janne Grunau @ 2024-11-16 14:32 UTC (permalink / raw)
  To: Danilo Krummrich
  Cc: gregkh, rafael, bhelgaas, ojeda, alex.gaynor, boqun.feng, gary,
	bjorn3_gh, benno.lossin, tmgross, a.hindborg, aliceryhl, airlied,
	fujita.tomonori, lina, pstanner, ajanulgu, lyude, robh,
	daniel.almeida, saravanak, rust-for-linux, linux-kernel,
	linux-pci, devicetree, asahi

On Tue, Oct 22, 2024 at 11:31:37PM +0200, Danilo Krummrich wrote:
> This patch series implements the necessary Rust abstractions to implement
> device drivers in Rust.
> 
> This includes some basic generalizations for driver registration, handling of ID
> tables, MMIO operations and device resource handling.
> 
> Those generalizations are used to implement device driver support for two
> busses, the PCI and platfrom bus (with OF IDs) in order to provide some evidence
> that the generalizations work as intended.
> 
> The patch series also includes two patches adding two driver samples, one PCI
> driver and one platform driver.
> 
> The PCI bits are motivated by the Nova driver project [1], but are used by at
> least one more OOT driver (rnvme [2]).
> 
> The platform bits, besides adding some more evidence to the base abstractions,
> are required by a few more OOT drivers aiming at going upstream, i.e. rvkms [3],
> cpufreq-dt [4], asahi [5] and the i2c work from Fabien [6].

A rebase of the asahi driver onto this series still probes the platform
device and the driver works as expected.

Feel free to add
Tested-by: Janne Grunau <j@jannau>

We plan to import this series for the Asahi Linux downstream kernel
starting with v6.12 and replace the old rust-for-linux Device/Driver
abstractions with this.

Janne

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v3 00/16] Device / Driver PCI / Platform Rust abstractions
  2024-11-16 14:32 ` [PATCH v3 00/16] Device / Driver PCI / Platform Rust abstractions Janne Grunau
@ 2024-11-16 14:50   ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-11-16 14:50 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Danilo Krummrich, rafael, bhelgaas, ojeda, alex.gaynor,
	boqun.feng, gary, bjorn3_gh, benno.lossin, tmgross, a.hindborg,
	aliceryhl, airlied, fujita.tomonori, lina, pstanner, ajanulgu,
	lyude, robh, daniel.almeida, saravanak, rust-for-linux,
	linux-kernel, linux-pci, devicetree, asahi

On Sat, Nov 16, 2024 at 03:32:40PM +0100, Janne Grunau wrote:
> On Tue, Oct 22, 2024 at 11:31:37PM +0200, Danilo Krummrich wrote:
> > This patch series implements the necessary Rust abstractions to implement
> > device drivers in Rust.
> > 
> > This includes some basic generalizations for driver registration, handling of ID
> > tables, MMIO operations and device resource handling.
> > 
> > Those generalizations are used to implement device driver support for two
> > busses, the PCI and platfrom bus (with OF IDs) in order to provide some evidence
> > that the generalizations work as intended.
> > 
> > The patch series also includes two patches adding two driver samples, one PCI
> > driver and one platform driver.
> > 
> > The PCI bits are motivated by the Nova driver project [1], but are used by at
> > least one more OOT driver (rnvme [2]).
> > 
> > The platform bits, besides adding some more evidence to the base abstractions,
> > are required by a few more OOT drivers aiming at going upstream, i.e. rvkms [3],
> > cpufreq-dt [4], asahi [5] and the i2c work from Fabien [6].
> 
> A rebase of the asahi driver onto this series still probes the platform
> device and the driver works as expected.
> 
> Feel free to add
> Tested-by: Janne Grunau <j@jannau>
> 
> We plan to import this series for the Asahi Linux downstream kernel
> starting with v6.12 and replace the old rust-for-linux Device/Driver
> abstractions with this.

Great!  I'll wait for the next respin of this as it seems there's been a
lot of review already, and I've taken some of the patches already, so
odds are after 6.13-rc1 is out the series can get a lot smaller.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-16 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20241022213221.2383-1-dakr@kernel.org>
2024-11-16 14:32 ` [PATCH v3 00/16] Device / Driver PCI / Platform Rust abstractions Janne Grunau
2024-11-16 14:50   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox