[git pull] IOMMU Fixes for Linux v7.4-rc1

From: Joerg Roedel

Date: Fri Nov 06 2026 - 10:52:25 EST


Hi Linus,

The following changes since commit 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4:

Linux 7.4-rc1 (2026-11-01 13:26:31 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git tags/iommu-fixes-v7.4-rc1

for you to fetch changes up to 2cf4be57b301ed2d7af82e70cff5dfd96894d8de:

iommu/amd: Fix NULL pointer dereference for GPUs without upstream bridge (2026-11-06 13:22:44 +0100)

----------------------------------------------------------------
IOMMU Fixes for Linux v7.4-rc1

Including:

- AMD IOMMU:
- Move PerfOpt management into the IOMMU domain attachment paths, enabling
it automatically for supported integrated GPUs in identity mode and
clearing it before switching to translated or blocked domains.

- Fix a boot panic in the GPU identity-mapping quirk when a GPU has no
upstream PCI bridge.

- Clear the IOMMU SNP enable flag when RMP table initialization fails,
preventing subsequent initialization from assuming SNP setup succeeded.

- Check IVRS subtable types before parsing memory definitions, avoiding
bogus PCI segments caused by misinterpreting IVHD entries under QEMU.

- Remove an obsolete warning on device release that incorrectly fires for
devices required to remain attached to an identity domain.

----------------------------------------------------------------
Akshay Jindal (1):
iommu/amd: Skip non-IVMD entries when parsing IVRS memory definitions

Dheeraj Kumar Srivastava (1):
iommu/amd: Clear amd_iommu_snp_en if snp_rmptable_init() fails

Jean-Christophe Guillain (1):
iommu/amd: Fix NULL pointer dereference for GPUs without upstream bridge

Kevin Mitchell (1):
iommu/amd: remove obsolete domain pointer warning on release

Mario Limonciello (AMD) (1):
iommu/amd: Enable PerfOpt automatically for integrated GPUs

drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 50 ------
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 12 --
drivers/iommu/amd/amd_iommu.h | 3 +-
drivers/iommu/amd/amd_iommu_types.h | 6 +-
drivers/iommu/amd/init.c | 106 ++++++-----
drivers/iommu/amd/iommu.c | 273 +++++------------------------
include/linux/amd-iommu.h | 11 --
8 files changed, 115 insertions(+), 347 deletions(-)

Please pull.

Thanks,

Joerg