Skip to contentSkip to conversation

amd_iommu driver timeout (i >= MMIO_STATUS_TIMEOUT) during S3 resume on ASUS B650M (Ryzen 8700G)

BUG Gareth Wilson 2 participants 2 messages Aug 7 – Oct 2 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello
I'm experiencing random long resume from suspend times that are fixed by adding this to the kernel boot command, amd_iommu=off I've attached some dmesg logs of the issue
Kernel: 7.1.5-artix1-2 PREEMPT (Artix Linux)Hardware: ASUS TUF GAMING B650M-E WIFIBIOS Version: 3854 (Release Date: 04/03/2026)CPU: Ryzen 8700G Please let me know if there's any more info needed
Thanks
Gareth

#2 lore raw

Am 07.08.26 um 04:10 schrieb Gareth Wilson:

Quoted 1 line

I'm experiencing random long resume from suspend times that are fixed by adding this to the kernel boot command, amd_iommu=off

Same symptom here, independent hardware, so it does not look board-specific.

CPU: AMD Ryzen 7 8700G
Board: ASRock B650I Lightning WiFi, BIOS 3.30 (AGESA ComboAM5
1.2.0.3e Patch A)
Kernel: Ubuntu 6.8.0-139, -142 and -146 (Ubuntu 24.04 base), all affected

Over 87 S3 cycles across four boots, measured as monotonic time from "PM: suspend entry" to "PM: suspend exit":

- 12 cycles took 30.5-34.5 s. All 12 have the warning below.
- 75 cycles took 3.6-23.5 s. None has the warning.

  WARNING: CPU: 0 PID: 2647255 at drivers/iommu/amd/init.c:980
           enable_iommus_vapic+0x343/0x3a0
  Call Trace:
   amd_iommu_enable_interrupts+0x12a/0x350
   amd_iommu_resume+0x38/0x50
   syscore_resume+0x41/0x1c0
   suspend_enter+0x2f5/0x440
   suspend_devices_and_enter+0x195/0x2f0

In a slow cycle the gap sits right after "AMD-Vi: Virtual APIC enabled":

  [43027.178249] AMD-Vi: Virtual APIC enabled
  [43050.788745] ------------[ cut here ]------------

The intermediate cycles look like the same wait cut short: a 15.1 s cycle has no warning but an 8.9 s gap between two "Virtual APIC enabled" lines, so GALOG_RUN eventually came up before the 20 s loop expired.

I will test amd_iommu_intr=legacy (narrower than amd_iommu=off) and report back.

Regards,
Mike