Other Parts Discussed in Thread: SYSCONFIG
Tool/software: Linux
We are troubleshooting an issue that involves unidentified PCIe transactions that originate from the am5728.
What makes these transactions stand apart from the normal traffic we recognize, is the transaction length and the target address.
1) The target address is typically an invalid address with respect to our custom hardware. This causes timeouts and other issues to occur.
2) The transaction length is either 16 DW or 2 DW reads and appear as 1 x 16 DW or 8 x 2 DW
Example transactions are pasted below.
We suspect these transactions may be associated with caching, but have verified that caching is disabled on this space. Are there other blocks in the am5728 that generate transactions with these characteristics?
Is the "firewall" in the L3 interconnect something we could use to protect this space and get a clue about the originator?
We have attempted to use the MMU to protect this space, but the unidentified transactions still occur with no seg faults. Intentionally accessing the invalid addresses in this region confirms the MMU protection does cause seg faults. This result seems to point away from our software application having a bad pointer or something.
Our kernel driver does not need to access this space, so we disabled the code that iomaps the BAR4 region associated with the addresses below. We think this rules out a bad pointer in the driver.
We have also injected purposeful PCIe transactions with known payload to check for correlation between application code, driver ISR, driver ioctl, etc. and the unidentified transactions do not appear to correlate with the software we have instrumented.
Are there any tools, techniques or clues we can use to identify the originator of these transactions?
1 x 16 DW:
Timestamp |
Link |
Payload |
Address[31:0] |
PacketType |
STP_SeqNum |
Fmt |
Length |
'517.255 858 us' |
SA 1_Dn |
0x23A0B3E4 |
MRd(32) |
0x07AE |
0x0 |
1 |
|
'518.934 962 us' |
SA 1_Up |
0008 0053 |
CplD |
0x0B71 |
0x2 |
1 |
|
'519.535 579 us' |
SA 1_Dn |
0000 0002 |
0x23A0B3E4 |
MWr(32) |
0x07AF |
0x2 |
1 |
'523.707 103 us' |
SA 1_Dn |
0x23A0C3E4 |
MRd(32) |
0x07B0 |
0x0 |
1 |
|
'525.388 081 us' |
SA 1_Up |
0008 0000 |
CplD |
0x0B72 |
0x2 |
1 |
|
'525.980 265 us' |
SA 1_Dn |
0000 0002 |
0x23A0C3E4 |
MWr(32) |
0x07B1 |
0x2 |
1 |
'548.397 053 us' |
SA 1_Dn |
0x23A010D0 |
MRd(32) |
0x07B2 |
0x0 |
1 |
|
'550.066 787 us' |
SA 1_Up |
0000 0000 |
CplD |
0x0B73 |
0x2 |
1 |
|
'550.786 403 us' |
SA 1_Dn |
0000 0000 |
0x23A010D0 |
MWr(32) |
0x07B3 |
0x2 |
1 |
'6.041 890 314 ms' |
SA 1_Dn |
0x22ED1640 |
MRd(32) |
0x07B4 |
0x0 |
16 |
|
'6.085 532 026 ms' |
SA 1_Up |
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0006 0000 0000 0000 0000 0000 0000 FFFF FFFF 0000 0000 FFFF FFFF 0000 0000 0000 0000 0000 0000 |
|
CplD |
0x0B74 |
0x2 |
16 |
'72.100 189 796 ms' |
SA 1_Dn |
0x22A26014 |
MRd(32) |
0x07B5 |
0x0 |
1 |
|
'72.101 878 270 ms' |
SA 1_Up |
0000 0000 |
CplD |
0x0B75 |
0x2 |
1 |
|
'72.103 840 348 ms' |
SA 1_Dn |
00DF FFFF |
0x22A26014 |
MWr(32) |
0x07B6 |
0x2 |
1 |
'72.107 631 450 ms' |
SA 1_Dn |
0x23A26014 |
MRd(32) |
0x07B7 |
0x0 |
1 |
|
'72.109 325 546 ms' |
SA 1_Up |
0000 0000 |
CplD |
0x0B76 |
0x2 |
1 |
|
'72.109 981 446 ms' |
SA 1_Dn |
00DF FFFF |
0x23A26014 |
MWr(32) |
0x07B8 |
0x2 |
1 |
'72.118 503 461 ms' |
SA 1_Dn |
0x22A26044 |
MRd(32) |
0x07B9 |
0x0 |
1 |
|
'72.120 211 612 ms' |
SA 1_Up |
0000 0000 |
CplD |
0x0B77 |
0x2 |
1 |
|
'72.120 878 756 ms' |
SA 1_Dn |
00DF FFFF |
0x22A26044 |
MWr(32) |
0x07BA |
0x2 |
1 |
'72.123 342 129 ms' |
SA 1_Dn |
0x23A26044 |
MRd(32) |
0x07BB |
0x0 |
1 |
8 x 2 DW:
Timestamp |
Link |
Payload |
Address[31:0] |
PacketType |
STP_SeqNum |
Fmt |
Length |
'47.429 512 949 ms' |
SA 1_Dn |
0000 0100 |
0x23A053E4 |
MWr(32) |
0x0924 |
0x2 |
1 |
'47.430 232 565 ms' |
SA 1_Dn |
0x23A053E0 |
MRd(32) |
0x0925 |
0x0 |
1 |
|
'47.431 940 716 ms' |
SA 1_Up |
0000 0001 |
CplD |
0x0F21 |
0x2 |
1 |
|
'47.432 901 141 ms' |
SA 1_Dn |
0x23A053E4 |
MRd(32) |
0x0926 |
0x0 |
1 |
|
'47.434 607 418 ms' |
SA 1_Up |
0000 0003 |
CplD |
0x0F22 |
0x2 |
1 |
|
'47.436 982 713 ms' |
SA 1_Dn |
0x23A053E4 |
MRd(32) |
0x0927 |
0x0 |
1 |
|
'47.438 653 384 ms' |
SA 1_Up |
0000 0003 |
CplD |
0x0F23 |
0x2 |
1 |
|
'47.439 301 788 ms' |
SA 1_Dn |
0000 0200 |
0x23A053E4 |
MWr(32) |
0x0928 |
0x2 |
1 |
'47.440 001 727 ms' |
SA 1_Dn |
0x23A053E0 |
MRd(32) |
0x0929 |
0x0 |
1 |
|
'47.441 702 382 ms' |
SA 1_Up |
0000 0001 |
CplD |
0x0F24 |
0x2 |
1 |
|
'67.402 187 047 ms' |
SA 1_Dn |
0x22ED54D0 |
MRd(32) |
0x092A |
0x0 |
2 |
|
'67.402 203 913 ms' |
SA 1_Dn |
0x22ED54D8 |
MRd(32) |
0x092B |
0x0 |
2 |
|
'67.402 228 275 ms' |
SA 1_Dn |
0x22ED54E0 |
MRd(32) |
0x092C |
0x0 |
2 |
|
'67.402 245 141 ms' |
SA 1_Dn |
0x22ED54E8 |
MRd(32) |
0x092D |
0x0 |
2 |
|
'67.402 269 503 ms' |
SA 1_Dn |
0x22ED54F0 |
MRd(32) |
0x092E |
0x0 |
2 |
|
'67.402 286 369 ms' |
SA 1_Dn |
0x22ED54F8 |
MRd(32) |
0x092F |
0x0 |
2 |
|
'67.402 306 983 ms' |
SA 1_Dn |
0x22ED54C0 |
MRd(32) |
0x0930 |
0x0 |
2 |
|
'67.402 327 597 ms' |
SA 1_Dn |
0x22ED54C8 |
MRd(32) |
0x0931 |
0x0 |
2 |
|
'67.445 874 672 ms' |
SA 1_Up |
0000 0000 0000 0000 |
CplD |
0x0F25 |
0x2 |
2 |
|
'67.488 474 440 ms' |
SA 1_Up |
0000 0000 0000 0000 |
CplD |
0x0F26 |
0x2 |
2 |
|
'67.531 137 924 ms' |
SA 1_Up |
0000 0000 0000 0000 |
CplD |
0x0F27 |
0x2 |
2 |
|
'67.573 802 345 ms' |
SA 1_Up |
0000 0000 0000 0000 |
CplD |
0x0F28 |
0x2 |
2 |
|
'67.616 435 845 ms' |
SA 1_Up |
0000 0000 0000 0000 |
CplD |
0x0F29 |
0x2 |
2 |
|
'67.659 099 329 ms' |
SA 1_Up |
0000 0000 0000 0000 |
CplD |
0x0F2A |
0x2 |
2 |
|
'67.701 729 081 ms' |
SA 1_Up |
0000 0000 0000 0000 |
CplD |
0x0F2B |
0x2 |
2 |
|
'67.744 434 730 ms' |
SA 1_Up |
0000 0000 0000 0000 |
CplD |
0x0F2C |
0x2 |
2 |
|
'77.187 984 545 ms' |
SA 1_Dn |
0x22A26014 |
MRd(32) |
0x0932 |
0x0 |
1 |
|
'77.189 687 074 ms' |
SA 1_Up |
0000 0000 |
CplD |
0x0F2D |
0x2 |
1 |
|
'77.191 280 911 ms' |
SA 1_Dn |
00DF FFFF |
0x22A26014 |
MWr(32) |
0x0933 |
0x2 |
1 |
'77.195 169 461 ms' |
SA 1_Dn |
0x23A26014 |
MRd(32) |
0x0934 |
0x0 |
1 |
|
'77.196 879 486 ms' |
SA 1_Up |
0000 0000 |
CplD |
0x0F2E |
0x2 |
1 |
|
'77.197 496 032 ms' |
SA 1_Dn |
00DF FFFF |
0x23A26014 |
MWr(32) |
0x0935 |
0x2 |
1 |
'77.204 953 615 ms' |
SA 1_Dn |
0x22A26044 |
MRd(32) |
0x0936 |
0x0 |
1 |
|
'77.206 607 420 ms' |
SA 1_Up |
0000 0000 |
CplD |
0x0F2F |
0x2 |
1 |
|
'77.207 280 186 ms' |
SA 1_Dn |
00DF FFFF |
0x22A26044 |
MWr(32) |
0x0937 |
0x2 |
1 |
'77.209 571 151 ms' |
SA 1_Dn |
0x23A26044 |
MRd(32) |
0x0938 |
0x0 |
1 |
|
'77.211 264 310 ms' |
SA 1_Up |
0000 0000 |
CplD |
0x0F30 |
0x2 |
1 |
|
'77.211 864 927 ms' |
SA 1_Dn |
00DF FFFF |
0x23A26044 |
MWr(32) |
0x0939 |
0x2 |
1 |
$ lspci -vv
00:00.0 PCI bridge: Texas Instruments Device 8888 (rev 01) (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, Cache Line Size: 64 bytes
Region 0: Memory at 20100000 (32-bit, non-prefetchable) [size=1M]
Region 1: Memory at 20020000 (32-bit, non-prefetchable) [size=64K]
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Prefetchable memory behind bridge: 21000000-23ffffff
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] 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: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 0000000092e0f000 Data: 0000
Capabilities: [70] 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 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x2, ASPM L0s L1, Latency L0 <512ns, L1 <64us
ClockPM- Surprise- LLActRep+ BwNot+
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x2, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not Supported ARIFwd-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [100 v2] Advanced Error Reporting
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-
Kernel driver in use: pcieport
01:00.0 Unassigned class [ff00]: PLD APPLICATIONS Device 1100 (rev 01)
Subsystem: Tektronix Device 108c
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 468
Region 0: Memory at 21400000 (64-bit, prefetchable) [size=16K]
Region 2: Memory at 21000000 (64-bit, prefetchable) [size=4M]
Region 4: Memory at 22000000 (64-bit, prefetchable) [size=32M]
Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
Address: 0000000000000000 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 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #1, Speed 5GT/s, Width x4, ASPM unknown, Latency L0 <4us, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x2, 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: -6dB, 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=ff
Status: NegoPending- InProgress-
Capabilities: [200 v1] Vendor Specific Information: ID=a000 Rev=0 Len=044 <?>
Kernel driver in use: plda