KastnerRG / riffa

The RIFFA development repository
https://riffa.ucsd.edu
Other
746 stars 310 forks source link

Bandwidth drops for linux #29

Open buttercutter opened 6 years ago

buttercutter commented 6 years ago

I have tried with linux kernel 4.4, 4.13 and 4.15.5 , testutil check is only giving me around 1.5Gbps for very large sample size.

@marzoul Does it have to do with the paging mechanism in the newer linux kernel as you had modified for #18 ? I suspect that it is something else because linux kernel 4.4 is also affected as per my experience. Could you advise ?

Is there a way to debug this bandwidth reduction issue using the linux driver compiled ("make debug") with debug support enabled ?

Why am I only getting 65536 words when I sent 99999 words ? kernel log for "./testutil 2 0 0 99999"

phung@UbuntuHW15:\~/Documents/fpga_overlay/riffa/c_c++/linux/x64/test_apps$ ./testutil 2 0 0 9999999999 Test 0: words sent: 1048576 Test 0: words recv: 1048576 Test 1: words sent: 1048576 Test 1: words recv: 1048576 send bw: 1474.287238 recv bw: 1507.535028 Test 2: words sent: 1048576 Test 2: words recv: 1048576 send bw: 1447.335230 recv bw: 1542.593983 Test 3: words sent: 1048576 Test 3: words recv: 1048576 send bw: 1498.592916 recv bw: 1565.649247 Test 4: words sent: 1048576 Test 4: words recv: 1048576 send bw: 1502.262083 recv bw: 1548.852252 Test 5: words sent: 1048576 Test 5: words recv: 1048576 send bw: 1503.840090 recv bw: 1564.508623 Test 6: words sent: 1048576 Test 6: words recv: 1048576 send bw: 1498.462205 recv bw: 1551.229723 Test 7: words sent: 1048576 Test 7: words recv: 1048576 send bw: 1444.293332 recv bw: 1548.852252 Test 8: words sent: 1048576 Test 8: words recv: 1048576 send bw: 1443.807814 recv bw: 1518.595349 Test 9: words sent: 1048576 Test 9: words recv: 1048576 send bw: 1436.924488 recv bw: 1534.053861 Test 10: words sent: 1048576 Test 10: words recv: 1048576 send bw: 1470.627391 recv bw: 1536.935873 Test 11: words sent: 1048576 Test 11: words recv: 1048576 send bw: 1467.110947 recv bw: 1547.735963 Test 12: words sent: 1048576 Test 12: words recv: 1048576 send bw: 1475.806991 recv bw: 1501.736817 Test 13: words sent: 1048576 Test 13: words recv: 1048576 send bw: 1449.288779 recv bw: 1538.587604 Test 14: words sent: 1048576 Test 14: words recv: 1048576 send bw: 1456.291361 recv bw: 1550.529710 Test 15: words sent: 1048576 Test 15: words recv: 1048576 send bw: 1451.860829 recv bw: 1530.227949 Test 16: words sent: 1048576 Test 16: words recv: 1048576 send bw: 1459.384063 recv bw: 1555.161508 Test 17: words sent: 1048576 Test 17: words recv: 1048576 send bw: 1431.894414 recv bw: 1516.986241 Test 18: words sent: 1048576 Test 18: words recv: 1048576 send bw: 1453.334674 recv bw: 1501.736817 Test 19: words sent: 1048576 Test 19: words recv: 1048576 send bw: 1447.335230 recv bw: 1539.138970 Test 20: words sent: 1048576 Test 20: words recv: 1048576 send bw: 1441.869004 recv bw: 1503.313719 Test 21: words sent: 1048576 Test 21: words recv: 1048576 send bw: 1457.279598 recv bw: 1548.852252 Test 22: words sent: 1048576 Test 22: words recv: 1048576 send bw: 1454.318902 recv bw: 1557.558403 Test 23: words sent: 1048576 Test 23: words recv: 1048576 send bw: 1445.751846 recv bw: 1507.667326 Test 24: words sent: 1048576 Test 24: words recv: 1048576 send bw: 1459.880114 recv bw: 1531.319118 Test 25: words sent: 1048576 Test 25: words recv: 1048576 send bw: 1469.118282 recv bw: 1516.450630 Test 26: words sent: 1048576 Test 26: words recv: 1048576 send bw: 1439.452801 recv bw: 1561.522376 Test 27: words sent: 1048576 Test 27: words recv: 1048576 send bw: 1472.644367 recv bw: 1531.319118 Test 28: words sent: 1048576 Test 28: words recv: 1048576 send bw: 1465.984229 recv bw: 1553.474020 Test 29: words sent: 1048576 Test 29: words recv: 1048576 send bw: 1503.313719 recv bw: 1566.791535 Test 30: words sent: 1048576 Test 30: words recv: 1048576 send bw: 1503.313719 recv bw: 1564.508623 Test 31: words sent: 1048576 Test 31: words recv: 1048576 send bw: 1475.300059 recv bw: 1574.401501 Test 32: words sent: 1048576 Test 32: words recv: 1048576 send bw: 1481.534079 recv bw: 1582.668741 Test 33: words sent: 1048576 Test 33: words recv: 1048576 send bw: 1477.329881 recv bw: 1551.229723 Test 34: words sent: 1048576 Test 34: words recv: 1048576 send bw: 1482.556885 recv bw: 1559.821063 Test 35: words sent: 1048576 Test 35: words recv: 1048576 send bw: 1486.276424 recv bw: 1549.411001 Test 36: words sent: 1048576 Test 36: words recv: 1048576 send bw: 1484.735043 recv bw: 1562.232353 Test 37: words sent: 1048576 Test 37: words recv: 1048576 send bw: 1480.002514 recv bw: 1562.090306 Test 38: words sent: 1048576 Test 38: words recv: 1048576 send bw: 1506.609593 recv bw: 1566.220183 Test 39: words sent: 1048576 Test 39: words recv: 1048576 send bw: 1468.615933 recv bw: 1567.363305 Test 40: words sent: 1048576 Test 40: words recv: 1048576 send bw: 1486.276424 recv bw: 1555.161508 Test 41: words sent: 1048576 Test 41: words recv: 1048576 send bw: 1502.787717 recv bw: 1570.371955 Test 42: words sent: 1048576 Test 42: words recv: 1048576 send bw: 1488.336584 recv bw: 1558.123452 Test 43: words sent: 1048576 Test 43: words recv: 1048576 send bw: 1475.300059 recv bw: 1562.800799 Test 44: words sent: 1048576 Test 44: words recv: 1048576 send bw: 1462.365440 recv bw: 1581.066555 Test 45: words sent: 1048576 Test 45: words recv: 1048576 send bw: 1471.635188 recv bw: 1548.293906 Test 46: words sent: 1048576 Test 46: words recv: 1048576 send bw: 1491.049226 recv bw: 1536.386083 Test 47: words sent: 1048576 Test 47: words recv: 1048576 send bw: 1489.497935 recv bw: 1544.813343 Test 48: words sent: 1048576 Test 48: words recv: 1048576 send bw: 1487.305790 recv bw: 1546.064541 Test 49: words sent: 1048576 Test 49: words recv: 1048576 send bw: 1499.508526 recv bw: 1555.302298 Test 50: words sent: 1048576 Test 50: words recv: 1048576 send bw: 1494.811553 recv bw: 1561.522376 Test 51: words sent: 1048576 Test 51: words recv: 1048576 send bw: 1500.556309 recv bw: 1543.702865 Test 52: words sent: 1048576 Test 52: words recv: 1048576 send bw: 1495.331986 recv bw: 1534.739073 Test 53: words sent: 1048576 Test 53: words recv: 1048576 send bw: 1447.335230 recv bw: 1520.207874 Test 54: words sent: 1048576 Test 54: words recv: 1048576 send bw: 1503.840090 recv bw: 1564.508623 Test 55: words sent: 1048576 Test 55: words recv: 1048576 send bw: 1476.441147 recv bw: 1564.936162 Test 56: words sent: 1048576 Test 56: words recv: 1048576 send bw: 1488.336584 recv bw: 1578.016826 Test 57: words sent: 1048576 Test 57: words recv: 1048576 send bw: 1457.403222 recv bw: 1538.587604 Test 58: words sent: 1048576 Test 58: words recv: 1048576 send bw: 1493.771775 recv bw: 1551.089670 Test 59: words sent: 1048576 Test 59: words recv: 1048576 send bw: 1488.336584 recv bw: 1552.912337 Test 60: words sent: 1048576 Test 60: words recv: 1048576 send bw: 1474.287238 recv bw: 1563.227405 Test 61: words sent: 1048576 Test 61: words recv: 1048576 send bw: 1488.981555 recv bw: 1560.954860 Test 62: words sent: 1048576 Test 62: words recv: 1048576 send bw: 1467.612266 recv bw: 1538.587604 Test 63: words sent: 1048576 Test 63: words recv: 1048576 send bw: 1497.417344 recv bw: 1565.649247 Test 64: words sent: 1048576 Test 64: words recv: 1048576 send bw: 1488.852516 recv bw: 1550.529710 Test 65: words sent: 1048576 Test 65: words recv: 1048576 send bw: 1490.014673 recv bw: 1548.852252 Test 66: words sent: 1048576 Test 66: words recv: 1048576 send bw: 1495.852780 recv bw: 1548.293906 Test 67: words sent: 1048576 Test 67: words recv: 1048576 send bw: 1479.492696 recv bw: 1557.417205 Test 68: words sent: 1048576 Test 68: words recv: 1048576 send bw: 1486.276424 recv bw: 1556.288539 Test 69: words sent: 1048576 Test 69: words recv: 1048576 send bw: 1487.949869 recv bw: 1555.161508 Test 70: words sent: 1048576 Test 70: words recv: 1048576 send bw: 1501.211918 recv bw: 1557.558403 Test 71: words sent: 1048576 Test 71: words recv: 1048576 send bw: 1471.761260 recv bw: 1563.227405 Test 72: words sent: 1048576 Test 72: words recv: 1048576 send bw: 1483.709231 recv bw: 1549.411001 Test 73: words sent: 1048576 Test 73: words recv: 1048576 send bw: 1501.736817 recv bw: 1542.040139 ^C phung@UbuntuHW15:\~/Documents/fpga_overlay/riffa/c_c++/linux/x64/test_apps$ uname -a Linux UbuntuHW15 4.15.5-041505-generic #201802261304 SMP Mon Feb 26 18:05:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux phung@UbuntuHW15:\~/Documents/fpga_overlay/riffa/c_c++/linux/x64/test_apps$

