Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to work with MSI in x86 target, QNX 6.5.0SP1: (4 Items)
   
How to work with MSI in x86 target, QNX 6.5.0SP1  
Hi, I have a x86 board with 2 PCIe cards. I am able to boot QNX 6.5.0SP1 from a USB drive on the target. I booted with 
startup-apic & pci-bios-v2 is running on the board. 

Now my question is
1) How do i know whether MSI is enabled or not?
2) How to find out Device & vendor ID for MSI?
3) How to get MSI interrupts working?

Please let me know.

Regards,
Manas
Re: How to work with MSI in x86 target, QNX 6.5.0SP1  
Hi Manas,

I've added some answers inline.

By the way are you aware of our new PCI framework here -
http://community.qnx.com/sf/frs/do/viewRelease/projects.bsp/frs.updated_pci
e_framework_for_qnx_s.qnx_sdp_6_6_pcie_server_archive? The old
"pci-bios-v2" will no longer be used in future products and plus the new
PCI server has much better support for MSI and MSI-X, cleaner APIs, and
several new features. If possible I'd suggest using the new PCI server.


On 2015-10-16, 5:38 AM, "manas sahoo" <community-noreply@qnx.com> wrote:

>Hi, I have a x86 board with 2 PCIe cards. I am able to boot QNX 6.5.0SP1
>from a USB drive on the target. I booted with startup-apic & pci-bios-v2
>is running on the board.
>
>Now my question is
>1) How do i know whether MSI is enabled or not?

[Mark] - With the old PCI server (pci-bios-v2) if the server detects that
the device supports MSI's they get enabled automatically. There is a flag
(PCI_USE_MSI) which requests that MSIs be enabled but even if the flag
isn't specified we enable MSIs anyway (IF the device supports MSIs).

>2) How to find out Device & vendor ID for MSI?

[Mark] You can use the "pci" utility with verbosity...pci -vvvvv

>3) How to get MSI interrupts working?

[Mark] - You could attach to the interrupt returned by the PCI server and
seeing if your driver is working as expected.

Re: How to work with MSI in x86 target, QNX 6.5.0SP1  
The link mentioned here is not found

http://community.qnx.com/sf/frs/do/viewRelease/projects.bsp/frs.updated_pci


The page you requested cannot be found.
If you feel you have received this message in error, please contact the TeamForge administrator.
Re: How to work with MSI in x86 target, QNX 6.5.0SP1  
The link is broken across two lines...

"http://community.qnx.com/sf/frs/do/viewRelease/projects.bsp/frs.updated_pcie_framework_for_qnx_s.
qnx_sdp_6_6_pcie_server_archive"

Try 'BSP Directory", then "Experimental Drivers and Utilitiles" ff the link doesn't work.