[PATCH 0/3] iommu/amd: Fix booting with amd_iommu=off

From: Joerg Roedel
Date: Wed Mar 17 2021 - 05:11:51 EST


From: Joerg Roedel <jroedel@xxxxxxx>

Hi,

it turned out that booting a kernel with amd_iommu=off on a machine
that has an AMD IOMMU causes an early kernel crash. There are two
reasons for this, and fixing one of them is already sufficient, but
both reasons deserve fixing, which is done in this patch-set.

Regards,

Joerg

Joerg Roedel (3):
iommu/amd: Move Stoney Ridge check to detect_ivrs()
iommu/amd: Don't call early_amd_iommu_init() when AMD IOMMU is
disabled
iommu/amd: Keep track of amd_iommu_irq_remap state

drivers/iommu/amd/init.c | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)

--
2.30.2