Re: [RFC 3/7] dma: Add function for drivers to know if allowing blocking is useful

2024-08-23 Thread Petr Tesařík
On Thu, 22 Aug 2024 11:37:14 -0700 mhkelle...@gmail.com wrote: > From: Michael Kelley > > With the addition of swiotlb throttling functionality, storage > device drivers may want to know whether using the DMA_ATTR_MAY_BLOCK > attribute is useful. In a CoCo VM or environment where swiotlb=force >

[RFC 3/7] dma: Add function for drivers to know if allowing blocking is useful

2024-08-22 Thread mhkelley58
From: Michael Kelley With the addition of swiotlb throttling functionality, storage device drivers may want to know whether using the DMA_ATTR_MAY_BLOCK attribute is useful. In a CoCo VM or environment where swiotlb=force is used, the MAY_BLOCK attribute enables swiotlb throttling. But if throttl