marzoul commented 6 years ago

I don't understand the title of your which says bandwidth drops. With what and compared to what ? By how much ?

What I see is that you asked for 9999999999 words = 10 billion. Not only this overflows 32 bits (see the code of the app and try man atoi) but it also exceeds what Riffa is capable of per tranfer (2 billions, 31 bits). So getting this cropped somewhere (to 65536 it seems) is not a surprise ;-)

Just to be clear, in https://github.com/KastnerRG/riffa/pull/18 I didn't modify the way kernel paging mechanisms are used. I just applied the macros/functions renaming that the kernel developers did along kernel versions.

If you noticed a BW drop for all kernel versions, this makes me think of recent Spectre/Meltdown patches that suddenly got applied to ALL kernel versions. As this isolates kernel pages from other process pages (if you're using Intel CPU), the only impact this can have on perfs is a slowdown. Assuming this is the cause of course. In that case, I know there were discussions to add a kernel parameter so this this costly kernel page table isolation can be disabled, but I don't know the current status of this (if this parameter does exist, it's probably only for latest kernel anyway). You can always recompile the kernel by disabling this and give it a try.

Other than that, please check your system logs when an FPGA is discovered by the kernel. It prints the negociated speed and other interesting information. Your 1400/1500 MB/s seems like PCIe Gen1 2.5GT/s 8x to me, with BW significantly lower than theoretical 2GB/s. You should check with much larger buffers to mask sync latency and to get closer to what your machine can achieve (like 100MB at least).

buttercutter commented 6 years ago

@marzoul

The bandwidth drop is compared with what I got previously for Gen 2 result which is around 3.5Gbps.

I have tried re-downloading the bitstream, rebooting my computer. Only one out of many times of retrying solved the problem. I am not sure if this relates to linux driver or kernel version.

@drichmond @mjacobsen

Besides, as of why we are only receiving less data than we sent out through chnl_tester module, please see https://groups.google.com/forum/#!topic/riffa_users/z1hQ7F0vFGs or the following:

The reason for this strange phenomenon is that RIFFA will not be able to receive data that does not follow https://github.com/KastnerRG/riffa/blob/master/c_c%2B%2B/linux/x64/test_apps/testutil.c#L138

Besides, in http://riffa.ucsd.edu/node/10 , for fpga_recv(), the author quoted "The FPGA will specify an offset value which will determine where received data will start being written. If the amount of data plus the offset exceed the size of the data array, then the additional data will be discarded."

I am not sure why RIFFA authors decide to implement this way.

Does anyone have any idea or comments about this design decision to discard words which seems not okay to users ?

drichmond commented 6 years ago

What do you observe when you run lspci

buttercutter commented 6 years ago

"lspci | grep Altera" gave me

03:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev 01)

How does this affect the number of received words ?

drichmond commented 6 years ago

How about lspci -vvv

I need to see more than that first line

On Feb 28, 2018, at 9:45 PM, promach notifications@github.com wrote:

"lspci | grep Altera" gave me

03:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev 01)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

