Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffa080eb authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/amd: Remove amd_iommu_disabled check from amd_iommu_detect()



This check needs to happens later now, when all previously
enabled IOMMUs have been disabled.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 7ad820e4
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2578,9 +2578,6 @@ int __init amd_iommu_detect(void)
	if (no_iommu || (iommu_detected && !gart_iommu_aperture))
		return -ENODEV;

	if (amd_iommu_disabled)
		return -ENODEV;

	ret = iommu_go_to_state(IOMMU_IVRS_DETECTED);
	if (ret)
		return ret;