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

From: Roland Dreier
Date: Tue Jan 08 2008 - 12:55:45 EST


> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/