This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Why is there a different IRQ number for C6678 EVM with PCIe connection to host PC?

Hi,

This C6678 EVM is inserted a Linux PC with PCIe boot. For command cat /proc/interrupts, it shows

IRQ 7 for TI 667x PCIE

but lspci -d 104c:b005 -x -v

shows IRQ 16, see below please.

Why are they different (7 vs. 16)?

Is my understanding wrong?

Thanks,

~$ cat /proc/interrupts 
           CPU0       CPU1       CPU2       CPU3       
  0:         42          0          0          0   IO-APIC-edge      timer
  1:          1          0          0          2   IO-APIC-edge      i8042
  5:          0          0          0          0   IO-APIC-edge      parport0
  7:          2          0          0          0   IO-APIC-edge      TI 667x PCIE
  8:          0          0          0          1   IO-APIC-edge      rtc0
  9:          0          0          0          0   IO-APIC-fasteoi   acpi
 12:          0          0          0          4   IO-APIC-edge      i8042
 14:       3819          0          0        129   IO-APIC-edge      pata_atiixp
 15:          0          0          0          0   IO-APIC-edge      pata_atiixp
 16:     198886          0          4       1111   IO-APIC-fasteoi   mmc0, snd_hda_intel
 17:          0    3861672          3        643   IO-APIC-fasteoi   ehci_hcd:usb1, ehci_hcd:usb2
 18:       9410          0      48165         68   IO-APIC-fasteoi   ohci_hcd:usb3, ohci_hcd:usb4, ohci_hcd:usb5
 19:      27929          0          4       5183   IO-APIC-fasteoi   ahci
 40:          0          0          0          0   PCI-MSI-edge      PCIe PME
 41:          0          0          0          0   PCI-MSI-edge      PCIe PME
 42:          0          0          0          0   PCI-MSI-edge      PCIe PME
 43:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 44:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 45:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 46:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 47:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 48:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 49:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 50:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 51:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 52:          0          0          0          0   PCI-MSI-edge      xhci_hcd
 53:      58718          0          0         76   PCI-MSI-edge      eth0
 54:     175228          0          0      28915   PCI-MSI-edge      radeon
 55:          0          0        736        217   PCI-MSI-edge      snd_hda_intel
NMI:         13         13         11         11   Non-maskable interrupts
LOC:     275834     315739     232716     242301   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:         13         13         11         11   Performance monitoring interrupts
IWI:      21062      17830      16580       8886   IRQ work interrupts
RTR:          0          0          0          0   APIC ICR read retries
RES:     543185     546761     533622     509859   Rescheduling interrupts
CAL:        369        408        395        282   Function call interrupts
TLB:      10813       9273       9435       8277   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:         14         14         14         14   Machine check polls
ERR:          1
MIS:          0
r04@rj1204-MS-7696:~$ lspci -d 104c:b005 -x -v
04:00.0 Multimedia controller: Texas Instruments Device b005 (rev 01)
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
	Memory at d1400000 (32-bit, prefetchable) [size=512K]
	Memory at d1000000 (32-bit, prefetchable) [size=4M]
	Memory at d0000000 (32-bit, prefetchable) [size=16M]
	Memory at d1490000 (32-bit, prefetchable) [size=4K]
	Memory at d1480000 (32-bit, prefetchable) [size=64K]
	Capabilities: <access denied>
00: 4c 10 05 b0 07 01 18 40 01 00 80 04 10 00 00 00
10: 00 00 90 fe 08 00 40 d1 08 00 00 d1 08 00 00 d0
20: 08 00 49 d1 08 00 48 d1 00 00 00 00 00 00 01 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 07 01 00 00

  • Hi,

    I am not expert on Linux driver. I will check with my team and get back to you. For my understanding IRQ 16 is mapped for PCIe INT A.

    In PCIe interrupt example code DSP generates interrupt to host. The secondary system interrupt(PCIEXpress_Legacy_INTA) mapped to channel 3 out(CIC0_OUT3), the Event ID: 63 (C6678), 59 (C6670) and 25 (C6678).

    Thanks,