]> mj.ucw.cz Git - pciutils.git/commitdiff
Updated test cases from Yu Zhao.
authorMartin Mares <mj@ucw.cz>
Tue, 30 Dec 2008 16:15:49 +0000 (17:15 +0100)
committerMartin Mares <mj@ucw.cz>
Tue, 30 Dec 2008 16:15:49 +0000 (17:15 +0100)
tests/cap-pcie-1
tests/cap-pcie-2

index da5df1e6986293ff4f1c6eb997c388a1c18674a1..f82b71d4cee51c443ef54efa34dbace679d691d3 100644 (file)
@@ -1,68 +1,72 @@
-00:01.0 Class 0604: Device 8086:3408 (rev 10)
-       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx+
+00:01.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 1 (rev 12) (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- <MAbort- >SERR- <PERR- INTx-
-       Latency: 0
+       Latency: 0, Cache Line Size: 64 bytes
        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
+       I/O behind bridge: 00001000-00001fff
+       Memory behind bridge: e0000000-e09fffff
+       Prefetchable memory behind bridge: 00000000c7800000-00000000c7ffffff
        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: [40] Subsystem: Device 8086:0000
-       Capabilities: [60] MSI: Mask+ 64bit- Count=1/2 Enable+
-               Address: fee00000  Data: 40b0
-               Masking: 00000003  Pending: 00000000
-       Capabilities: [90] Express (v2) Root Port (Slot-), MSI 00
+       Capabilities: [40] Subsystem: Intel Corporation Device 4f53
+       Capabilities: [60] MSI: Mask+ 64bit- Count=1/2 Enable-
+               Address: 00000020  Data: 0000
+               Masking: 00000000  Pending: 00000000
+       Capabilities: [90] Express (v2) Root Port (Slot+), MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag+ RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
-                       MaxPayload 128 bytes, MaxReadReq 128 bytes
+                       MaxPayload 256 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
-               LnkCap: Port #1, Speed 5GT/s, Width x4, ASPM unknown, Latency L0 <512ns, L1 <4us
-                       ClockPM- Surprise+ LLActRep+ BwNot+
-               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
+               LnkCap: Port #1, Speed 5GT/s, Width x4, ASPM L0s L1, Latency L0 <512ns, L1 <4us
+                       ClockPM- Suprise+ LLActRep+ BwNot+
+               LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
-               LnkSta: Speed 2.5GT/s, Width x0, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
-               RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible+
+               LnkSta: Speed 2.5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
+               SltCap: AttnBtn+ PwrCtrl+ MRL+ AttnInd+ PwrInd+ HotPlug- Surpise-
+                       Slot # 40, PowerLimit 0.000000; Interlock+ NoCompl-
+               SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
+                       Control: AttnInd Off, PwrInd Off, Power+ Interlock-
+               SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
+                       Changed: MRL- PresDet+ LinkState+
+               RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
                DevCap2: Completion Timeout: Range BCD, TimeoutDis+ ARIFwd+
                DevCtl2: Completion Timeout: 260ms to 900ms, TimeoutDis+ ARIFwd+
-               LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -3.5dB
+               LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance+ SpeedDis-, Selectable De-emphasis: -6dB
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
-               LnkSta2: Current De-emphasis Level: -3.5dB
+               LnkSta2: Current De-emphasis Level: -6dB
        Capabilities: [e0] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [100] Advanced Error Reporting
-               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
-               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
-               UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
+               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
+               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
+               UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
-               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
+               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
        Capabilities: [150] Access Control Services
                ACSCap: SrcValid+ TransBlk+ ReqRedir+ CmpltRedir+ UpstreamFwd+ EgressCtrl- DirectTrans-
                ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
        Capabilities: [160] Vendor Specific Information <?>
-       Kernel driver in use: pcieport-driver
-       Kernel modules: shpchp
-00: 86 80 08 34 47 05 10 00 10 00 04 06 00 00 01 00
-10: 00 00 00 00 00 00 00 00 00 01 01 00 f0 00 00 00
-20: f0 ff 00 00 f1 ff 01 00 00 00 00 00 00 00 00 00
+00: 86 80 08 34 47 01 10 00 12 00 04 06 10 00 01 00
+10: 00 00 00 00 00 00 00 00 00 01 01 00 10 10 00 00
+20: 00 e0 90 e0 81 c7 f1 c7 00 00 00 00 00 00 00 00
 30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00
-40: 0d 60 00 00 86 80 00 00 00 00 00 00 00 00 00 00
+40: 0d 60 00 00 86 80 53 4f 00 00 00 00 00 00 00 00
 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-60: 05 90 03 01 00 00 e0 fe b0 40 00 00 03 00 00 00
+60: 05 90 02 01 20 00 00 00 00 00 00 00 00 00 00 00
 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-90: 10 e0 42 00 21 80 00 00 00 00 00 00 42 30 39 01
-a0: 40 00 01 10 00 00 00 00 00 00 48 00 10 00 01 00
+90: 10 e0 42 01 21 80 00 00 20 00 00 00 42 3c 39 01
+a0: 42 00 41 70 1f 00 02 02 c0 07 48 01 00 00 01 00
 b0: 00 00 00 00 3e 00 00 00 39 00 00 00 00 00 00 00
-c0: 42 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
+c0: 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 e0: 01 00 03 c8 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@@ -74,16 +78,16 @@ f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 150: 0d 00 01 16 1f 00 00 00 03 69 00 00 00 00 00 00
 160: 0b 00 00 00 02 00 c0 00 00 00 00 00 00 00 00 00
 170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-180: 0c 30 18 00 00 00 00 00 00 10 00 20 00 00 00 00
-190: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+180: 00 30 18 00 00 00 00 00 00 10 00 20 00 00 00 00
+190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 1a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 1b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 1c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 1d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 1e0: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00
 1f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-210: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+200: 01 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00
+210: 02 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00
 220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
index a50a3b964c7bb20252747015d18f61539785ff38..b7944a3f01a61d81852efe1caf73f3164f8d3e58 100644 (file)
@@ -1,17 +1,18 @@
-09:00.0 Class 0200: Device 8086:10c9 (rev 01)
+01:00.0 Ethernet controller: Intel Corporation Device 10c9 (rev 01)
+       Subsystem: Intel Corporation Device a03c
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
-       Region 0: Memory at b1a60000 (32-bit, non-prefetchable) [size=128K]
-       Region 1: Memory at b1a40000 (32-bit, non-prefetchable) [size=128K]
-       Region 2: I/O ports at 2020 [size=32]
-       Region 3: Memory at b1b04000 (32-bit, non-prefetchable) [size=16K]
-       Expansion ROM at f7f00000 [disabled] [size=128K]
+       Region 0: Memory at e0800000 (32-bit, non-prefetchable) [size=128K]
+       Region 1: Memory at e0000000 (32-bit, non-prefetchable) [size=4M]
+       Region 2: I/O ports at 1020 [size=32]
+       Region 3: Memory at e0840000 (32-bit, non-prefetchable) [size=16K]
+       Expansion ROM at c7800000 [disabled] [size=4M]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
-       Capabilities: [50] MSI: Mask+ 64bit+ Count=0/1 Enable-
+       Capabilities: [50] MSI: Mask+ 64bit+ Count=1/1 Enable-
                Address: 0000000000000000  Data: 0000
                Masking: 00000000  Pending: 00000000
        Capabilities: [70] MSI-X: Enable+ Mask- TabSize=10
@@ -24,9 +25,9 @@
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 256 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
-               LnkCap: Port #2, Speed 2.5GT/s, Width x4, ASPM L0s L1, Latency L0 <4us, L1 <64us
-                       ClockPM- Surprise- LLActRep- BwNot-
-               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
+               LnkCap: Port #0, Speed 2.5GT/s, Width x4, ASPM L0s L1, Latency L0 <4us, L1 <64us
+                       ClockPM- Suprise- LLActRep- BwNot-
+               LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB
        Capabilities: [100] Advanced Error Reporting
-               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
-               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
-               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
-               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
+               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
+               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
+               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
+               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
-       Capabilities: [140] Device Serial Number 4c-17-12-ff-ff-21-1b-00
+       Capabilities: [140] Device Serial Number e0-46-2b-ff-ff-21-1b-00
        Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
                ARICap: MFVC- ACS-, Next Function: 1
                ARICtl: MFVC- ACS-, Function Group: 0
        Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
                IOVCap: Migration-, Interrupt Message Number: 000
-               IOVCtl: Enable+ Migration- Interrupt- MSE+ ARIHierarchy+
+               IOVCtl: Enable+ Migration- Interrupt- MSE+ ARIHierarchy-
                IOVSta: Migration-
-               Initial VFs: 8, Total VFs: 8, Number of VFs: 4, Function Dependency Link: 00
-               VF offset: 128, stride: 2, Device ID: 10ca
+               Initial VFs: 8, Total VFs: 8, Number of VFs: 1, Function Dependency Link: 00
+               VF offset: 384, stride: 2, Device ID: 10ca
                Supported Page Size: 00000553, System Page Size: 00000001
-               VF Migration: offset: 00000000, BIR: 1
+               VF Migration: offset: 00000000, BIR: 0
        Kernel driver in use: igb
-       Kernel modules: ipmi_si
 00: 86 80 c9 10 07 04 10 00 01 00 00 02 10 00 80 00
-10: 00 00 a6 b1 00 00 a4 b1 21 20 00 00 00 40 b0 b1
-20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-30: 00 00 fe ff 40 00 00 00 00 00 00 00 0b 01 00 00
+10: 00 00 80 e0 00 00 00 e0 21 10 00 00 00 00 84 e0
+20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 3c a0
+30: 00 00 80 c7 40 00 00 00 00 00 00 00 0b 01 00 00
 40: 01 50 23 c8 00 20 00 1a 00 00 00 00 00 00 00 00
 50: 05 70 80 01 00 00 00 00 00 00 00 00 00 00 00 00
 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 70: 11 a0 09 80 03 00 00 00 03 20 00 00 00 00 00 00
 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-a0: 10 00 02 00 c2 8c 00 10 30 28 19 00 41 6c 03 02
-b0: 40 00 41 10 00 00 00 00 00 00 00 00 00 00 00 00
+a0: 10 00 02 00 c2 8c 00 10 30 28 19 00 41 6c 03 00
+b0: 42 00 41 10 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 1f 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 e0: 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@@ -76,12 +76,12 @@ f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 110: 00 20 00 00 00 20 00 00 00 00 00 00 00 00 00 00
 120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-140: 03 00 01 15 4c 17 12 ff ff 21 1b 00 00 00 00 00
+140: 03 00 01 15 e0 46 2b ff ff 21 1b 00 00 00 00 00
 150: 0e 00 01 16 00 01 00 00 00 00 00 00 00 00 00 00
-160: 10 00 01 00 00 00 00 00 19 00 00 00 08 00 08 00
-170: 04 00 00 00 80 00 02 00 00 00 ca 10 53 05 00 00
-180: 01 00 00 00 04 00 a8 b1 00 00 00 00 00 00 00 00
-190: 04 00 a9 b1 00 00 00 00 00 00 00 00 00 00 00 00
+160: 10 00 01 00 00 00 00 00 09 00 00 00 08 00 08 00
+170: 01 00 00 00 80 01 02 00 00 00 ca 10 53 05 00 00
+180: 01 00 00 00 04 00 84 d2 00 00 00 00 00 00 00 00
+190: 04 00 86 d2 00 00 00 00 00 00 00 00 00 00 00 00
 1a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 1b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 1c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00