Advertisement
Guest User

lost MSIs during irq affinity retargeting

a guest
Jan 22nd, 2020
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.32 KB | None | 0 0
  1. # Note: Hyperthreads have already been killed here... Usually 124 (xhci) is the one I lose in the repro, but we think we've seen others as well.
  2.  
  3. localhost ~ # cat /proc/interrupts
  4. CPU0 CPU2 CPU4 CPU6
  5. 0: 27 0 0 0 IO-APIC 2-edge timer
  6. 1: 9 0 0 0 IO-APIC 1-edge i8042
  7. 8: 0 0 0 0 IO-APIC 8-edge rtc0
  8. 9: 0 0 0 469 IO-APIC 9-fasteoi acpi
  9. 14: 0 1 0 0 IO-APIC 14-fasteoi INT34BB:00
  10. 16: 0 0 0 0 IO-APIC 16-fasteoi idma64.0, i2c_designware.0, i801_smbus
  11. 17: 0 0 0 71 IO-APIC 17-fasteoi idma64.1, i2c_designware.1
  12. 18: 0 0 0 0 IO-APIC 18-fasteoi idma64.2, i2c_designware.2
  13. 19: 0 0 0 0 IO-APIC 19-fasteoi idma64.3, i2c_designware.3
  14. 20: 0 872 0 0 IO-APIC 20-fasteoi idma64.5, ttyS0
  15. 22: 23241 0 0 0 IO-APIC 22-fasteoi idma64.6, pxa2xx-spi.6
  16. 23: 0 25792 0 0 IO-APIC 23-fasteoi idma64.7, pxa2xx-spi.7
  17. 32: 0 0 168 0 IO-APIC 32-fasteoi i2c_designware.4
  18. 45: 0 0 0 0 IO-APIC 45-edge PNP0C50:00
  19. 47: 0 0 0 0 IO-APIC 47-fasteoi chromeos-ec
  20. 79: 0 0 1 0 IO-APIC 79-fasteoi WCOM50C1:00
  21. 85: 0 0 0 0 IO-APIC 85-fasteoi chromeos-ec
  22. 93: 0 0 6219 0 IO-APIC 93-edge cr50_spi
  23. 112: 0 0 0 0 IO-APIC 112-fasteoi ELAN0001:00
  24. 120: 0 0 0 0 PCI-MSI 475136-edge PCIe PME
  25. 121: 0 0 121969 0 PCI-MSI 32768-edge i915
  26. 122: 0 0 0 0 PCI-MSI 376832-edge ahci[0000:00:17.0]
  27. 123: 0 0 0 4 PCI-MSI 524288-edge nvme0q0
  28. 124: 0 0 92039 0 PCI-MSI 327680-edge xhci_hcd
  29. 125: 6534 0 0 0 PCI-MSI 524289-edge nvme0q1
  30. 126: 0 0 0 0 PCI-MSI 524290-edge nvme0q2
  31. 127: 0 5896 0 0 PCI-MSI 524291-edge nvme0q3
  32. 128: 0 0 0 0 PCI-MSI 524292-edge nvme0q4
  33. 129: 0 0 4276 0 PCI-MSI 524293-edge nvme0q5
  34. 130: 0 0 0 0 PCI-MSI 524294-edge nvme0q6
  35. 131: 0 0 0 5940 PCI-MSI 524295-edge nvme0q7
  36. 132: 0 0 0 0 PCI-MSI 524296-edge nvme0q8
  37. 133: 0 1 0 0 intel-gpio 16 pen_eject
  38. 134: 0 0 0 74150 PCI-MSI 333824-edge iwlwifi: default queue
  39. 135: 0 0 0 0 PCI-MSI 333825-edge iwlwifi: queue 1
  40. 136: 0 0 0 0 PCI-MSI 333826-edge iwlwifi: queue 2
  41. 137: 0 0 0 0 PCI-MSI 333827-edge iwlwifi: queue 3
  42. 138: 0 0 0 0 PCI-MSI 333828-edge iwlwifi: queue 4
  43. 139: 0 0 0 0 PCI-MSI 333829-edge iwlwifi: queue 5
  44. 140: 0 0 0 0 PCI-MSI 333830-edge iwlwifi: queue 6
  45. 141: 0 0 0 0 PCI-MSI 333831-edge iwlwifi: queue 7
  46. 142: 0 0 0 0 PCI-MSI 333832-edge iwlwifi: queue 8
  47. 143: 4 0 0 0 PCI-MSI 333833-edge iwlwifi: exception
  48. 144: 0 0 0 0 sysfstrig0 cros-ec-accel_consumer5
  49. 145: 0 0 0 0 sysfstrig0 cros-ec-accel_consumer0
  50. 146: 0 0 0 0 dummy 0 i2c_hid
  51. 147: 0 0 0 0 rmi4 1 rmi4-00.fn01
  52. 148: 0 0 0 0 rmi4 2 rmi4-00.fn11
  53. 149: 0 0 0 0 rmi4 5 rmi4-00.fn30
  54. 150: 0 0 0 0 intel-gpio 160 da7219-aad
  55. 151: 0 286 0 0 PCI-MSI 514048-edge AudioHDA, AudioDSP
  56. NMI: 32 31 32 31 Non-maskable interrupts
  57. LOC: 3432894 3432624 3484298 3232875 Local timer interrupts
  58. SPU: 0 0 0 0 Spurious interrupts
  59. PMI: 32 31 32 31 Performance monitoring interrupts
  60. IWI: 2 1 70 5 IRQ work interrupts
  61. RTR: 0 0 0 0 APIC ICR read retries
  62. RES: 317170 242943 174747 99079 Rescheduling interrupts
  63. CAL: 39208 39224 39158 39315 Function call interrupts
  64. TLB: 24766 24861 24660 24404 TLB shootdowns
  65. TRM: 1534 1565 1644 1568 Thermal event interrupts
  66. THR: 0 0 0 0 Threshold APIC interrupts
  67. MCE: 0 0 0 0 Machine check exceptions
  68. MCP: 25 26 26 26 Machine check polls
  69. ERR: 0
  70. MIS: 0
  71. PIN: 0 0 0 0 Posted-interrupt notification event
  72. NPI: 0 0 0 0 Nested posted-interrupt event
  73. PIW: 0 0 0 0 Posted-interrupt wakeup event
  74. localhost ~ # lspci -vvv
  75. 00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
  76. Subsystem: Intel Corporation Device 7270
  77. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  78. Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  79. Latency: 0
  80. Capabilities: [e0] Vendor Specific Information: Len=10 <?>
  81.  
  82. 00:02.0 VGA compatible controller: Intel Corporation Device 9b41 (rev 02) (prog-if 00 [VGA controller])
  83. Subsystem: Intel Corporation Device 2212
  84. Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
  85. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  86. Latency: 0, Cache Line Size: 64 bytes
  87. Interrupt: pin A routed to IRQ 121
  88. Region 0: Memory at d0000000 (64-bit, non-prefetchable) [size=16M]
  89. Region 2: Memory at c0000000 (64-bit, prefetchable) [size=256M]
  90. Region 4: I/O ports at 1c00 [size=64]
  91. [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
  92. Capabilities: [40] Vendor Specific Information: Len=0c <?>
  93. Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00
  94. DevCap: MaxPayload 128 bytes, PhantFunc 0
  95. ExtTag- RBE+
  96. DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
  97. RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
  98. MaxPayload 128 bytes, MaxReadReq 128 bytes
  99. DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
  100. DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
  101. AtomicOpsCap: 32bit- 64bit- 128bitCAS-
  102. DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
  103. AtomicOpsCtl: ReqEn-
  104. Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
  105. Address: fee10004 Data: 4021
  106. Capabilities: [d0] Power Management version 2
  107. Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  108. Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
  109. Capabilities: [100 v1] Process Address Space ID (PASID)
  110. PASIDCap: Exec- Priv-, Max PASID Width: 14
  111. PASIDCtl: Enable- Exec- Priv-
  112. Capabilities: [200 v1] Address Translation Service (ATS)
  113. ATSCap: Invalidate Queue Depth: 00
  114. ATSCtl: Enable-, Smallest Translation Unit: 00
  115. Capabilities: [300 v1] Page Request Interface (PRI)
  116. PRICtl: Enable- Reset-
  117. PRISta: RF- UPRGI- Stopped+
  118. Page Request Capacity: 00008000, Page Request Allocation: 00000000
  119. Kernel driver in use: i915
  120.  
  121. 00:04.0 Signal processing controller: Intel Corporation Device 1903 (rev 0c)
  122. Subsystem: Intel Corporation Device 7270
  123. Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  124. Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  125. Interrupt: pin A routed to IRQ 16
  126. Region 0: Memory at 800000000 (64-bit, non-prefetchable) [size=32K]
  127. Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
  128. Address: 00000000 Data: 0000
  129. Capabilities: [d0] Power Management version 3
  130. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  131. Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  132. Capabilities: [e0] Vendor Specific Information: Len=0c <?>
  133. Kernel driver in use: proc_thermal
  134.  
  135. 00:08.0 System peripheral: Intel Corporation Sky Lake Gaussian Mixture Model
  136. Subsystem: Intel Corporation Device 7270
  137. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  138. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  139. Latency: 0, Cache Line Size: 64 bytes
  140. Interrupt: pin A routed to IRQ 11
  141. Region 0: Memory at d121c000 (64-bit, non-prefetchable) [size=4K]
  142. Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
  143. Address: 00000000 Data: 0000
  144. Capabilities: [dc] Power Management version 2
  145. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  146. Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
  147. Capabilities: [f0] PCI Advanced Features
  148. AFCap: TP+ FLR+
  149. AFCtrl: FLR-
  150. AFStatus: TP-
  151.  
  152. 00:12.0 Signal processing controller: Intel Corporation Device 02f9
  153. Subsystem: Intel Corporation Device 7270
  154. Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  155. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  156. Interrupt: pin A routed to IRQ 11
  157. Region 0: Memory at d121d000 (64-bit, non-prefetchable) [size=4K]
  158. Capabilities: [50] Power Management version 3
  159. Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  160. Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  161. Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
  162. Address: 00000000 Data: 0000
  163.  
  164. 00:14.0 USB controller: Intel Corporation Device 02ed (prog-if 30 [XHCI])
  165. Subsystem: Intel Corporation Device 7270
  166. Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
  167. Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  168. Interrupt: pin A routed to IRQ 124
  169. Region 0: Memory at d1200000 (64-bit, non-prefetchable) [size=64K]
  170. Capabilities: [70] Power Management version 2
  171. Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
  172. Status: D3 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME-
  173. Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
  174. Address: 00000000fee10004 Data: 402a
  175. Capabilities: [90] Vendor Specific Information: Len=14 <?>
  176. Kernel driver in use: xhci_hcd
  177.  
  178. 00:14.2 RAM memory: Intel Corporation Device 02ef
  179. Subsystem: Intel Corporation Device 7270
  180. Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  181. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  182. Region 0: Memory at d1218000 (64-bit, non-prefetchable) [size=8K]
  183. Region 2: Memory at d121e000 (64-bit, non-prefetchable) [size=4K]
  184. Capabilities: [80] Power Management version 3
  185. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  186. Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  187.  
  188. 00:14.3 Network controller: Intel Corporation Device 02f0
  189. Subsystem: Intel Corporation Device 0074
  190. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
  191. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  192. Latency: 0, Cache Line Size: 64 bytes
  193. Interrupt: pin A routed to IRQ 16
  194. Region 0: Memory at d1210000 (64-bit, non-prefetchable) [size=16K]
  195. Capabilities: [c8] Power Management version 3
  196. Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
  197. Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  198. Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
  199. Address: 0000000000000000 Data: 0000
  200. Capabilities: [40] Express (v2) Root Complex Integrated Endpoint, MSI 00
  201. DevCap: MaxPayload 128 bytes, PhantFunc 0
  202. ExtTag- RBE-
  203. DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
  204. RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+
  205. MaxPayload 128 bytes, MaxReadReq 128 bytes
  206. DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
  207. DevCap2: Completion Timeout: Range B, TimeoutDis+, LTR+, OBFF Via WAKE#
  208. AtomicOpsCap: 32bit- 64bit- 128bitCAS-
  209. DevCtl2: Completion Timeout: 16ms to 55ms, TimeoutDis-, LTR+, OBFF Disabled
  210. AtomicOpsCtl: ReqEn-
  211. Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
  212. Vector table: BAR=0 offset=00002000
  213. PBA: BAR=0 offset=00003000
  214. Capabilities: [100 v1] Latency Tolerance Reporting
  215. Max snoop latency: 0ns
  216. Max no snoop latency: 0ns
  217. Capabilities: [164 v1] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?>
  218. Kernel driver in use: iwlwifi
  219. Kernel modules: iwlwifi
  220.  
  221. 00:15.0 Serial bus controller [0c80]: Intel Corporation Device 02e8
  222. Subsystem: Intel Corporation Device 7270
  223. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  224. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  225. Latency: 0, Cache Line Size: 64 bytes
  226. Interrupt: pin A routed to IRQ 16
  227. Region 0: Memory at d121f000 (64-bit, non-prefetchable) [size=4K]
  228. Capabilities: [80] Power Management version 3
  229. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  230. Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  231. Capabilities: [90] Vendor Specific Information: Len=14 <?>
  232. Kernel driver in use: intel-lpss
  233.  
  234. 00:15.1 Serial bus controller [0c80]: Intel Corporation Device 02e9
  235. Subsystem: Intel Corporation Device 7270
  236. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  237. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  238. Latency: 0, Cache Line Size: 64 bytes
  239. Interrupt: pin B routed to IRQ 17
  240. Region 0: Memory at d1220000 (64-bit, non-prefetchable) [size=4K]
  241. Capabilities: [80] Power Management version 3
  242. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  243. Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  244. Capabilities: [90] Vendor Specific Information: Len=14 <?>
  245. Kernel driver in use: intel-lpss
  246.  
  247. 00:15.2 Serial bus controller [0c80]: Intel Corporation Device 02ea
  248. Subsystem: Intel Corporation Device 7270
  249. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  250. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  251. Latency: 0, Cache Line Size: 64 bytes
  252. Interrupt: pin C routed to IRQ 18
  253. Region 0: Memory at d1221000 (64-bit, non-prefetchable) [size=4K]
  254. Capabilities: [80] Power Management version 3
  255. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  256. Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  257. Capabilities: [90] Vendor Specific Information: Len=14 <?>
  258. Kernel driver in use: intel-lpss
  259.  
  260. 00:15.3 Serial bus controller [0c80]: Intel Corporation Device 02eb
  261. Subsystem: Intel Corporation Device 7270
  262. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  263. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  264. Latency: 0, Cache Line Size: 64 bytes
  265. Interrupt: pin D routed to IRQ 19
  266. Region 0: Memory at d1222000 (64-bit, non-prefetchable) [size=4K]
  267. Capabilities: [80] Power Management version 3
  268. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  269. Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  270. Capabilities: [90] Vendor Specific Information: Len=14 <?>
  271. Kernel driver in use: intel-lpss
  272.  
  273. 00:17.0 SATA controller: Intel Corporation Device 02d3 (prog-if 01 [AHCI 1.0])
  274. Subsystem: Intel Corporation Device 7270
  275. Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
  276. Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  277. Latency: 0
  278. Interrupt: pin A routed to IRQ 122
  279. Region 0: Memory at d121a000 (32-bit, non-prefetchable) [size=8K]
  280. Region 1: Memory at d122a000 (32-bit, non-prefetchable) [size=256]
  281. Region 2: I/O ports at 1c60 [size=8]
  282. Region 3: I/O ports at 1c68 [size=4]
  283. Region 4: I/O ports at 1c40 [size=32]
  284. Region 5: Memory at d1229000 (32-bit, non-prefetchable) [size=2K]
  285. Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
  286. Address: fee40004 Data: 4022
  287. Capabilities: [70] Power Management version 3
  288. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
  289. Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  290. Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
  291. Kernel driver in use: ahci
  292.  
  293. 00:19.0 Serial bus controller [0c80]: Intel Corporation Device 02c5
  294. Subsystem: Intel Corporation Device 7270
  295. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  296. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  297. Latency: 0, Cache Line Size: 64 bytes
  298. Interrupt: pin A routed to IRQ 32
  299. Region 0: Memory at d1224000 (64-bit, non-prefetchable) [size=4K]
  300. Capabilities: [80] Power Management version 3
  301. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  302. Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  303. Capabilities: [90] Vendor Specific Information: Len=14 <?>
  304. Kernel driver in use: intel-lpss
  305.  
  306. 00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0) (prog-if 00 [Normal decode])
  307. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
  308. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  309. Latency: 0, Cache Line Size: 64 bytes
  310. Interrupt: pin A routed to IRQ 120
  311. Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
  312. I/O behind bridge: 0000f000-00000fff [empty]
  313. Memory behind bridge: d1000000-d10fffff [size=1M]
  314. Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [empty]
  315. Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
  316. BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
  317. PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
  318. Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
  319. DevCap: MaxPayload 128 bytes, PhantFunc 0
  320. ExtTag- RBE+
  321. DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
  322. RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
  323. MaxPayload 128 bytes, MaxReadReq 128 bytes
  324. DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
  325. LnkCap: Port #9, Speed 8GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <1us, L1 <16us
  326. ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp+
  327. LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
  328. ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
  329. LnkSta: Speed 8GT/s, Width x4, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
  330. SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
  331. Slot #8, PowerLimit 25.000W; Interlock- NoCompl+
  332. SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
  333. Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
  334. SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
  335. Changed: MRL- PresDet- LinkState+
  336. RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
  337. RootCap: CRSVisible-
  338. RootSta: PME ReqID 0000, PMEStatus- PMEPending-
  339. DevCap2: Completion Timeout: Range ABC, TimeoutDis+, LTR+, OBFF Not Supported ARIFwd+
  340. AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
  341. DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled ARIFwd-
  342. AtomicOpsCtl: ReqEn- EgressBlck-
  343. LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
  344. Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
  345. Compliance De-emphasis: -6dB
  346. LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+, EqualizationPhase1+
  347. EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest-
  348. Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
  349. Address: fee04004 Data: 4028
  350. Capabilities: [90] Subsystem: Intel Corporation Device 7270
  351. Capabilities: [a0] Power Management version 3
  352. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
  353. Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
  354. Capabilities: [100 v0] #00
  355. Capabilities: [140 v1] Access Control Services
  356. ACSCap: SrcValid+ TransBlk+ ReqRedir+ CmpltRedir+ UpstreamFwd- EgressCtrl- DirectTrans-
  357. ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
  358. Capabilities: [150 v1] Precision Time Measurement
  359. PTMCap: Requester:- Responder:+ Root:+
  360. PTMClockGranularity: 4ns
  361. PTMControl: Enabled:- RootSelected:-
  362. PTMEffectiveGranularity: Unknown
  363. Capabilities: [200 v1] L1 PM Substates
  364. L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
  365. PortCommonModeRestoreTime=40us PortTPowerOnTime=44us
  366. L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+
  367. T_CommonMode=40us LTR1.2_Threshold=163840ns
  368. L1SubCtl2: T_PwrOn=44us
  369. Capabilities: [220 v1] #19
  370. Capabilities: [250 v1] Downstream Port Containment
  371. DpcCap: INT Msg #0, RPExt+ PoisonedTLP+ SwTrigger+ RP PIO Log 4, DL_ActiveErr+
  372. DpcCtl: Trigger:0 Cmpl- INT- ErrCor- PoisonedTLP- SwTrigger- DL_ActiveErr-
  373. DpcSta: Trigger- Reason:00 INT- RPBusy- TriggerExt:00 RP PIO ErrPtr:1f
  374. Source: 0000
  375. Kernel driver in use: pcieport
  376.  
  377. 00:1e.0 Communication controller: Intel Corporation Device 02a8
  378. Subsystem: Intel Corporation Device 7270
  379. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  380. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  381. Latency: 0, Cache Line Size: 64 bytes
  382. Interrupt: pin A routed to IRQ 20
  383. Region 0: Memory at fe032000 (64-bit, non-prefetchable) [size=4K]
  384. Region 2: Memory at d1225000 (64-bit, non-prefetchable) [size=4K]
  385. Capabilities: [80] Power Management version 3
  386. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  387. Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  388. Capabilities: [90] Vendor Specific Information: Len=14 <?>
  389. Kernel driver in use: intel-lpss
  390.  
  391. 00:1e.2 Serial bus controller [0c80]: Intel Corporation Device 02aa
  392. Subsystem: Intel Corporation Device 7270
  393. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  394. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  395. Latency: 0, Cache Line Size: 64 bytes
  396. Interrupt: pin C routed to IRQ 22
  397. Region 0: Memory at d1226000 (64-bit, non-prefetchable) [size=4K]
  398. Capabilities: [80] Power Management version 3
  399. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  400. Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  401. Capabilities: [90] Vendor Specific Information: Len=14 <?>
  402. Kernel driver in use: intel-lpss
  403.  
  404. 00:1e.3 Serial bus controller [0c80]: Intel Corporation Device 02ab
  405. Subsystem: Intel Corporation Device 7270
  406. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  407. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  408. Latency: 0, Cache Line Size: 64 bytes
  409. Interrupt: pin D routed to IRQ 23
  410. Region 0: Memory at d1227000 (64-bit, non-prefetchable) [size=4K]
  411. Capabilities: [80] Power Management version 3
  412. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  413. Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  414. Capabilities: [90] Vendor Specific Information: Len=14 <?>
  415. Kernel driver in use: intel-lpss
  416.  
  417. 00:1f.0 ISA bridge: Intel Corporation Device 0284
  418. Subsystem: Intel Corporation Device 7270
  419. Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
  420. Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  421. Latency: 0
  422.  
  423. 00:1f.3 Multimedia audio controller: Intel Corporation Device 02c8
  424. Subsystem: Intel Corporation Device 7270
  425. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
  426. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  427. Latency: 64, Cache Line Size: 64 bytes
  428. Interrupt: pin A routed to IRQ 151
  429. Region 0: Memory at d1214000 (64-bit, non-prefetchable) [size=16K]
  430. Region 4: Memory at d1100000 (64-bit, non-prefetchable) [size=1M]
  431. Capabilities: [50] Power Management version 3
  432. Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
  433. Status: D3 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME-
  434. Capabilities: [80] Vendor Specific Information: Len=14 <?>
  435. Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
  436. Address: 00000000fee04004 Data: 402b
  437. Kernel driver in use: sof-audio-pci
  438. Kernel modules: snd_hda_intel, snd_soc_skl, sof_pci_dev
  439.  
  440. 00:1f.4 SMBus: Intel Corporation Device 02a3
  441. Subsystem: Intel Corporation Device 7270
  442. Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  443. Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  444. Interrupt: pin A routed to IRQ 16
  445. Region 0: Memory at d122b000 (64-bit, non-prefetchable) [size=256]
  446. Region 4: I/O ports at efa0 [size=32]
  447. Kernel driver in use: i801_smbus
  448.  
  449. 00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 02a4
  450. Subsystem: Intel Corporation Device 7270
  451. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
  452. Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  453. Latency: 0
  454. Region 0: Memory at fe010000 (32-bit, non-prefetchable) [size=4K]
  455.  
  456. 01:00.0 Non-Volatile memory controller: Broadcom Corporation (Wrong ID) Device 9100 (rev 03) (prog-if 02 [NVM Express])
  457. Subsystem: Silicon Motion, Inc. Device 2263
  458. Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
  459. Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  460. Latency: 0, Cache Line Size: 64 bytes
  461. Interrupt: pin A routed to IRQ 16
  462. Region 0: Memory at d1000000 (64-bit, non-prefetchable) [size=16K]
  463. Capabilities: [40] Power Management version 3
  464. Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  465. Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  466. Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit+
  467. Address: 0000000000000000 Data: 0000
  468. Masking: 00000000 Pending: 00000000
  469. Capabilities: [70] Express (v2) Endpoint, MSI 00
  470. DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
  471. ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 25.000W
  472. DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
  473. RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset-
  474. MaxPayload 128 bytes, MaxReadReq 512 bytes
  475. DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
  476. LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <8us
  477. ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
  478. LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
  479. ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
  480. LnkSta: Speed 8GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
  481. DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Not Supported
  482. AtomicOpsCap: 32bit- 64bit- 128bitCAS-
  483. DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled
  484. AtomicOpsCtl: ReqEn-
  485. LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
  486. Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS+
  487. Compliance De-emphasis: Unknown
  488. LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete+, EqualizationPhase1+
  489. EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest-
  490. Capabilities: [b0] MSI-X: Enable+ Count=16 Masked-
  491. Vector table: BAR=0 offset=00002000
  492. PBA: BAR=0 offset=00002100
  493. Capabilities: [100 v2] Advanced Error Reporting
  494. UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
  495. UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
  496. UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
  497. CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
  498. CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
  499. AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
  500. MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
  501. HeaderLog: 00000000 00000000 00000000 00000000
  502. Capabilities: [158 v1] #19
  503. Capabilities: [178 v1] Latency Tolerance Reporting
  504. Max snoop latency: 3145728ns
  505. Max no snoop latency: 3145728ns
  506. Capabilities: [180 v1] L1 PM Substates
  507. L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
  508. PortCommonModeRestoreTime=10us PortTPowerOnTime=10us
  509. L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+
  510. T_CommonMode=0us LTR1.2_Threshold=163840ns
  511. L1SubCtl2: T_PwrOn=44us
  512. Kernel driver in use: nvme
  513.  
  514. localhost ~ # cat /mnt/stateful_partition/unencrypted/preserve/cpu_torture.sh
  515. #!/bin/sh
  516.  
  517. plug_cpus () {
  518. for i in 1 3 5 7; do
  519. echo "$1" > /sys/devices/system/cpu/cpu$i/online
  520. done
  521. }
  522.  
  523. online_cpus () {
  524. plug_cpus 1
  525. }
  526.  
  527. offline_cpus () {
  528. plug_cpus 0
  529. }
  530.  
  531. retarget_irqs() {
  532. for i in /proc/irq/[0-9]*; do
  533. echo "$1" > "$i/smp_affinity" 2>/dev/null
  534. done
  535. }
  536.  
  537. print_irq_affinities() {
  538. for i in /proc/irq/[0-9]*; do
  539. echo "$i: $(cat $i/effective_affinity)"
  540. done
  541. }
  542.  
  543. point_at_hyperthreads() {
  544. online_cpus
  545. retarget_irqs A
  546. retarget_irqs A
  547. retarget_irqs F
  548. }
  549.  
  550. kill_the_hyperthreads() {
  551. offline_cpus
  552. }
  553.  
  554. mayhem() {
  555. while ! dmesg | grep "HC died"; do
  556. point_at_hyperthreads
  557. kill_the_hyperthreads
  558. done
  559. }
  560.  
  561. mayhem
  562. localhost ~ #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement