Re: [PATCH 0/2] x86/hyperv/Swiotlb: Add swiotlb_alloc_from_low_pages switch

From: Christoph Hellwig
Date: Wed Feb 02 2022 - 03:12:45 EST


I think this interface is a little too hacky. In the end all the
non-trusted hypervisor schemes (including the per-device swiotlb one)
can allocate the memory from everywhere and want for force use of
swiotlb. I think we need some kind of proper interface for that instead
of setting all kinds of global variables.