Re: [PATCH v3 0/3] uio: add MSI/MSI-X support to uio_pci_generic driver
From: Vlad Zolotarov
Date: Tue Oct 06 2015 - 12:35:14 EST
On 10/06/15 18:13, Michael S. Tsirkin wrote:
On Tue, Oct 06, 2015 at 05:40:23PM +0300, Vlad Zolotarov wrote:
I'm guessing it doesn't enable MSI though, does it?
Again, enabling MSI is a matter of a trivial patch configuring device
registers on the device BAR.
No, not really.
Sure that is!
Look at pci_msi_set_enable(): it's a single read and then write, just
like the code for bus master enabling. The msi capability address may be
retrieved from lspci and then mapped for instance using sysfs.
Configuring the MSI table is a few more reads and writes too but at the
bottom line - it's a trivial code too...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/