Re: [PATCH] firewire: fw-ohci: fix possible IOMMU resource exhaustion

From: Jarod Wilson
Date: Wed Dec 10 2008 - 15:12:52 EST


On Tuesday 09 December 2008 18:20:38 Stefan Richter wrote:
> There is a DMA map/ unmap imbalance whenever a block write request
> packet is sent and then dequeued with ohci_cancel_packet. The latter
> may happen frequently if the AR resp tasklet is executed before the AT
> req tasklet for the same transaction.
>
> Add the missing dma_unmap_single.
>
> Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>

Going to get this into the Fedora kernels ASAP, definitely looks like
it'll at least help w/the IOMMU issues.

Nb: from what I recall, I saw such problems on an 8-way opteron pretty
frequently with a debug-enabled kernel, haven't seen it on the same
box running a release kernel (but also haven't tried the bug reporters
reproducer).

Signed-off-by: Jarod Wilson <jarod@xxxxxxxxxx>

--
Jarod Wilson
jarod@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/