1eb84e39fe6e8ece6cc516e2ff78007662568462

Memory allocated by dma_alloc_coherent() doesn't need cache sync, which is only needed for stream dma mapping, eg, mapping passed-in memory using dma_map_single(). More seriously, when SMMU enabled, physical memory returned by dma_alloc_coherent() is no longer continuous. If pass this memory to dma_sync_single_for_device(), a do_bad_area exception will hang system, noting that dma_sync_single_for_device() only handles single contiguous memory. Refer to Documentation/DMA-API.txt for more info. Change-Id: Ia0b5bdcc2cb9335aa2e309efccd91e57e844c7cc CRs-Fixed: 2381886
This is CNSS WLAN Host Driver for products starting from iHelium
Leírás
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%