]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
dma: coherent: fix resizable carveout issues
authorKrishna Reddy <vdumpa@nvidia.com>
Fri, 27 Jun 2014 05:05:47 +0000 (22:05 -0700)
committerMandar Padmawar <mpadmawar@nvidia.com>
Mon, 30 Jun 2014 11:08:27 +0000 (04:08 -0700)
commit082b525abc62c9fa588cd6b3da143a360c203e8e
tree453ec3c13eb9e58b1b6ee65642e500ba401258af
parenta983aa965a92305360f854362cf770bc82503675
dma: coherent: fix resizable carveout issues

Fix races with dev_start and dev_end.
Flush cache during heap grow.
Fix incorrect return code for heap allocations.

Bug 200016405

Change-Id: I77f8016c9833e9615eab4d9cf66acaf3da1cefed
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/431950
GVS: Gerrit_Virtual_Submit
drivers/base/dma-coherent.c