Re: [RFC PATCH v2 15/15] misc/arm-cla: Add vfio-mdev user interface

From: Jason Gunthorpe

Date: Fri Oct 16 2026 - 10:49:33 EST


On Fri, Oct 16, 2026 at 03:22:00PM +0100, Jean-Philippe Brucker wrote:
> On Thu, 15 Oct 2026 at 17:41, Jason Gunthorpe <jgg@xxxxxxxxxx> wrote:
> > I think I said this last time, please don't use vfio mdev for
> > anything. There is nothing mediated about this.
>
> We don't multiplex a device between guests, but the host driver must
> control part of the device registers while the remainder is assigned to
> a guest. The host configures accelerator access, stage-2 translation,
> handles CPUHP and context save/restore. So we can't bind the device to
> vfio-platform.

That's fine, you can make a proper vfio-cla driver.

Jason