Acquiring MSI vector physical address from kernel driver

Manoj Nayak manojnayak2005 at gmail.com
Tue Mar 29 06:42:15 EDT 2016


In the following code, msi lower address, higher address and data
is written to msi_desc corresponding to a msi vector.

http://lxr.free-electrons.com/source/drivers/pci/msi.c#L311

We can get the msi message from irq using irq_get_msi_desc().

http://lxr.free-electrons.com/source/drivers/pci/msi.c#L349

struct msi_desc *entry = irq_get_msi_desc(irq);

Regards
Manoj Nayak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160329/2d9bfba1/attachment.html 


More information about the Kernelnewbies mailing list