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

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sun, 19 Mar 2017 02:26:35 -0000

#13381: IOMMU 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:  IOMMU
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------
Changes (by kallisti5):

 * keywords:   => IOMMU


Comment:

 wwwait..  0:0:2 is 00.2 in the tree above, not 02.0.

 {{{
 PCI: [dom 0, bus  0] bus   0, device  0, function  2: vendor 1022, device
 1451, revision 00
 182     PCI:   class_base 08, class_function 06, class_api 00
 183     PCI:   vendor 1022: Advanced Micro Devices, Inc. [AMD]
 184     PCI:   device 1451: Unknown
 185     PCI:   info: Generic system peripheral (IOMMU)
 186     PCI:   line_size 00, latency 00, header_type 80, BIST 00
 187     PCI:   ROM base host 00000000, pci 00000000, size 00000000
 188     PCI:   cardbus_CIS 00000000, subsystem_id 1451,
 subsystem_vendor_id 1022
 189     PCI:   interrupt_line ff, interrupt_pin 01, min_grant 00,
 max_latency 00
 190     PCI:   base reg 0: host 00000000, pci 00000000, size 00000000,
 flags 00
 191     PCI:   base reg 1: host 00000000, pci 00000000, size 00000000,
 flags 00
 192     PCI:   base reg 2: host 00000000, pci 00000000, size 00000000,
 flags 00
 193     PCI:   base reg 3: host 00000000, pci 00000000, size 00000000,
 flags 00
 194     PCI:   base reg 4: host 00000000, pci 00000000, size 00000000,
 flags 00
 195     PCI:   base reg 5: host 00000000, pci 00000000, size 00000000,
 flags 00
 196     PCI:   Capabilities: Secure Device, MSI, HyperTransport
 }}}

 It looks like that's IOMMU. Which would explain why I didn't see this bug
 the first time, and why jua "Started seeing it"   I bet having IOMMU
 enabled in the BIOS causes it :-)

 {{{
 # lspci -s 00:00.2 -vv
 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1451
         Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1451
         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+
         Interrupt: pin A routed to IRQ 27
         Capabilities: [40] Secure device <?>
         Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
                 Address: 00000000fee00000  Data: 4091
         Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+
 }}}

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

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #13381: IOMMU IRQ routing panic on UEFI Ryzen 7 X370 system (was: IRQ routing panic on UEFI Ryzen 7 X370 system) - kallisti5