RE: [PATCH v3 10/11] iommu/vt-d: Use device_domain_lock accurately

From: Tian, Kevin
Date: Fri Jul 01 2022 - 04:15:54 EST


> From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Sent: Wednesday, June 29, 2022 3:47 PM
>
> + spin_lock_irqsave(&device_domain_lock, flags);
> list_for_each_entry(info, &domain->devices, link) {
> - if (!info->dev)
> - continue;
> -

suppose you can replace all spin_lock_irqsave() with spin_lock()
in patch5 instead of leaving some replacement to next patch.