• Joerg Roedel's avatar
    iommu/vt-d: Make sure IOMMUs are off when intel_iommu=off · 161b28aa
    Joerg Roedel authored
    When booting into a kexec kernel with intel_iommu=off, and
    the previous kernel had intel_iommu=on, the IOMMU hardware
    is still enabled and gets not disabled by the new kernel.
    
    This causes the boot to fail because DMA is blocked by the
    hardware. Disable the IOMMUs when we find it enabled in the
    kexec kernel and boot with intel_iommu=off.
    Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
    161b28aa
intel-iommu.c 139 KB