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

From: Huang Rui
Date: Wed Mar 17 2021 - 06:51:00 EST


On Wed, Mar 17, 2021 at 05:10:34PM +0800, Joerg Roedel wrote:
> 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

Series are Acked-by: Huang Rui <ray.huang@xxxxxxx>

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