File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2664,7 +2664,7 @@ static struct dmar_domain *dmar_insert_one_dev_info(struct intel_iommu *iommu,
2664
2664
}
2665
2665
2666
2666
/* Setup the PASID entry for requests without PASID: */
2667
- spin_lock (& iommu -> lock );
2667
+ spin_lock_irqsave (& iommu -> lock , flags );
2668
2668
if (hw_pass_through && domain_type_is_si (domain ))
2669
2669
ret = intel_pasid_setup_pass_through (iommu , domain ,
2670
2670
dev , PASID_RID2PASID );
@@ -2674,7 +2674,7 @@ static struct dmar_domain *dmar_insert_one_dev_info(struct intel_iommu *iommu,
2674
2674
else
2675
2675
ret = intel_pasid_setup_second_level (iommu , domain ,
2676
2676
dev , PASID_RID2PASID );
2677
- spin_unlock (& iommu -> lock );
2677
+ spin_unlock_irqrestore (& iommu -> lock , flags );
2678
2678
if (ret ) {
2679
2679
dev_err (dev , "Setup RID2PASID failed\n" );
2680
2680
dmar_remove_one_dev_info (dev );
You can’t perform that action at this time.
0 commit comments