diff options
author | Daniel Mentz <danielmentz@google.com> | 2015-12-16 02:38:48 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-12-16 20:24:26 +0100 |
commit | 0354aec19ce3d355c6213b0434064efc25c9b22c (patch) | |
tree | d428458458507a455257e0eec6c92ab5917e50df /Documentation/adding-syscalls.txt | |
parent | Revert "scatterlist: use sg_phys()" (diff) | |
download | linux-0354aec19ce3d355c6213b0434064efc25c9b22c.tar.xz linux-0354aec19ce3d355c6213b0434064efc25c9b22c.zip |
dma-debug: Fix dma_debug_entry offset calculation
dma-debug uses struct dma_debug_entry to keep track of dma coherent
memory allocation requests. The virtual address is converted into a pfn
and an offset. Previously, the offset was calculated using an incorrect
bit mask. As a result, we saw incorrect error messages from dma-debug
like the following:
"DMA-API: exceeded 7 overlapping mappings of cacheline 0x03e00000"
Cacheline 0x03e00000 does not exist on our platform.
Cc: <stable@vger.kernel.org>
Fixes: 0abdd7a81b7e ("dma-debug: introduce debug_dma_assert_idle()")
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Documentation/adding-syscalls.txt')
0 files changed, 0 insertions, 0 deletions