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. _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
- [PATCH V2 0/2] x86/hyperv/Swiotlb: Add swiotlb_set_alloc... Tianyu Lan
- [PATCH V2 1/2] Swiotlb: Add swiotlb_alloc_from_low_... Tianyu Lan
- Re: [PATCH V2 1/2] Swiotlb: Add swiotlb_alloc_f... Christoph Hellwig
- Re: [PATCH V2 1/2] Swiotlb: Add swiotlb_all... Tianyu Lan
- Re: [PATCH V2 1/2] Swiotlb: Add swiotlb... Christoph Hellwig
- Re: [PATCH V2 1/2] Swiotlb: Add sw... Tianyu Lan
- Re: [PATCH V2 1/2] Swiotlb: Ad... Tianyu Lan
- Re: [PATCH V2 1/2] Swiotlb... Christoph Hellwig
- Re: [PATCH V2 1/2] Swiotlb... Tianyu Lan
- Re: [PATCH V2 1/2] Swiotlb... Christoph Hellwig
- Re: [PATCH V2 1/2] Swiotlb... Tianyu Lan
- Re: [PATCH V2 1/2] Swiotlb... Tianyu Lan
- Re: [PATCH V2 1/2] Swiotlb... Christoph Hellwig
