diff options
author | Lu Baolu <[email protected]> | 2022-07-12 08:08:59 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-07-15 10:21:38 +0200 |
commit | 79d82ce4027f30c4d40fdf377888203f76b7ddcc (patch) | |
tree | f2bfb25d0b387258fe002c4b78aab9b4d67f6f13 /lib/mpi/mpi-sub-ui.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 <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions