Commit ffa080eb authored by Joerg Roedel's avatar Joerg Roedel

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
......@@ -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;
......
Markdown is supported
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