commit | aeff2c1993d199bed7835727c0572ede81c5feaa | [log] [tgz] |
---|---|---|
author | Liam Mark <lmark@codeaurora.org> | Thu Jan 26 16:46:14 2017 -0800 |
committer | Patrick Daly <pdaly@codeaurora.org> | Wed Apr 05 19:50:01 2017 -0700 |
tree | 8f544aefb5bf59178337ad605ee2bd48ed2da427 | |
parent | 8ddf5f9e20b06f6842788346360521c16ed8c29f [diff] |
arm: dma-mapping: map_page map to nearest page Since the page offset can be greater than the size of a page fix arm_coherent_iommu_map_page so that it maps to nearest page boundary. This both prevents unnecessarily mapping memory we don't need to map and fixes a bug where the unmap wasn't unmapping this extra memory. Change-Id: Iaa69aff7505ee75d1f2e69bb0cda814bc6211bd3 Signed-off-by: Liam Mark <lmark@codeaurora.org> Signed-off-by: Patrick Daly <pdaly@codeaurora.org>