/* This function finally enables all IOMMUs found in the system after they have been initialized  */
static void enable_iommus(void)
/* This function finally enables all IOMMUs found in the system after they have been initialized  */
static void enable_iommus(void)
{
	struct amd_iommu *iommu;
	for_each_iommu(iommu) {
		iommu_disable(iommu);
		iommu_set_device_table(iommu);
		iommu_enable_command_buffer(iommu);
		iommu_enable_event_buffer(iommu);
		iommu_set_exclusion_range(iommu);
		iommu_init_msi(iommu);
		iommu_enable(iommu);
	}
}