[openib-general] IRQ sharing on PCIe bus

yipee yipeeyipeeyipeeyipee at yahoo.com
Mon Oct 10 01:28:06 PDT 2005


Hi,

My setup is a 3GHz Xeon (x86_64) with a 2.6.13.2 kernel. A Mellanox memfree PCIe 
ddr HCA is connected.
Why do I see IRQ sharing although I'm using msi_x and PCIe? Doesn't IRQ sharing 
only happen on older non PCIe busses?

When insmod'ing ib_mthca.ko I see:

ib_mthca: Mellanox InfiniBand HCA driver v0.06 (June 23, 2005)
ib_mthca: Initializing 0000:06:00.0
IRQ for 0000:06:00.0[A] -> PIRQ 60, mask dcd8, excl 0000 -> newirq=10 -> got IRQ 
10
PCI: Found IRQ 10 for device 0000:06:00.0
PCI: Sharing IRQ 10 with 0000:00:01.0
PCI: Sharing IRQ 10 with 0000:00:02.0
PCI: Sharing IRQ 10 with 0000:00:04.0
PCI: Sharing IRQ 10 with 0000:00:05.0
PCI: Sharing IRQ 10 with 0000:00:06.0
PCI: Sharing IRQ 10 with 0000:00:1d.0
PCI: Sharing IRQ 10 with 0000:07:04.0
PCI: Setting latency timer of device 0000:06:00.0 to 64


the /proc/pci is:

PCI devices found:
  Bus  0, device   0, function  0:
    Class 0600: PCI device 8086:3590 (rev 12).
  Bus  0, device   0, function  1:
    Class ff00: PCI device 8086:3591 (rev 12).
  Bus  0, device   1, function  0:
    Class 0880: PCI device 8086:3594 (rev 12).
      IRQ 10.
      Non-prefetchable 32 bit memory at 0xfcdff000 [0xfcdfffff].
  Bus  0, device   2, function  0:
    Class 0604: PCI device 8086:3595 (rev 12).
      IRQ 10.
      Master Capable.  No bursts.  Min Gnt=6.
  Bus  0, device   4, function  0:
    Class 0604: PCI device 8086:3597 (rev 12).
      IRQ 10.
      Master Capable.  No bursts.  Min Gnt=6.
  Bus  0, device   5, function  0:
    Class 0604: PCI device 8086:3598 (rev 12).
      IRQ 10.
      Master Capable.  No bursts.  Min Gnt=7.
  Bus  0, device   6, function  0:
    Class 0604: PCI device 8086:3599 (rev 12).
      IRQ 10.
      Master Capable.  No bursts.  Min Gnt=6.
 Bus  0, device  29, function  0:
    Class 0c03: PCI device 8086:24d2 (rev 2).
      IRQ 10.
      I/O at 0xd800 [0xd81f].
  Bus  0, device  29, function  1:
    Class 0c03: PCI device 8086:24d4 (rev 2).
      IRQ 7.
      I/O at 0xd880 [0xd89f].
  Bus  0, device  29, function  2:
    Class 0c03: PCI device 8086:24d7 (rev 2).
      IRQ 15.
      I/O at 0xdc00 [0xdc1f].
  Bus  0, device  29, function  7:
    Class 0c03: PCI device 8086:24dd (rev 2).
      IRQ 5.
      Non-prefetchable 32 bit memory at 0xfcdfec00 [0xfcdfefff].
  Bus  0, device  30, function  0:
    Class 0604: PCI device 8086:244e (rev 194).
      Master Capable.  No bursts.  Min Gnt=11.
  Bus  0, device  31, function  0:
    Class 0601: PCI device 8086:24d0 (rev 2).
  Bus  0, device  31, function  1:
    Class 0101: PCI device 8086:24db (rev 2).
      IRQ 15.
      I/O at 0xfc00 [0xfc0f].
      Non-prefetchable 32 bit memory at 0x80100000 [0x801003ff].
  Bus  0, device  31, function  3:
    Class 0c05: PCI device 8086:24d3 (rev 2).
      IRQ 11.
      I/O at 0x540 [0x55f].
  Bus  1, device   0, function  0:
    Class 0604: PCI device 8086:0329 (rev 9).
      Master Capable.  No bursts.  Min Gnt=7.
  Bus  1, device   0, function  1:
    Class 0800: PCI device 8086:0326 (rev 9).
      Non-prefetchable 32 bit memory at 0xfcefe000 [0xfcefefff].
  Bus  1, device   0, function  2:
    Class 0604: PCI device 8086:032a (rev 9).
      Master Capable.  No bursts.  Min Gnt=7.
  Bus  1, device   0, function  3:
    Class 0800: PCI device 8086:0327 (rev 9).
      Non-prefetchable 32 bit memory at 0xfceff000 [0xfcefffff].
  Bus  6, device   0, function  0:
    Class 0c06: PCI device 15b3:6282 (rev 32).
      IRQ 10.
      Non-prefetchable 64 bit memory at 0xfcf00000 [0xfcffffff].
      Prefetchable 64 bit memory at 0xfb800000 [0xfbffffff].
  Bus  7, device   4, function  0:
    Class 0200: PCI device 8086:1076 (rev 5).
      IRQ 10.
      Master Capable.  Latency=32.  Min Gnt=255.
      Non-prefetchable 32 bit memory at 0xfebe0000 [0xfebfffff].
      I/O at 0xec00 [0xec3f].
  Bus  7, device   6, function  0:
    Class 0200: PCI device 8086:107c (rev 5).
      IRQ 15.
      Master Capable.  Latency=32.  Min Gnt=255.
      Non-prefetchable 32 bit memory at 0xfeba0000 [0xfebbffff].
      Non-prefetchable 32 bit memory at 0xfeb80000 [0xfeb9ffff].
      I/O at 0xe880 [0xe8bf].
  Bus  7, device  12, function  0:
    Class 0300: PCI device 1002:4752 (rev 39).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=8.
      Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
      I/O at 0xe400 [0xe4ff].
      Non-prefetchable 32 bit memory at 0xfebdb000 [0xfebdbfff].


Thanks,
y







More information about the general mailing list