Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions drivers/iommu/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,10 @@ static void iommu_flush_dev_iotlb(struct dmar_domain *domain,
u16 sid, qdep;
unsigned long flags;
struct device_domain_info *info;

/* device has already been flushed/unmapped? */
if (WARN_ON(!domain))
return;

if (!domain->has_iotlb_device)
return;
Expand Down