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)
commit2e1c8dafb8c2c459baa5aef5b338c15edd9b9b5b
tree946fe8d79d344ae29e9f30d64d2a27223e025e41
parent8ac0b64b9735ae896d200dd952c22999742b4414
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