iommu/intel: Support the gfp argument to the map_pages op
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 23 Jan 2023 20:36:00 +0000 (16:36 -0400)
committerJoerg Roedel <jroedel@suse.de>
Wed, 25 Jan 2023 10:52:06 +0000 (11:52 +0100)
commit2d4d767659ff4d48464836a0a6de47e7540c6b13
treecd44fd54f3e46f1c6776956d8e58cb55d5eb77d2
parent2552d3a2292aa9bc14e84afe846027e9bd98eb78
iommu/intel: Support the gfp argument to the map_pages op

Flow it down to alloc_pgtable_page() via pfn_to_dma_pte() and
__domain_mapping().

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/7-v3-76b587fe28df+6e3-iommu_map_gfp_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c