Messages in this thread | | | Date | Fri, 27 May 2022 12:05:27 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH 09/12] iommu/vt-d: Check device list of domain in domain free path |
| |
On Fri, May 27, 2022 at 02:30:16PM +0800, Lu Baolu wrote: > 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> > --- > drivers/iommu/intel/iommu.c | 17 ++--------------- > 1 file changed, 2 insertions(+), 15 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
| |