common: DMA-mapping: add DMA_ATTR_SKIP_FREE_IOVA attribute
This patch adds DMA_ATTR_SKIP_CPU_SYNC attribute to the DMA-mapping
subsystem.
This is the counter part of map_page_at() which just maps the
pre-allocate iova to a page. With this attribute, unmap_page() unmap
the link between iova and a page, leaving iova allocated.
bug 1235233
bug 1263718
Change-Id: Id5535b73e0ca212a045dd0b0ff57de8432e7cf13
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/204468
(cherry picked from commit 77374aee027c51c4e887eaaa3e6b8540f9f6ea87)
Reviewed-on: http://git-master/r/215465
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>
2 files changed