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

David Miller
2010-01-20T23:41:17Z

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.