]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Unnecessary spinlock for root table alloc and free
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 12 Jul 2022 00:08:55 +0000 (08:08 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 15 Jul 2022 08:21:35 +0000 (10:21 +0200)
commit010bddc760a088c2748aad3243a6036bfd4540af
tree946fe8d79d344ae29e9f30d64d2a27223e025e41
parentad675e45e9fcb0ed383025acd12712934124ee6c
iommu/vt-d: Unnecessary spinlock for root table alloc and free

The IOMMU root table is allocated and freed in the IOMMU initialization
code in static boot or hot-remove paths. There's no need for a spinlock.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20220706025524.2904370-5-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c