All of lore.kernel.org
 help / color / mirror / Atom feed
* I got an IOMMU IO page fault. What to do now?
@ 2021-10-25 10:25 ` Paul Menzel
  0 siblings, 0 replies; 18+ messages in thread
From: Paul Menzel @ 2021-10-25 10:25 UTC (permalink / raw)
  To: Jörg Rödel, Suravee Suthikulpanit
  Cc: iommu, Alex Deucher, Christian König, Xinhui Pan, amd-gfx,
	Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86, LKML,
	it+linux-iommu

Dear Linux folks,


On a Dell OptiPlex 5055, Linux 5.10.24 logged the IOMMU messages below. 
(GPU hang in amdgpu issue #1762 [1] might be related.)

     $ lspci -nn -s 05:00.0
     05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, 
Inc. [AMD/ATI] Oland [Radeon HD 8570 / R7 240/340 OEM] [1002:6611] (rev 87)
     $ dmesg
     […]
     [6318399.745242] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xfffffff0c0 flags=0x0020]
     [6318399.757283] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xfffffff7c0 flags=0x0020]
     [6318399.769154] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xffffffe0c0 flags=0x0020]
     [6318399.780913] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xfffffffec0 flags=0x0020]
     [6318399.792734] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xffffffe5c0 flags=0x0020]
     [6318399.804309] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xffffffd0c0 flags=0x0020]
     [6318399.816091] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xffffffecc0 flags=0x0020]
     [6318399.827407] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xffffffd3c0 flags=0x0020]
     [6318399.838708] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xffffffc0c0 flags=0x0020]
     [6318399.850029] amdgpu 0000:05:00.0: AMD-Vi: Event logged 
[IO_PAGE_FAULT domain=0x000c address=0xffffffdac0 flags=0x0020]
     [6318399.861311] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffffc1c0 flags=0x0020]
     [6318399.872044] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffffc8c0 flags=0x0020]
     [6318399.882797] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffffb0c0 flags=0x0020]
     [6318399.893655] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffffcfc0 flags=0x0020]
     [6318399.904445] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffffb6c0 flags=0x0020]
     [6318399.915222] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffffa0c0 flags=0x0020]
     [6318399.925931] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffffbdc0 flags=0x0020]
     [6318399.936691] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffffa4c0 flags=0x0020]
     [6318399.947479] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffff90c0 flags=0x0020]
     [6318399.958270] AMD-Vi: Event logged [IO_PAGE_FAULT device=05:00.0 
domain=0x000c address=0xffffffabc0 flags=0x0020]

As this is not reproducible, how would debugging go? (The system was 
rebooted in the meantime.) What options should be enabled, that next 
time the required information is logged, or what commands should I 
execute when the system is still in that state, so the bug (driver, 
userspace, …) can be pinpointed and fixed?


Kind regards,

Paul


[1]: https://gitlab.freedesktop.org/drm/amd/-/issues/1762
      "Oland [Radeon HD 8570 / R7 240/340 OEM]: GPU hang"

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-10-27 17:28 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-25 10:25 I got an IOMMU IO page fault. What to do now? Paul Menzel
2021-10-25 10:25 ` Paul Menzel
2021-10-25 11:23 ` Christian König
2021-10-25 11:23   ` Christian König
2021-10-25 11:38   ` Paul Menzel
2021-10-25 11:38     ` Paul Menzel
2021-10-25 16:01   ` Robin Murphy
2021-10-25 16:01     ` Robin Murphy
2021-10-25 16:42     ` Christian König
2021-10-25 16:42       ` Christian König via iommu
2021-10-27 16:45     ` Paul Menzel
2021-10-27 16:45       ` Paul Menzel
2021-10-27 17:18       ` Robin Murphy
2021-10-27 17:18         ` Robin Murphy
2021-10-27 17:24         ` Alex Deucher
2021-10-27 17:24           ` Alex Deucher
2021-10-27 17:28           ` Alex Deucher
2021-10-27 17:28             ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.