[RFC PATCH v2 15/15] misc/arm-cla: Add vfio-mdev user interface
Linus Walleij
linusw at kernel.org
Wed Nov 25 04:50:46 PST 2026
Hi Ryan,
a quick question here:
On Tue, Oct 20, 2026 at 12:42 PM Ryan Roberts <ryan.roberts at arm.com> wrote:
> - Split the existing CLA driver into three components:
> - cla-core: Hardware discovery, domain configuration, struct device
> registration and CPU hotplug
> - cla-native driver: Provides the user space accelerator interfaces
> - cla-vfio driver: Enables domains to be assigned to virtual machines
This design implicitly rules out any in-kernel users. Make this
explicit (in cover-letter or similar).
This could be a problem because historically where there is computation
there is a datapath and now this is constrained to userspace, or even userspace
inside a virtual machine.
Sooner or later someone is going to come with a use case where that
datapath is very intense and say something along the line, "what
about I just pass you an in-kernel dmabuf and you do you computation
on that and pass it on to the next stage" such as data captured from
network cards, high speed serial links, sensor arrays, cameras, etc etc.
This is already done for drivers under drivers/accel, they import and
export dmabufs.
So we need a coherent story here.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list