Thread (46 messages) 46 messages, 11 authors, 2016-12-22

Re: [PATCH] drivers: advertise kmod dependencies in pmdinfo

From: Bruce Richardson <hidden>
Date: 2016-09-19 08:17:31

On Fri, Sep 16, 2016 at 04:26:35PM +0200, David Marchand wrote:
On Thu, Sep 15, 2016 at 4:22 PM, Olivier Matz [off-list ref] wrote:
quoted
Add a new macro DRIVER_REGISTER_KMOD_DEP() that allows a driver to
declare the list of kernel modules required to run properly.

Today, most PCI drivers require uio/vfio.

Signed-off-by: Olivier Matz <redacted>
Thanks Olivier, this looks good to me.

Btw, I remember some issues with binding ixgbevf devices to
uio_pci_generic, so advertising should be carefully checked for each
driver.
+1 here. In general, uio_pci_generic will not bind to VF devices as VF devices
don't provide legacy interrupts, which is required to use uio_pci_generic. It's
not limited to just ixgbevf

/Bruce
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help