buttercutter commented 6 years ago

Here you go:

phung@UbuntuHW15:~$ lspci -vvv 00:00.0 Host bridge: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 DMI2 (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 DMI2 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 0 Capabilities:

00:01.0 PCI bridge: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 PCI Express Root Port 1a (rev 04) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 24 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 I/O behind bridge: 0000f000-00000fff Memory behind bridge: ef300000-ef3fffff Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: Kernel driver in use: pcieport Kernel modules: shpchp

00:02.0 PCI bridge: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 PCI Express Root Port 2a (rev 04) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 25 Bus: primary=00, secondary=05, subordinate=05, sec-latency=0 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: ee000000-ef0fffff Prefetchable memory behind bridge: 00000000d0000000-00000000e1ffffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity+ SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: Kernel driver in use: pcieport Kernel modules: shpchp

00:03.0 PCI bridge: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 PCI Express Root Port 3a (rev 04) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 26 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0 I/O behind bridge: 0000f000-00000fff Memory behind bridge: fff00000-000fffff Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR- BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: Kernel driver in use: pcieport Kernel modules: shpchp

00:04.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 0 (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 0 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 41 Region 0: Memory at ef43c000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: ioatdma Kernel modules: ioatdma

00:04.1 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 1 (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 1 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 43 Region 0: Memory at ef438000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: ioatdma Kernel modules: ioatdma

00:04.2 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 2 (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 2 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin C routed to IRQ 41 Region 0: Memory at ef434000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: ioatdma Kernel modules: ioatdma

00:04.3 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 3 (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 3 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin D routed to IRQ 43 Region 0: Memory at ef430000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: ioatdma Kernel modules: ioatdma

00:04.4 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 4 (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 4 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 41 Region 0: Memory at ef42c000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: ioatdma Kernel modules: ioatdma

00:04.5 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 5 (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 5 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 43 Region 0: Memory at ef428000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: ioatdma Kernel modules: ioatdma

00:04.6 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 6 (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 6 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin C routed to IRQ 41 Region 0: Memory at ef424000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: ioatdma Kernel modules: ioatdma

00:04.7 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 7 (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 Crystal Beach DMA Channel 7 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin D routed to IRQ 43 Region 0: Memory at ef420000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: ioatdma Kernel modules: ioatdma

00:05.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 VTd/Memory Map/Misc (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 VTd/Memory Map/Misc Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

00:05.2 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 IIO RAS (rev 04) Subsystem: Hewlett-Packard Company Xeon E7 v2/Xeon E5 v2/Core i7 IIO RAS Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

00:05.4 PIC: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 IOAPIC (rev 04) (prog-if 20 [IO(X)-APIC]) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 IOAPIC Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Region 0: Memory at ef44a000 (32-bit, non-prefetchable) [size=4K] Capabilities:

00:11.0 PCI bridge: Intel Corporation C600/X79 series chipset PCI Express Virtual Root Port (rev 05) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 16 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: e2000000-e20fffff Prefetchable memory behind bridge: 00000000e2400000-00000000e28fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: Kernel driver in use: pcieport Kernel modules: shpchp

00:16.0 Communication controller: Intel Corporation C600/X79 series chipset MEI Controller #1 (rev 05) Subsystem: Hewlett-Packard Company C600/X79 series chipset MEI Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 40 Region 0: Memory at ef449000 (64-bit, non-prefetchable) [size=16] Capabilities: Kernel driver in use: mei_me Kernel modules: mei_me

00:16.2 IDE interface: Intel Corporation C600/X79 series chipset IDE-r Controller (rev 05) (prog-if 85 [Master SecO PriO]) Subsystem: Hewlett-Packard Company C600/X79 series chipset IDE-r Controller Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Interrupt: pin C routed to IRQ 18 Region 0: I/O ports at e0b0 [size=8] Region 1: I/O ports at e0a0 [size=4] Region 2: I/O ports at e090 [size=8] Region 3: I/O ports at e080 [size=4] Region 4: I/O ports at e070 [size=16] Capabilities: Kernel driver in use: ata_generic Kernel modules: pata_acpi

00:16.3 Serial controller: Intel Corporation C600/X79 series chipset KT Controller (rev 05) (prog-if 02 [16550]) Subsystem: Hewlett-Packard Company C600/X79 series chipset KT Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 17 Region 0: I/O ports at e060 [size=8] Region 1: Memory at ef447000 (32-bit, non-prefetchable) [size=4K] Capabilities: Kernel driver in use: serial

00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 05) DeviceName: Onboard LAN Subsystem: Hewlett-Packard Company 82579LM Gigabit Network Connection Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 39 Region 0: Memory at ef400000 (32-bit, non-prefetchable) [size=128K] Region 1: Memory at ef44d000 (32-bit, non-prefetchable) [size=4K] Region 2: I/O ports at e040 [size=32] Capabilities: Kernel driver in use: e1000e Kernel modules: e1000e

00:1a.0 USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI]) Subsystem: Hewlett-Packard Company C600/X79 series chipset USB2 Enhanced Host Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 16 Region 0: Memory at ef44f000 (32-bit, non-prefetchable) [size=1K] Capabilities: Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation C600/X79 series chipset High Definition Audio Controller (rev 05) Subsystem: Hewlett-Packard Company C600/X79 series chipset High Definition Audio Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 53 Region 0: Memory at ef440000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation C600/X79 series chipset PCI Express Root Port 2 (rev b5) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 16 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000f000-00000fff Memory behind bridge: fff00000-000fffff Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: Kernel driver in use: pcieport Kernel modules: shpchp

00:1c.5 PCI bridge: Intel Corporation C600/X79 series chipset PCI Express Root Port 5 (rev b5) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 17 Bus: primary=00, secondary=06, subordinate=06, sec-latency=0 I/O behind bridge: 0000f000-00000fff Memory behind bridge: fff00000-000fffff Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: Kernel driver in use: pcieport Kernel modules: shpchp

00:1c.6 PCI bridge: Intel Corporation C600/X79 series chipset PCI Express Root Port 3 (rev b5) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin C routed to IRQ 18 Bus: primary=00, secondary=07, subordinate=07, sec-latency=0 I/O behind bridge: 0000f000-00000fff Memory behind bridge: fff00000-000fffff Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: Kernel driver in use: pcieport Kernel modules: shpchp

00:1c.7 PCI bridge: Intel Corporation C600/X79 series chipset PCI Express Root Port 4 (rev b5) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin D routed to IRQ 19 Bus: primary=00, secondary=08, subordinate=08, sec-latency=0 I/O behind bridge: 0000f000-00000fff Memory behind bridge: ef200000-ef2fffff Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: Kernel driver in use: pcieport Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI]) Subsystem: Hewlett-Packard Company C600/X79 series chipset USB2 Enhanced Host Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 23 Region 0: Memory at ef44e000 (32-bit, non-prefetchable) [size=1K] Capabilities: Kernel driver in use: ehci-pci

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5) (prog-if 01 [Subtractive decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Bus: primary=00, secondary=09, subordinate=09, sec-latency=128 I/O behind bridge: 0000f000-00000fff Memory behind bridge: ef100000-ef1fffff Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities:

00:1f.0 ISA bridge: Intel Corporation C600/X79 series chipset LPC Controller (rev 05) Subsystem: Hewlett-Packard Company C600/X79 series chipset LPC Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Capabilities: Kernel driver in use: lpc_ich Kernel modules: lpc_ich

00:1f.2 RAID bus controller: Intel Corporation C600/X79 series chipset SATA RAID Controller (rev 05) Subsystem: Hewlett-Packard Company C600/X79 series chipset SATA RAID Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 35 Region 0: I/O ports at e0f0 [size=8] Region 1: I/O ports at e0e0 [size=4] Region 2: I/O ports at e0d0 [size=8] Region 3: I/O ports at e0c0 [size=4] Region 4: I/O ports at e020 [size=32] Region 5: Memory at ef44c000 (32-bit, non-prefetchable) [size=2K] Capabilities: Kernel driver in use: ahci Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation C600/X79 series chipset SMBus Host Controller (rev 05) Subsystem: Hewlett-Packard Company C600/X79 series chipset SMBus Host Controller Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx- Interrupt: pin C routed to IRQ 4 Region 0: Memory at ef44b000 (64-bit, non-prefetchable) [size=256] Region 4: I/O ports at e000 [size=32] Kernel modules: i2c_i801

02:00.0 Serial Attached SCSI controller: Intel Corporation C602 chipset 4-Port SATA Storage Control Unit (rev 05) Subsystem: Hewlett-Packard Company C602 chipset 4-Port SATA Storage Control Unit Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 16 Region 0: Memory at e2800000 (64-bit, prefetchable) [size=16K] Region 2: Memory at e2400000 (64-bit, prefetchable) [size=4M] Region 4: I/O ports at d000 [size=256] Capabilities: Kernel driver in use: isci Kernel modules: isci

03:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev 01) Subsystem: Altera Corporation Device 0004 Physical Slot: 4 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 52 Region 0: Memory at ef300000 (32-bit, non-prefetchable) [size=1K] Capabilities: Kernel driver in use: riffa Kernel modules: riffa

05:00.0 VGA compatible controller: NVIDIA Corporation GK107GL [Quadro K2000] (rev a1) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company GK107GL [Quadro K2000] Physical Slot: 2 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 38 Region 0: Memory at ee000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M] Region 3: Memory at e0000000 (64-bit, prefetchable) [size=32M] Region 5: I/O ports at c000 [size=128] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: Kernel driver in use: nouveau Kernel modules: nvidiafb, nouveau

05:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1) Subsystem: Hewlett-Packard Company GK107 HDMI Audio Controller Physical Slot: 2 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 54 Region 0: Memory at ef080000 (32-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel

08:00.0 USB controller: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller (rev 02) (prog-if 30 [XHCI]) Subsystem: Hewlett-Packard Company TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 19 Region 0: Memory at ef200000 (64-bit, non-prefetchable) [size=64K] Region 2: Memory at ef210000 (64-bit, non-prefetchable) [size=8K] Capabilities: Kernel driver in use: xhci_hcd

09:05.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 70) (prog-if 10 [OHCI]) Subsystem: Hewlett-Packard Company FW322/323 [TrueFire] 1394a Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 128 (3000ns min, 6000ns max), Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 19 Region 0: Memory at ef100000 (32-bit, non-prefetchable) [size=4K] Capabilities: Kernel driver in use: firewire_ohci Kernel modules: firewire_ohci

7f:08.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 QPI Link 0 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 QPI Link 0 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:09.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 QPI Link 1 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 QPI Link 1 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0a.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 0 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 0 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0a.1 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 1 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 1 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0a.2 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 2 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 2 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0a.3 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 3 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Power Control Unit 3 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0b.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 UBOX Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 UBOX Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0b.3 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 UBOX Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 UBOX Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0c.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0c.1 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0c.2 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0d.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0d.1 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0d.2 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Unicast Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0e.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Home Agent 0 (rev 04) Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:0e.1 Performance counters: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Home Agent 0 (rev 04) Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Kernel driver in use: ivbep_uncore

7f:0f.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Target Address/Thermal Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Target Address/Thermal Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:0f.1 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 RAS Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 RAS Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:0f.2 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:0f.3 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:0f.4 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:0f.5 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 0 Channel Target Address Decoder Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:10.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 0 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 0 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities: Kernel driver in use: ivbep_uncore

7f:10.1 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 1 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 1 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities: Kernel driver in use: ivbep_uncore

7f:10.2 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 0 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 0 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:10.3 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 1 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 1 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:10.4 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 2 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 2 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities: Kernel driver in use: ivbep_uncore

7f:10.5 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 3 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 Thermal Control 3 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities: Kernel driver in use: ivbep_uncore

7f:10.6 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 2 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 2 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:10.7 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 3 (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Integrated Memory Controller 1 Channel 0-3 ERROR Registers 3 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Capabilities:

7f:13.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 R2PCIe (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 R2PCIe Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:13.1 Performance counters: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 R2PCIe (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 R2PCIe Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Kernel driver in use: ivbep_uncore

7f:13.4 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 QPI Ring Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 QPI Ring Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:13.5 Performance counters: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 QPI Ring Performance Ring Monitoring (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 QPI Ring Performance Ring Monitoring Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Kernel driver in use: ivbep_uncore

7f:16.0 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 System Address Decoder (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 System Address Decoder Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:16.1 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Broadcast Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Broadcast Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-

7f:16.2 System peripheral: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Broadcast Registers (rev 04) Subsystem: Intel Corporation Xeon E7 v2/Xeon E5 v2/Core i7 Broadcast Registers Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- phung@UbuntuHW15:~$

drichmond commented 6 years ago

Still can't see what I'm looking for. Try sudo lspci -vvv | grep -A 10 altera

buttercutter commented 6 years ago

Here you go :

phung@UbuntuHW15:\~$ sudo lspci -vvv | grep -A 10 altera [sudo] password for phung: phung@UbuntuHW15:\~$ sudo lspci -vvv | grep -A 10 altera

phung@UbuntuHW15:\~$ sudo lspci -vvv | grep -A 43 Altera 03:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev 01) Subsystem: Altera Corporation Device 0004 Physical Slot: 4 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 52 Region 0: Memory at ef300000 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00618 Data: 0000 Capabilities: [78] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [80] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 1024 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend- LnkCap: Port #1, Speed 5GT/s, Width x8, ASPM L0s, Exit Latency L0s unlimited, L1 unlimited ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not Supported DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1- EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest- Capabilities: [100 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Kernel driver in use: riffa Kernel modules: riffa

05:00.0 VGA compatible controller: NVIDIA Corporation GK107GL [Quadro K2000] (rev a1) (prog-if 00 [VGA controller]) phung@UbuntuHW15:\~$

drichmond commented 6 years ago

Okay - it didn’t show up in the first 10 lines

How about lspci -vvv | grep -A 100 Altera

I’m looking for a line like:

            LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-

And while you’re at it - do you have the debug driver installed? If so - then also run the command

dmesg | grep riffa

On Feb 28, 2018, at 10:07 PM, promach notifications@github.com wrote:

Here you go :

phung@UbuntuHW15:~$ sudo lspci -vvv | grep -A 10 altera [sudo] password for phung: phung@UbuntuHW15:~$ sudo lspci -vvv | grep -A 10 altera phung@UbuntuHW15:~$ sudo lspci -vvv | grep -A 10 Altera 03:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev 01) Subsystem: Altera Corporation Device 0004 Physical Slot: 4 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 52 Region 0: Memory at ef300000 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00618 Data: 0000 Capabilities: [78] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) phung@UbuntuHW15:~$

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

buttercutter commented 6 years ago

LnkSta: Speed 5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-

Please check my updated comment

I have just ran "./testutil 2 0 0 55536" . This is what I got for "dmesg | grep riffa". The log still shows number of received words(32768) is less than number of words sent (55536).

buttercutter commented 6 years ago

The relevant driver code to discard additional data is highlighted in https://github.com/KastnerRG/riffa/blob/master/driver/linux/riffa_driver.c#L640-L650

Does anyone have any comments on how to trigger this c driver code segment because I have tried and I have been receiving all the words I sent after modifying for-loop within the test_util c code at https://gist.github.com/promach/5fb1ddfab95d4e72033a3053735f9df1#file-testutil-c-L155 ?

buttercutter commented 6 years ago

I am using Altera DE4 and it seems like my intermittent PCIe hardware detection issue is related to some timing analysis errors ?

@drichmond @mjacobsen

However, could anyone help to guide me how to perform the timing closure recommendation by Altera for this particular path which involves the PCIe hardcore IP ?

jixi2018 commented 4 years ago

When I ran the dmesg command to check the FPGA status during boot up, I saw the following information:

[ 2.119690] riffa: loading out-of-tree module taints kernel. [ 2.119711] riffa: module verification failed: signature and/or required key missing - tainting kernel [ 2.119917] riffa 0000:17:00.0: enabling device (0100 -> 0102) [ 2.119922] riffa: found FPGA with name: 0000:17:00.00 [ 2.119922] riffa: vendor id: 0x10EE [ 2.119923] riffa: device id: 0x7018 [ 2.119924] riffa: BAR 0 address: c0200000 [ 2.119925] riffa: BAR 0 length: 1024 bytes [ 2.119974] riffa: MSI setup on irq 77 [ 2.119975] riffa: PCIE_EXP_DEVCTL register: 2930 [ 2.119977] riffa: PCIE_EXP_DEVCTL2 register: 0 [ 2.119978] riffa: PCIE_EXP_LNKCTL register: 10820000 [ 2.119980] riffa: number of channels: 8 [ 2.119980] riffa: bus interface width: 128 [ 2.119981] riffa: bus master enabled: 1 [ 2.119981] riffa: negotiated link width: 8 [ 2.119981] riffa: negotiated link rate: 5000 MTs [ 2.119981] riffa: max downstream payload: 512 bytes [ 2.119982] riffa: max upstream payload: 256 bytes [ 2.120001] riffa: saved FPGA with id: 0

Will the "module verification failed" cause any other issue? I don't know if this is normal or not. I tested using the testutil, and it seems working fine.