Skip to content
Commit 161b28aa authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/vt-d: Make sure IOMMUs are off when intel_iommu=off



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>
parent 61012985
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment