Re: [PATCH 2/2] xen/swiotlb: don't destroy contiguous region in all cases

2025-02-12 Thread Stefano Stabellini
On Wed, 12 Feb 2025, Jürgen Groß wrote: > On 12.02.25 02:30, Stefano Stabellini wrote: > > On Tue, 11 Feb 2025, Juergen Gross wrote: > > > In case xen_swiotlb_alloc_coherent() needed to create a contiguous > > > region only for other reason than the memory not being compliant with > > > the device'

Re: [PATCH 2/2] xen/swiotlb: don't destroy contiguous region in all cases

2025-02-12 Thread Jan Beulich
On 12.02.2025 12:11, Jürgen Groß wrote: > On 12.02.25 08:38, Jan Beulich wrote: >> On 11.02.2025 13:04, Juergen Gross wrote: >>> In case xen_swiotlb_alloc_coherent() needed to create a contiguous >>> region only for other reason than the memory not being compliant with >>> the device's DMA mask, th

Re: [PATCH 2/2] xen/swiotlb: don't destroy contiguous region in all cases

2025-02-12 Thread Jürgen Groß
On 12.02.25 02:30, Stefano Stabellini wrote: On Tue, 11 Feb 2025, Juergen Gross wrote: In case xen_swiotlb_alloc_coherent() needed to create a contiguous region only for other reason than the memory not being compliant with the device's DMA mask, there is no reason why this contiguous region sho

Re: [PATCH 2/2] xen/swiotlb: don't destroy contiguous region in all cases

2025-02-12 Thread Jürgen Groß
On 12.02.25 08:38, Jan Beulich wrote: On 11.02.2025 13:04, Juergen Gross wrote: In case xen_swiotlb_alloc_coherent() needed to create a contiguous region only for other reason than the memory not being compliant with the device's DMA mask, there is no reason why this contiguous region should be

Re: [PATCH 2/2] xen/swiotlb: don't destroy contiguous region in all cases

2025-02-11 Thread Jan Beulich
On 11.02.2025 13:04, Juergen Gross wrote: > In case xen_swiotlb_alloc_coherent() needed to create a contiguous > region only for other reason than the memory not being compliant with > the device's DMA mask, there is no reason why this contiguous region > should be destroyed by xen_swiotlb_free_coh

Re: [PATCH 2/2] xen/swiotlb: don't destroy contiguous region in all cases

2025-02-11 Thread Stefano Stabellini
On Tue, 11 Feb 2025, Juergen Gross wrote: > In case xen_swiotlb_alloc_coherent() needed to create a contiguous > region only for other reason than the memory not being compliant with > the device's DMA mask, there is no reason why this contiguous region > should be destroyed by xen_swiotlb_free_coh