[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081117105354.GB2603@flint.arm.linux.org.uk>
Date: Mon, 17 Nov 2008 10:53:54 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: jeff@...zik.org, netdev@...r.kernel.org, davem@...emloft.net,
Jesse Brandeburg <jesse.brandeburg@...el.com>
Subject: Re: [NET-NEXT PATCH] e100: fix dma error in direction for mapping
On Fri, Nov 14, 2008 at 03:51:54PM -0800, Jeff Kirsher wrote:
> From: Jesse Brandeburg <jesse.brandeburg@...el.com>
>
> The e100 driver triggers BUG_ON(buf->direction != dir)
> by doing pci_map_single(..., PCI_DMA_BIDIRECTIONAL)
> and pci_dma_sync_single_for_device(..., PCI_DMA_TODEVICE).
>
> Changing the DMA direction, especially with dmabounce will result
> in unexpected behaviour.
>
> Reported-by: Anders Grafstrom <grfstrm@...rs.sourceforge.net>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> CC: Russell King <linux@....linux.org.uk>
Acked-by: Russell King <rmk+kernel@....linux.org.uk>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists