RE: [PATCH]iwlan dma mapping read and write changes

From: Johannes Berg
Date: Wed Feb 11 2009 - 16:34:49 EST


On Wed, 2009-02-11 at 23:27 +0200, Winkler, Tomas wrote:

> >mapping with PCI_DMA_TODEVICE which is read only in mapping PTE. But iwlan
> >device
> >actually writes to the mapped page to update its contents. This issue is
> >not
> >exposed in swiotlb. But VT-d hardware can capture this fault and stop the
> >fault
> >transaction.
> >
> >The following patch fixes the issue.
> >
> >Signed-off-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> Acked-by: Tomas Winkler <tomas.winkler@xxxxxxxxx>
>
> Indeed the firmware/ucode write back to host memory to update retry
> counter for APMDU packets. I'm not sure if this is needed for legacy
> traffic, though.

I don't think they can be seeing AMPDU packets since that is, well,
broken?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part