diff options
| author | Colin Cross <[email protected]> | 2013-12-13 19:26:32 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-14 08:59:54 -0800 |
| commit | 661f82f6c219dc515ee5123213d8f57481694fe4 (patch) | |
| tree | 9e4d96bb2d12b0496bd5dff47f0bbf9026fe180d /tools/perf/scripts/python | |
| parent | dd608dd29a417da78f6aa1715efb9786787c550e (diff) | |
ion: fix bugs in cma heap
Implement ion_cma_unmap_kernel, ion will call it unconditionally.
Use correct gfp flags when calling dma_alloc_coherent so it doesn't
try to use atomic DMA memory.
Check for invalid alignment when allocating.
Reject cached allocations - the cpu address returned by
dma_alloc_coherent is always going to be an uncached mapping, so
map_kernel will not see data written by a cached userspace mapping.
Signed-off-by: Colin Cross <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions