Re: [PATCH v4 0/5] Rust io_uring command abstraction for miscdevice

From: Greg Kroah-Hartman

Date: Tue Apr 14 2026 - 12:21:35 EST


On Wed, Apr 15, 2026 at 12:36:05AM +0900, Sidong Yang wrote:
> > Yes, it must use the accel subsystem as that is the correct api for it.
>
> Thanks for the clarification.
>
> I will proceed with this uring_cmd Rust abstraction patch as is. Moving
> forward with our AI accelerator driver, I will look into implementing it
> using the accel subsystem and work on creating the necessary Rust
> abstractions for it.

Great.

> Since I am planning to adopt the accel subsystem, could you share some
> insights on the main benefits it provides for AI accelerators, or point me
> to any future roadmap/plans for the subsystem? This would be very helpful
> for my design and implementation.

It is the common api for all accelerator drivers that you must use if
you wish to have a Linux driver for this type of hardware. There should
be documentation in the kernel subsystem to read, and of course, there
are existing drivers using the api already. If you have specific
questions about the api, please ask on that mailing list.

thanks,

greg k-h