Messages in this thread | | | Date | Mon, 14 Feb 2022 19:28:40 +0800 | Subject | Re: [PATCH V2 1/2] Swiotlb: Add swiotlb_alloc_from_low_pages switch | From | Tianyu Lan <> |
| |
On 2/14/2022 4:19 PM, Christoph Hellwig wrote: > Adding a function to set the flag doesn't really change much. As Robin > pointed out last time you should fine a way to just call > swiotlb_init_with_tbl directly with the memory allocated the way you > like it. Or given that we have quite a few of these trusted hypervisor > schemes maybe add an argument to swiotlb_init that specifies how to > allocate the memory.
Thanks for your suggestion. I will try the first approach first approach.
| |