[haiku-bugs] Re: [Haiku] #13381: IRQ routing panic on UEFI Ryzen 7 X370 system

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sun, 19 Mar 2017 01:42:53 -0000

#13381: IRQ routing panic on UEFI Ryzen 7 X370 system
-----------------------------+----------------------------
   Reporter:  kallisti5      |      Owner:  nobody
       Type:  bug            |     Status:  assigned
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by kallisti5):

 The ACPI error seems unrelated. The same error can be seen on Linux
 machines and seems to be a common cosmetic problem with this generation of
 boards. (likely something the parser isn't aware of)

 So the issue seems to be related to this device:
 {{{
 $ sudo lspci -vvv -s 00:02
 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
         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-
 }}}

 There is an identical host bridge at 00:03, however it has things
 attached:

 {{{
 $ sudo lspci -vvv -s 00:03
 00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
         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-

 00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453 (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
         Bus: primary=00, secondary=28, subordinate=28, sec-latency=0
         I/O behind bridge: 0000d000-0000dfff [size=4K]
         Memory behind bridge: fe800000-fe8fffff [size=1M]
         Prefetchable memory behind bridge:
 00000000e0000000-00000000f01fffff [size=258M]
         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: [50] 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: [58] Express (v2) Root Port (Slot+), MSI 00
                 DevCap: MaxPayload 512 bytes, PhantFunc 0
                         ExtTag+ RBE+
                 DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
 Unsupported-
                         RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                         MaxPayload 256 bytes, MaxReadReq 512 bytes
                 DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
 TransPend-
                 LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L1, Exit
 Latency L0s <512ns, L1 <64us
                         ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp+
                 LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                 LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+
 DLActive+ BWMgmt+ ABWMgmt+
                 SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug-
 Surprise-
                         Slot #0, PowerLimit 0.000W; Interlock- NoCompl+
                 SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt-
 HPIrq- LinkChg-
                         Control: AttnInd Unknown, PwrInd Unknown, 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 ABCD, TimeoutDis+,
 LTR-, OBFF Not Supported ARIFwd+
                 AtomicOpsCap: Routing- 32bit+ 64bit+ 128bitCAS-
                 DevCtl2: Completion Timeout: 65ms to 210ms, TimeoutDis-,
 LTR-, OBFF Disabled ARIFwd+
                 AtomicOpsCtl: ReqEn- EgressBlck-
                 LnkCtl2: Target Link Speed: 8GT/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: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
                 Address: 0000000000000000  Data: 0000
         Capabilities: [c0] Subsystem: ASUSTeK Computer Inc. Device 8747
         Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
         Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1
 Len=010 <?>
         Capabilities: [270 v1] #19
         Capabilities: [370 v1] L1 PM Substates
                 L1SubCap: PCI-PM_L1.2- PCI-PM_L1.1+ ASPM_L1.2- ASPM_L1.1+
 L1_PM_Substates+
                 L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-

                 L1SubCtl2:
         Capabilities: [3c4 v1] #23
         Kernel driver in use: pcieport
         Kernel modules: shpchp
 }}}

 So it seems related to the unused host bridge?

 https://rog.asus.com/media/14878984098.gif

--
Ticket URL: <https://dev.haiku-os.org/ticket/13381#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: