Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - PCI irq request fails: (2 Items)
   
PCI irq request fails  
Hello,

I am writing a driver for a PCIe card. I have two identical cards in adjacent PCIe slots in a Dell workstation with a 
Skylake processor. Both cards are detected and I get back a valid PCI handle from pci_dev_attach() for both cards and 
valid BARs from pci_device_read_ba(). However, when pci_device_read_irq() is called only one card get an IRQ. The 
request for the second card fails with error PCI_ERR_IRQ_NOT_AVAIL.

The cards are requesting legacy INTx IRQs.

I have attached the system log output showing the messages from the PCI server. 

Is the PCI server doing something wrong, or is there something I need to do before calling pci_device_read_irq()?

I am using SDP7.0 with the generic x86-64 BSP.

Regards,
John
Attachment: Text pci-irq-read-error.txt 4.49 KB
Re: PCI irq request fails  
The x86 HW module was recently updated to add support for additional 
Skylake chipsets.
Contact your sales or support representative in order obtain any 
updates. You will want version 2.1 or later of that module.
You can also make use of a hardware config file in order to specify the 
IRQ for that device. See etc/system/config/pci/pci_hw-template.cfg in 
your $QNX_TARGET directory


On 3/31/19 6:19 AM, John Efstathiades wrote:
> Hello,
>
> I am writing a driver for a PCIe card. I have two identical cards in adjacent PCIe slots in a Dell workstation with a 
Skylake processor. Both cards are detected and I get back a valid PCI handle from pci_dev_attach() for both cards and 
valid BARs from pci_device_read_ba(). However, when pci_device_read_irq() is called only one card get an IRQ. The 
request for the second card fails with error PCI_ERR_IRQ_NOT_AVAIL.
>
> The cards are requesting legacy INTx IRQs.
>
> I have attached the system log output showing the messages from the PCI server.
>
> Is the PCI server doing something wrong, or is there something I need to do before calling pci_device_read_irq()?
>
> I am using SDP7.0 with the generic x86-64 BSP.
>
> Regards,
> John
>
>
>
> _______________________________________________
>
> OSTech
> http://community.qnx.com/sf/go/post119625
> To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com

Attachment: HTML sf-attachment-mime37644 2 KB