Messages in this thread | | | From | "Tian, Kevin" <> | Subject | RE: [PATCH v2 08/12] iommu/vt-d: Replace spin_lock_irqsave() with spin_lock() | Date | Tue, 14 Jun 2022 06:56:04 +0000 |
| |
> From: Lu Baolu <baolu.lu@linux.intel.com> > Sent: Tuesday, June 14, 2022 10:52 AM > > The iommu->lock is used to protect changes in root/context/pasid tables > and domain ID allocation. There's no use case to change these resources > in any interrupt context. Hence there's no need to disable interrupts > when helding the spinlock. > > Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
with this as one-place to changing irqsave for all previous patches:
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
| |