Re: [Linuxarm] Re: [RFC PATCH 2/3] vfio/hisilicon: register the driver to vfio
From: Jason Gunthorpe
Date: Thu May 13 2021 - 14:24:20 EST
On Thu, May 13, 2021 at 05:52:56PM +0000, Shameerali Kolothum Thodi wrote:
> Since the devices we are concerned here are all integrated endpoints and if the
> above quirk is an acceptable one, then we can use the uAPI as done in this
> series without overly complicating things here.
IMHO such a quirk in the core code should not be done. You need to
override this in your own driver like Max was showing.
I think we are very close to having worked out a great solution to the
lingering questions on Max's last RFC, hopefully we can post an
updated version soon
Jason