All of lore.kernel.org
 help / color / mirror / Atom feed
* Out of DMA space?
@ 2015-08-12 23:16 Ben Greear
  2015-08-13  7:55 ` Michal Kazior
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2015-08-12 23:16 UTC (permalink / raw)
  To: ath10k

I've been reloading the ath10k modules all afternoon, debugging issues
in my CT firmware.  I've been unloading firmware with pkts queued
in the TX logic, and they could easily not be flushable at this piont.

I just saw this...and machine hung.

DMA: Out of SW-IOMMU space for 1984 bytes at device 0000:05:00.0
ath10k_pci 0000:05:00.0: failed to refill htt rx ring: -12
DMA: Out of SW-IOMMU space for 1984 bytes at device 0000:06:00.0
ath10k_pci 0000:06:00.0: failed to refill htt rx ring: -12
DMA: Out of SW-IOMMU space for 2048 bytes at device 0000:07:00.0
DMA: Out of SW-IOMMU space for 16 bytes at device 0000:07:00.0

Just FYI really...I haven't seen this before.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

* Re: Out of DMA space?
  2015-08-12 23:16 Out of DMA space? Ben Greear
@ 2015-08-13  7:55 ` Michal Kazior
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Kazior @ 2015-08-13  7:55 UTC (permalink / raw)
  To: Ben Greear; +Cc: ath10k

On 13 August 2015 at 01:16, Ben Greear <greearb@candelatech.com> wrote:
> I've been reloading the ath10k modules all afternoon, debugging issues
> in my CT firmware.  I've been unloading firmware with pkts queued
> in the TX logic, and they could easily not be flushable at this piont.
>
> I just saw this...and machine hung.
>
> DMA: Out of SW-IOMMU space for 1984 bytes at device 0000:05:00.0
> ath10k_pci 0000:05:00.0: failed to refill htt rx ring: -12
> DMA: Out of SW-IOMMU space for 1984 bytes at device 0000:06:00.0
> ath10k_pci 0000:06:00.0: failed to refill htt rx ring: -12
> DMA: Out of SW-IOMMU space for 2048 bytes at device 0000:07:00.0
> DMA: Out of SW-IOMMU space for 16 bytes at device 0000:07:00.0
>
> Just FYI really...I haven't seen this before.

I haven't seen anything like this before. Nevertheless this may
suggest there's an unbalanced DMA map-unmap in ath10k. I guess
unbalanced dma_pool and cohoerent DMA allocations combined with
kmemleak would've been detected earlier.


Michał

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

end of thread, other threads:[~2015-08-13  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-12 23:16 Out of DMA space? Ben Greear
2015-08-13  7:55 ` Michal Kazior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.