commit | b8ac5039efe25032413e8f06d694aefe4badf2c4 | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Tue Aug 27 00:51:22 2019 -0700 |
committer | June Tate-Gans <jtgans@google.com> | Tue Oct 08 14:17:24 2019 -0500 |
tree | 32785d8d5eeba6556076ee2e9294e99c747ff3cd | |
parent | 6d471cf38fb65df0832ef88dd52264dc4ee6fe22 [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>