Re: [PATCH 02/11] sky2: fix DMA sync_single length error

Jarek Poplawski
2010-01-20T23:59:24Z

On Wed, Jan 20, 2010 at 03:41:26PM -0800, David Miller wrote:
> From: David Miller <davem@davemloft.net>
> Date: Wed, 20 Jan 2010 15:34:51 -0800 (PST)
>
> > Whereas 1 patch in the 1 place in the DMA API implementation would fix
> > everything for everybody.
>
> For the record I just checked DMAR and Intel-IOMMU and they
> don't even implement the SYNC ops, they are NULL and thus
> can't be effected by the changes being discussed here.
>
> The generic DMA SYNC operations check for a NULL function
> pointer in the DMA operations, and do nothing if it is NULL.
>
> Thus, so far it is proven that only the DMA debugging code
> actually has this SYNC length requirement.

Thanks, I feel at least 75% safer ;-)

Good night!
Jarek P.