https://bugzilla.kernel.org/show_bug.cgi?id=220749

Yossi ([email protected]) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #27 from Yossi ([email protected]) ---
Same board here (HP OmniDesk Desktop M02-0xxx, board 8D32, Ryzen 5 8500G /
Radeon 740M),
same hang without acpi=off. Two data points that are not in this bug yet:

1. A newer BIOS exists and does not fix it.
   HP now ships F.11 (BIOS date 12/18/2025) for this board. I flashed F.05 ->
F.11.
   The hang is unchanged.

2. "pci=nocrs amd_iommu=off" boots with full ACPI.
   Kernel 7.0.0-43-generic (Ubuntu). Result: all 12 CPUs, ACPI IRQ routing,
amdgpu KMS,
   every USB controller, NVMe, SATA, Ethernet, and the WiFi driver loads. This
keeps far more than
   "pci=noacpi ...", which loses ACPI IRQ routing ("can't find IRQ for PCI INT
A" on
   most devices).

Where the default boot stops (captured with earlycon=efifb keep_bootcon
ignore_loglevel;
this is the last screen, then nothing):

  PCI: Using ACPI for IRQ routing
  PCI: pci_cache_line_size set to 64 bytes
  pci 0000:00:01.2: bridge window [mem 0xf6e00000-0xf6efffff]: can't claim; no
compatible bridge window
  pci 0000:00:02.1: bridge window [mem 0xf6a00000-0xf6cfffff]: can't claim; no
compatible bridge window
  pci 0000:02:00.0: bridge window [mem 0xf6a00000-0xf6cfffff]: can't claim; no
compatible bridge window
  pci 0000:03:05.0: bridge window [mem 0xf6c00000-0xf6cfffff]: can't claim; no
compatible bridge window
  pci 0000:03:0c.0: bridge window [mem 0xf6b00000-0xf6bfffff]: can't claim; no
compatible bridge window
  pci 0000:03:0d.0: bridge window [mem 0xf6a00000-0xf6afffff]: can't claim; no
compatible bridge window
  pci 0000:00:02.2: bridge window [mem 0xf6d00000-0xf6dfffff]: can't claim; no
compatible bridge window
  pci 0000:00:08.1: bridge window [mem 0xf6400000-0xf69fffff]: can't claim; no
compatible bridge window
  pci 0000:00:08.1: bridge window [mem 0xfcf0000000-0xfcffffffff 64bit pref]:
can't claim; no compatible bridge window

What _CRS reports (from the pci=nocrs boot, where the kernel prints and ignores
it):

  acpi PNP0A08:00: host bridge window [io  0x0cf8-0x0cff] (ignored)
  acpi PNP0A08:00: host bridge window [io  0x0000-0x03af window] (ignored)
  acpi PNP0A08:00: host bridge window [io  0x03e0-0x0cf7 window] (ignored)
  acpi PNP0A08:00: host bridge window [io  0x03b0-0x03df window] (ignored)
  acpi PNP0A08:00: host bridge window [io  0x0d00-0xffff window] (ignored)
  acpi PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff window]
(ignored)
  acpi PNP0A08:00: host bridge window [mem 0x000c0000-0x000dffff window]
(ignored)
  acpi PNP0A08:00: host bridge window [mem 0x50000000-0xffffffff window]
(ignored)

Two things stand out:
 - there is no 64-bit window at all, yet the iGPU's prefetchable BAR sits at
0xfcf0000000;
 - the single 32-bit window starts at 0x50000000, which overlaps RAM / ACPI NVS
on this
   machine (ACPI NVS region [mem 0x9cda0000-0x9ed9ffff]). A pci=noacpi boot
logs:
     platform PNP0A08:00: failed to claim resource 9: [mem
0x50000000-0xffffffff window]
     acpi PNP0A08:00: platform device creation failed: -16
   My reading (not proven) is that the window cannot be inserted, the root bus
ends up with
   no usable MMIO window, and every bridge then fails to claim.

Why amd_iommu=off is also needed: with "pci=nocrs" alone the machine boots with
12 CPUs, but
the chipset xHCI controller dies during boot and takes keyboard, USB disks and
WiFi with it:

  xhci_hcd 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0011
address=0xff00ffffffffe000 flags=0x0000]
  xhci_hcd 0000:05:00.0: Abort failed to stop command ring: -110
  xhci_hcd 0000:05:00.0: xHCI host controller not responding, assume dead
  xhci_hcd 0000:05:00.0: HC died; cleaning up
  rtw89_8852bte 0000:04:00.0: failed to alloc dma tx rings
  rtw89_8852bte 0000:04:00.0: probe with driver rtw89_8852bte failed with error
-12

  05:00.0 USB controller [0c03]: AMD 600 Series Chipset USB 3.2 Controller
[1022:43f7] (rev 01)

In that boot the kernel reports "AMD-Vi: Interrupt remapping enabled". With
pci=noacpi it
instead prints "AMD-Vi: : No southbridge IOAPIC found" / "AMD-Vi: Disabling
interrupt
remapping", matching comment #25. I have not tested "pci=nocrs iommu=pt".

Summary of what I tested (BIOS version in brackets):
  (no options)              hangs [F.05, F.11]; on F.11 at the bridge-window
lines above
  acpi=off                  boots, 1 CPU [F.05, F.11]
  nomodeset                 hangs [F.05]
  noapic                    hangs [F.05]
  acpi=noirq                hangs [F.05]
  amdgpu.sg_display=0       hangs [F.05]
  pci=noacpi                boots, 12 CPUs, 0000:05:00.0 xHCI dies, no IRQ
routing [F.05]
  pci=nocrs                 boots, 12 CPUs, 0000:05:00.0 xHCI dies [F.11]
  pci=nocrs amd_iommu=off   boots, 12 CPUs, all devices come up [F.11]

I can attach full dmesg for the pci=nocrs and pci=nocrs amd_iommu=off boots,
and test patches
or other options (pci=use_e820, iommu=pt) on request.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to