msi-howto.rst (0898782247ae533d1f4e47a06bc5d4870931b284) | msi-howto.rst (7730c3be06e255082077594f60aae77f9914c5ad) |
---|---|
1.. SPDX-License-Identifier: GPL-2.0 2.. include:: <isonum.txt> 3 4========================== 5The MSI Driver Guide HOWTO 6========================== 7 8:Authors: Tom L Nguyen; Martine Silbermann; Matthew Wilcox --- 269 unchanged lines hidden (view full) --- 278have enabled CONFIG_PCI_MSI. 279 280Then, 'lspci -t' gives the list of bridges above a device. Reading 281`/sys/bus/pci/devices/*/msi_bus` will tell you whether MSIs are enabled (1) 282or disabled (0). If 0 is found in any of the msi_bus files belonging 283to bridges between the PCI root and the device, MSIs are disabled. 284 285It is also worth checking the device driver to see whether it supports MSIs. | 1.. SPDX-License-Identifier: GPL-2.0 2.. include:: <isonum.txt> 3 4========================== 5The MSI Driver Guide HOWTO 6========================== 7 8:Authors: Tom L Nguyen; Martine Silbermann; Matthew Wilcox --- 269 unchanged lines hidden (view full) --- 278have enabled CONFIG_PCI_MSI. 279 280Then, 'lspci -t' gives the list of bridges above a device. Reading 281`/sys/bus/pci/devices/*/msi_bus` will tell you whether MSIs are enabled (1) 282or disabled (0). If 0 is found in any of the msi_bus files belonging 283to bridges between the PCI root and the device, MSIs are disabled. 284 285It is also worth checking the device driver to see whether it supports MSIs. |
286For example, it may contain calls to pci_irq_alloc_vectors() with the | 286For example, it may contain calls to pci_alloc_irq_vectors() with the |
287PCI_IRQ_MSI or PCI_IRQ_MSIX flags. | 287PCI_IRQ_MSI or PCI_IRQ_MSIX flags. |