diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2022-07-12 08:08:59 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-07-15 10:21:38 +0200 |
commit | 79d82ce4027f30c4d40fdf377888203f76b7ddcc (patch) | |
tree | f2bfb25d0b387258fe002c4b78aab9b4d67f6f13 /drivers/iommu/omap-iommu.c | |
parent | 8430fd3f3287013cb3f04b465c0686c41c86a8c8 (diff) |
iommu/vt-d: Check device list of domain in domain free path
When the IOMMU domain is about to be freed, it should not be set on any
device. Instead of silently dealing with some bug cases, it's better to
trigger a warning to report and fix any potential bugs at the first time.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20220706025524.2904370-9-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
0 files changed, 0 insertions, 0 deletions