Re: [PATCH 09/11] PCI: add matching checks for driver_override binding

From: Max Gurtovoy
Date: Wed Jun 16 2021 - 19:51:22 EST



On 6/17/2021 2:44 AM, Jason Gunthorpe wrote:
On Thu, Jun 17, 2021 at 02:42:46AM +0300, Max Gurtovoy wrote:

Do you see a reason not adding this alias for stub drivers but
adding it to vfio_pci drivers ?
It creates uABI without a userspace user and that is strongly
discouraged. The 'stub_pci:' prefix becomes fixed ABI.
so is it better to have "pci:v*d*sv*sd*bc*sc*i*" for stub drivers ? or not adding alias at all if stub flag is set ?

Jason