search for: __write_msi_msi

Displaying 5 results from an estimated 5 matches for "__write_msi_msi".

Did you mean: __write_msi_msg
2014 Jul 04
2
How to check for proper MSI support?
...able- 64bit+ > Address: 0000000000000000 Data: 0000 > Because the address and data is invalid, so MSI can not work. > > Because you said pci_enable_msi() return 0 which indicates success, so I guess the device > current power state is not D0, because checking code in __write_msi_msi. > > void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg) > { > if (entry->dev->current_state != PCI_D0) { > /* Don't touch the hardware now */ > } else if (entry->msi_attrib.is_msix) { > void __iomem *base; > base =...
2014 Jul 04
0
How to check for proper MSI support?
...; Address: 0000000000000000 Data: 0000 >> Because the address and data is invalid, so MSI can not work. >> >> Because you said pci_enable_msi() return 0 which indicates success, so I guess the device >> current power state is not D0, because checking code in __write_msi_msi. >> >> void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg) >> { >> if (entry->dev->current_state != PCI_D0) { >> /* Don't touch the hardware now */ >> } else if (entry->msi_attrib.is_msix) { >> void __iomem...
2014 Jul 04
4
How to check for proper MSI support?
...Address: 0000000000000000 Data: 0000 >>> Because the address and data is invalid, so MSI can not work. >>> >>> Because you said pci_enable_msi() return 0 which indicates success, so I guess the device >>> current power state is not D0, because checking code in __write_msi_msi. >>> >>> void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg) >>> { >>> if (entry->dev->current_state != PCI_D0) { >>> /* Don't touch the hardware now */ >>> } else if (entry->msi_attrib.is_msix) { >&...
2014 Jul 04
2
How to check for proper MSI support?
On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang <wangyijing at huawei.com> wrote: > Hi Brian, > From your 01:00.0 VGA compatible controller PCI config register, it supports 1 MSI vector, so I think this > card has no problem. But you didn't answer what's the pci_enable_msi() return during it enable MSI fail. > > You can check PCI bus whether support MSI like: > >
2014 Jul 04
0
How to check for proper MSI support?
...: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Because the address and data is invalid, so MSI can not work. Because you said pci_enable_msi() return 0 which indicates success, so I guess the device current power state is not D0, because checking code in __write_msi_msi. void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg) { if (entry->dev->current_state != PCI_D0) { /* Don't touch the hardware now */ } else if (entry->msi_attrib.is_msix) { void __iomem *base; base = entry->mask_base + entry...