Re: [PATCH v2 3/3] iommu/tegra-smmu: Add PCI support
From: Dmitry Osipenko
Date: Wed Sep 30 2020 - 01:10:41 EST
30.09.2020 03:30, Nicolin Chen пишет:
> void tegra_smmu_remove(struct tegra_smmu *smmu)
> {
> + bus_set_iommu(&platform_bus_type, NULL);
Why only platform_bus? Is this really needed at all?
> iommu_device_unregister(&smmu->iommu);
> iommu_device_sysfs_remove(&smmu->iommu);