Add gfp parameter to iommu_alloc_resv_region() for the callers to specify the memory allocation behavior. Thus iommu_alloc_resv_region() could also be available in critical contexts. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Tested-by: Alex Williamson <alex.williamson@redhat.com> Link: https://lore.kernel.org/r/20220927053109.4053662-2-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| amd_iommu.h | ||
| amd_iommu_types.h | ||
| debugfs.c | ||
| init.c | ||
| io_pgtable.c | ||
| io_pgtable_v2.c | ||
| iommu.c | ||
| iommu_v2.c | ||
| quirks.c | ||