commit | b2f7be58ad203a2658569fd9c8c9716aaae63cf5 | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Tue Aug 27 00:51:22 2019 -0700 |
committer | Jonas Larsson <ljonas@google.com> | Thu Oct 31 16:13:54 2019 -0700 |
tree | 21252002054a00e8da89985c41273cebe6b6936c | |
parent | 76f31f6697669b5ab4c92098fa6737d5216e6f7f [diff] |
staging: gasket: fix mmap of coherent buffer when IOMMU translation on Coherent buffer mmap code assumes DMA addresses are physical addresses, which is patently wrong when a downstream IOMMU allocates and translates IOVAs for DMA mappings. Use dma_mmap_coherent(). Bug: 140076240 Bug: 111709861 Change-Id: Ieaa052378844aaf126ea3bc9dba544e7edb37bc7 Signed-off-by: Todd Poynor <toddpoynor@google.com>