netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* atl1c: DMA: Out of SW-IOMMU space
@ 2013-03-02 17:28 Andre Heider
  2013-03-03  1:48 ` Huang, Xiong
  0 siblings, 1 reply; 5+ messages in thread
From: Andre Heider @ 2013-03-02 17:28 UTC (permalink / raw)
  To: netdev, xiong

Hi,

my "AR8151 v2.0 Gigabit Ethernet (rev c0)" becomes unusable on v3.8
after some usage.

It's easily reproducible with "dd if=/dev/zero of=<nfsshare>/test
bs=1M count=2048. Point of failure varies, but somewhat after >1.5gb
of data written to the nfs server dmesg gets spammed with "DMA: Out of
SW-IOMMU space for x bytes at device 0000:06:00.0" (where x varies)
and all sorts of follow up problems start occurring.
Apparently I'm not the only one affected:
https://www.google.com/search?q=atl1c+%22DMA%3A+Out+of+SW-IOMMU+space%22

The problem doesn't exist on v3.8-rc7.

The only atl1c commit in v3.8-rc7..v3.8 is:

commit ac574804d412047e52de4dd887615cc88f58aeb0
Author: Huang, Xiong <xiong@qca.qualcomm.com>
Date:   Mon Feb 11 14:44:40 2013 +0000

    atl1c: add error checking for pci_map_single functions

    it is reported that code hit DMA-API errors on 3.8-rc6+,
    (see https://bugzilla.redhat.com/show_bug.cgi?id=908436, and
         https://bugzilla.redhat.com/show_bug.cgi?id=908550)

    this patch just adds error handler for
        pci_map_single and skb_frag_dma_map.

    Signed-off-by: xiong <xiong@qca.qualcomm.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Reverting that on top of v3.8 seems to fix the problem in my little
testing, so it sounds like that fix introduced a iommu leak?

Thanks,
Andre

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-03  6:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02 17:28 atl1c: DMA: Out of SW-IOMMU space Andre Heider
2013-03-03  1:48 ` Huang, Xiong
2013-03-03  2:52   ` Eric Dumazet
2013-03-03  3:21     ` Andre Heider
2013-03-03  6:45       ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).