2010/5/15 Felix Fietkau <nbd@xxxxxxxxxxx>: > The second part of your patch might be OK then (I'm not really sure). > But the first part is definitely wrong, since with EDMA Rx, the > descriptor data is part of the buffer, so the cache needs to be > invalidated for every access until the status bit shows that it has been > completed. > This could probably be fixed by running dma_sync_single_for_device after > an unsuccessful status bit check and also after the descriptor part has Yes, dma_sync_single_for_device is needed to return buffer to device if an unsuccessful status bit check is found. > been zero'd out before passing the buffer on to the hw. The patch does not touch this dma_sync_single_for_device. -- Lei Ming -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html