swiotlb: pass a gfp_mask argument to swiotlb_init_late
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Feb 2022 10:12:59 +0000 (11:12 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 18 Apr 2022 05:21:12 +0000 (07:21 +0200)
commit742519538e6b07250c8085bbff4bd358bc03bf16
tree4d215f3b5c90a35820b045efb36e572a56890ce6
parent8ba2ed1be90fc210126f68186564707478552c95
swiotlb: pass a gfp_mask argument to swiotlb_init_late

Let the caller chose a zone to allocate from.  This will be used
later on by the xen-swiotlb initialization on arm.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/pci/sta2x11-fixup.c
include/linux/swiotlb.h
kernel/dma/swiotlb.c