We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c36eb1 commit 54e86bfCopy full SHA for 54e86bf
drivers/iommu/intel/iommu.c
@@ -1692,10 +1692,10 @@ static int iommu_init_domains(struct intel_iommu *iommu)
1692
* entry for first-level or pass-through translation modes should
1693
* be programmed with a domain id different from those used for
1694
* second-level or nested translation. We reserve a domain id for
1695
- * this purpose.
+ * this purpose. This domain id is also used for identity domain
1696
+ * in legacy mode.
1697
*/
- if (sm_supported(iommu))
1698
- set_bit(FLPT_DEFAULT_DID, iommu->domain_ids);
+ set_bit(FLPT_DEFAULT_DID, iommu->domain_ids);
1699
1700
return 0;
1701
}
0 commit comments