diff options
| author | Marek Szyprowski <m.szyprowski@samsung.com> | 2013-02-08 10:54:48 +0100 |
|---|---|---|
| committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2013-02-25 15:30:44 +0100 |
| commit | d589829107c5528164a9b7dfe50d0001780865ed (patch) | |
| tree | ea20dc2f831a19940ed4473eb163c277b73b5115 /tools/perf/scripts/python | |
| parent | ARM: dma-mapping: Add maximum alignment order for dma iommu buffers (diff) | |
| download | linux-d589829107c5528164a9b7dfe50d0001780865ed.tar.gz linux-d589829107c5528164a9b7dfe50d0001780865ed.zip | |
ARM: DMA-mapping: fix memory leak in IOMMU dma-mapping implementation
This patch removes page_address() usage in IOMMU-aware dma-mapping
implementation and replaced it with direct use of the cpu virtual address
provided by the caller. page_address() returned incorrect address for
pages remapped in atomic pool, what caused memory leak.
Reported-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
