iommu/sva: Use GFP_KERNEL for pasid allocation
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Wed, 22 Mar 2023 20:08:01 +0000 (13:08 -0700)
committerJoerg Roedel <jroedel@suse.de>
Fri, 31 Mar 2023 08:03:26 +0000 (10:03 +0200)
commit1a14bf0fc7ed9476284cd6ab358c783fd9a0cb5b
treeccf533cba1d1d0ec073dfde591d05e18a4628ef7
parent4e14176ab13fb6986dd079c711d46b70712da2f1
iommu/sva: Use GFP_KERNEL for pasid allocation

We’re not using spinlock-protected IOASID allocation anymore, there’s
no need for GFP_ATOMIC.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Link: https://lore.kernel.org/r/20230322200803.869130-6-jacob.jun.pan@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu-sva.c