aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2020-06-04 11:19:44 +0200
committerJoerg Roedel <jroedel@suse.de>2020-06-04 11:38:17 +0200
commit431275afdc7155415254aef4bd3816a1b8a2ead0 (patch)
treeed95d55eba1858908b7a86b84daf425e5a91d802 /include/linux/iommu.h
parentMerge branches 'arm/msm', 'arm/allwinner', 'arm/smmu', 'x86/vt-d', 'hyper-v', 'core' and 'x86/amd' into next (diff)
downloadwireguard-linux-431275afdc7155415254aef4bd3816a1b8a2ead0.tar.xz
wireguard-linux-431275afdc7155415254aef4bd3816a1b8a2ead0.zip
iommu: Check for deferred attach in iommu_group_do_dma_attach()
The iommu_group_do_dma_attach() must not attach devices which have deferred_attach set. Otherwise devices could cause IOMMU faults when re-initialized in a kdump kernel. Fixes: deac0b3bed26 ("iommu: Split off default domain allocation from group assignment") Reported-by: Jerry Snitselaar <jsnitsel@redhat.com> Signed-off-by: Joerg Roedel <jroedel@suse.de> Tested-by: Jerry Snitselaar <jsnitsel@redhat.com> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Link: https://lore.kernel.org/r/20200604091944.26402-1-joro@8bytes.org
Diffstat (limited to 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions