summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/tboot.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-03-28 17:04:52 +0200
committerJoerg Roedel <jroedel@suse.de>2017-03-29 17:02:00 +0200
commit161b28aae1651aa7ad63ec14753aa8a751154340 (patch)
treedc2c8bc17bf9c15d575762bf5fcb0b415ab0cbc1 /arch/x86/kernel/tboot.c
parent61012985eb132a2fa5e4a3eddbc33528334fa377 (diff)
downloadlinux-161b28aae1651aa7ad63ec14753aa8a751154340.tar.bz2
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: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/x86/kernel/tboot.c')
0 files changed, 0 insertions, 0 deletions