Displaying 2 results from an estimated 2 matches for "dma_alloc_manual_flush".
2020 Sep 14
0
a saner API for allocating DMA addressable pages v2
...ld be to name the API
> dma_alloc_noncoherent, but the whole non-coherent naming seems to put
> people off.
You say that like it's a bad thing. I think the problem is more that
people don't understand what non-coherent means and think they're
supporting it when they're not.
dma_alloc_manual_flushing()?
> As a follow up I plan to move the implementation of the
> DMA_ATTR_NO_KERNEL_MAPPING flag over to this framework as well, given
> that is also is a fundamentally non coherent allocation. The replacement
> for that flag would then return a struct page, as it is allowed to
>...
2020 Sep 14
20
a saner API for allocating DMA addressable pages v2
Hi all,
this series replaced the DMA_ATTR_NON_CONSISTENT flag to dma_alloc_attrs
with a separate new dma_alloc_pages API, which is available on all
platforms. In addition to cleaning up the convoluted code path, this
ensures that other drivers that have asked for better support for
non-coherent DMA to pages with incurring bounce buffering over can finally
be properly supported.
I'm still a