[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPcyv4jhvz0Ye1DqTxMOwYOpvXZneSieJ-BhZTX8vWPciZOYPA@mail.gmail.com>
Date: Wed, 16 Dec 2015 11:00:46 -0800
From: Dan Williams <dan.j.williams@...el.com>
To: Daniel Mentz <danielmentz@...gle.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Joerg Roedel <joro@...tes.org>,
Vinod Koul <vinod.koul@...el.com>,
Russell King <rmk+kernel@....linux.org.uk>,
James Bottomley <JBottomley@...allels.com>
Subject: Re: [PATCH] dma-debug: Fix dma_debug_entry offset calculation
On Tue, Dec 15, 2015 at 5:38 PM, Daniel Mentz <danielmentz@...gle.com> 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, 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.
>
> Fixes: 0abdd7a81b7e ("dma-debug: introduce debug_dma_assert_idle()")
> Signed-off-by: Daniel Mentz <danielmentz@...gle.com>
Looks good, thanks Daniel! I'll include this with some other fixes
I'm pushing up later today.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists