Package: src:linux
Version: 7.3.4-1~bpo13+1
Severity: important
Tags: upstream

On 7.3.4-1~bpo13+1 an AMD Radeon RX 5500 XT (Navi 14, PCI ID 1002:7340) fails
to initialise on an Intel Haswell desktop (Gigabyte H97-HD3, Core i7-4790K,
BIOS F9c 03/03/2016). The kernel log shows Intel DMAR faults with reason 0x0c
("non-zero reserved fields in PTE") for DMA reads issued by the GPU itself,
and the amdgpu PSP then cannot load the SMU microcode:

  DMAR: [DMA Read NO_PASID] Request device [0000:03:00.0] fault addr 0xff368000
        [fault reason 0x0c] non-zero reserved fields in PTE
  amdgpu 0000:03:00.0: failed to load ucode SMC(0x34)
  amdgpu 0000:03:00.0: PSP load smu failed!
  amdgpu 0000:03:00.0: hw_init of IP block <psp> failed -22
  amdgpu 0000:03:00.0: Fatal error during GPU init

Same machine, same BIOS, same firmware package, same kernel command line
(both kernels boot with "ro quiet splash"; no IOMMU option on either):

  Linux version 6.12.118+deb13-amd64 ... #1 SMP PREEMPT_DYNAMIC Debian 
6.12.118-1
      0 DMAR faults, "amdgpu: SMU is initialized successfully!",
      "[drm] Initialized amdgpu 3.61.0 for 0000:03:00.0 on minor 1"
  Linux version 7.3.4+deb13-amd64 ... #1 SMP PREEMPT_DYNAMIC Debian 
7.3.4-1~bpo13+1
      36 DMAR fault lines across the failing boots, "Fatal error during GPU 
init"

Config delta between the two kernels shipped in the same suite (IOMMU symbols
only; verbatim diff of /boot/config-*):

  5d4
  < CONFIG_IOMMU_IO_PGTABLE=y
  19a19,23
  > CONFIG_IOMMU_PT=y
  > CONFIG_IOMMU_PT_AMDV1=y
  > CONFIG_IOMMU_PT_VTDSS=y
  > # CONFIG_IOMMU_PT_RISCV64 is not set
  > CONFIG_IOMMU_PT_X86_64=y

So 7.3.4 is the first kernel on this machine built with the generic IOMMU
page-table code. That is consistent with an open upstream regression tracked
by regzbot (a98db518dde2..c376a3456d8b, within v6.12-rc3..v6.13-rc1, still
unresolved as of 2026-11-23):

https://lore.kernel.org/all/HYhMd0Klo0XE_yiVY7XmsgyKKFDwKHfKRy22KrycLcYd0V_ykA4xdbBMJXkA07YX3os6qK-NhMIVi6ITo-CkNIIF0e-GcI0UwwZmdDhAJ0I=@protonmail.com/

That thread covers VFIO GPU passthrough; this report adds the in-kernel amdgpu
case, which fails without any VM involved.

Workaround: add intel_iommu=off to the kernel command line. Verified on this
machine after reboot: /proc/cmdline shows the option, dmesg shows
"DMAR: IOMMU disabled" and the fault count is 0. This disables DMA remapping
for every device, so it is a workaround, not a fix. iommu.passthrough=1 has
not been tested yet.

Note for Linux Mint Debian Edition users: /etc/default/grub is overridden by
/etc/default/grub.d/50_lmde.cfg, so the option must be added through an
/etc/default/grub.d/99-*.cfg drop-in, otherwise update-grub silently ignores
it.

Impact on this machine: the discrete GPU is unusable after the kernel upgrade,
and the log points at amdgpu rather than at the IOMMU, so the cause is not
obvious from the failure message alone. How widely this applies depends on the
VT-d implementation and on whether the new page-table code is enabled in a
given build; I cannot say from a single machine.

Evidence available on request: full /var/log/kern.log for the failing and the
working boot, both /boot/config-* files, lspci -nnk output, and lsinitramfs
listing showing /usr/lib/firmware/amdgpu/navi14_smc.bin present in both
initrds (firmware-amd-graphics 20260916-1~bpo13+1).

-- 
Aigeus
GitHub: EgolOS <[email protected]>

Reply via email to