commit | 74f6d776ae0b8498cfdb574ab24992bd50a2a2f1 | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@nvidia.com> | Thu Jun 10 10:01:12 2021 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Jun 10 09:06:14 2021 +0200 |
tree | ab885dbf9ff739c68a0e32735072132af4fb9c98 | |
parent | 1f106ff0ea2782a6bc49bb927e4789681a2ec507 [diff] |
iommu/vt-d: Removed unused iommu_count in dmar domain DMAR domain uses per DMAR refcount. It is indexed by iommu seq_id. Older iommu_count is only incremented and decremented but no decisions are taken based on this refcount. This is not of much use. Hence, remove iommu_count and further simplify domain_detach_iommu() by returning void. Signed-off-by: Parav Pandit <parav@nvidia.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/20210530075053.264218-1-parav@nvidia.com Link: https://lore.kernel.org/r/20210610020115.1637656-21-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>