Re: [PATCH] dma-debug: Fix dma_debug_entry offset calculation

2015-12-16 Thread Dan Williams
On Tue, Dec 15, 2015 at 5:38 PM, Daniel Mentz wrote: > 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, w

[PATCH] dma-debug: Fix dma_debug_entry offset calculation

2015-12-15 Thread Daniel Mentz
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 followi