On 06/03/2016 09:17 AM, Geert Uytterhoeven wrote:
Hi Krzysztof,
On Thu, Jun 2, 2016 at 5:39 PM, Krzysztof Kozlowski k.kozlowski@samsung.com wrote:
--- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -5,13 +5,25 @@
+/**
- List of possible attributes associated with a DMA mapping. The semantics
- of each attribute should be defined in Documentation/DMA-attributes.txt.
- */
+#define DMA_ATTR_WRITE_BARRIER (1UL << 1)
Any particular reason they start at 2, not 1?
No reason. I'll fix this in next version (and trim Cc-list). Anyway the values of constants won't match old ones but that should not be problem (unless they are hard-coded somewhere).
Best regards, Krzysztof