Re: [RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_* routines

Roland Dreier
2008-01-08T17:55:45Z

> Onething I've missed with these patches is drivers actually using
> it. What driver actually needs it and why don't you send patches
> for them?

In previous patch series, Arthur sent fixes for the mthca IB driver.
Other IB drivers like mlx4 also need this on Altix systems. Basically
anything where the device DMAs some data into userspace and then DMAs
a "completed" status to another buffer in userspace leads to a problem
where the "completed" DMA might pass the actual data in the Altix
fabric, which leads to the userspace process working with bogus data.

- R.