public inbox for linux-rockchip@lists.infradead.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
To: Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
Cc: Linux MIPS Mailing List
	<linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org>,
	Aurelien Jacquiot <a-jacquiot-l0cyMroinI0@public.gmane.org>,
	Benjamin Herrenschmidt
	<benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>,
	Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>,
	DRI Development
	<dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
	Paul Mackerras <paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>,
	"linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Michael Ellerman <mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>,
	Linux-sh list <linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"James E.J. Bottomley"
	<jejb-6jwH94ZQLHl74goWV3ctuw@public.gmane.org>,
	Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org>,
	xen-devel-GuqFBffKawtpuQazS67q72D2FQJk+8+b@public.gmane.org,
	Matt Turner <mattst88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	uclinux-h8-devel-5NWGOfrQmneRv+LV9MX5uooqe+aC9MnS@public.gmane.org,
	James Hogan <james.hogan-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>,
	"adi-buildroot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"
	<adi-buildroot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>,
	"linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [RFC v3 02/45] dma-mapping: Use unsigned long for dma_attrs
Date: Fri, 03 Jun 2016 09:50:40 +0200	[thread overview]
Message-ID: <575136D0.6000101@samsung.com> (raw)
In-Reply-To: <CAMuHMdXWMf7Dt77wSUj8NytQqb99jzDiAz46kJkAEz+6BX3Uvw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

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-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> 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

  parent reply	other threads:[~2016-06-03  7:50 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1464881987-13203-1-git-send-email-k.kozlowski@samsung.com>
     [not found] ` <1464881987-13203-1-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-06-02 15:39   ` [RFC v3 01/45] powerpc: dma-mapping: Don't hard-code the value of DMA_ATTR_WEAK_ORDERING Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 02/45] dma-mapping: Use unsigned long for dma_attrs Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 03/45] alpha: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 04/45] arc: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 05/45] ARM: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 06/45] arm64: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 07/45] avr32: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 08/45] blackfin: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 09/45] c6x: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 10/45] cris: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 11/45] frv: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 12/45] drm/exynos: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 13/45] drm/mediatek: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 14/45] drm/msm: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 15/45] drm/nouveau: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 16/45] drm/rockship: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 17/45] infiniband: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 18/45] iommu: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 19/45] [media] " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 20/45] xen: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 21/45] swiotlb: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 22/45] powerpc: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 23/45] video: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 24/45] x86: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 25/45] iommu: intel: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 26/45] h8300: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 27/45] hexagon: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 28/45] ia64: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 29/45] m68k: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 30/45] metag: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 31/45] microblaze: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 32/45] mips: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 33/45] mn10300: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 34/45] nios2: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 35/45] openrisc: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 36/45] parisc: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 37/45] misc: mic: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 38/45] s390: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 39/45] sh: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 40/45] sparc: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 41/45] tile: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 42/45] unicore32: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 43/45] xtensa: " Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 44/45] dma-mapping: Remove dma_get_attr Krzysztof Kozlowski
2016-06-02 15:39   ` [RFC v3 45/45] dma-mapping: Document the DMA attributes right in declaration Krzysztof Kozlowski
     [not found] ` <1464881987-13203-3-git-send-email-k.kozlowski@samsung.com>
     [not found]   ` <1464881987-13203-3-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-06-03  7:17     ` [RFC v3 02/45] dma-mapping: Use unsigned long for dma_attrs Geert Uytterhoeven
     [not found]       ` <CAMuHMdXWMf7Dt77wSUj8NytQqb99jzDiAz46kJkAEz+6BX3Uvw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-06-03  7:50         ` Krzysztof Kozlowski [this message]
     [not found] ` <1464881987-13203-30-git-send-email-k.kozlowski@samsung.com>
     [not found]   ` <1464881987-13203-30-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-06-03  7:18     ` [RFC v3 29/45] m68k: " Geert Uytterhoeven
     [not found] ` <1464881987-13203-11-git-send-email-k.kozlowski@samsung.com>
2016-06-03  7:52   ` [RFC v3 10/45] cris: " Jesper Nilsson
     [not found] ` <1464881987-13203-2-git-send-email-k.kozlowski@samsung.com>
     [not found]   ` <1464881987-13203-2-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-06-03  7:55     ` [RFC v3 01/45] powerpc: dma-mapping: Don't hard-code the value of DMA_ATTR_WEAK_ORDERING Krzysztof Kozlowski
     [not found] ` <1464881987-13203-8-git-send-email-k.kozlowski@samsung.com>
2016-06-06  6:43   ` [RFC v3 07/45] avr32: dma-mapping: Use unsigned long for dma_attrs Hans-Christian Noren Egtvedt
     [not found] ` <1464881987-13203-45-git-send-email-k.kozlowski@samsung.com>
2016-06-06  6:45   ` [RFC v3 44/45] dma-mapping: Remove dma_get_attr Hans-Christian Noren Egtvedt
     [not found] ` <1464881987-13203-21-git-send-email-k.kozlowski@samsung.com>
     [not found]   ` <1464881987-13203-21-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-06-07  9:06     ` [RFC v3 20/45] xen: dma-mapping: Use unsigned long for dma_attrs David Vrabel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=575136D0.6000101@samsung.com \
    --to=k.kozlowski-sze3o3uu22jbdgjk7y7tuq@public.gmane.org \
    --cc=a-jacquiot-l0cyMroinI0@public.gmane.org \
    --cc=adi-buildroot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org \
    --cc=catalin.marinas-5wv7dgnIgG8@public.gmane.org \
    --cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org \
    --cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=james.hogan-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org \
    --cc=jejb-6jwH94ZQLHl74goWV3ctuw@public.gmane.org \
    --cc=linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mattst88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org \
    --cc=paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
    --cc=tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org \
    --cc=uclinux-h8-devel-5NWGOfrQmneRv+LV9MX5uooqe+aC9MnS@public.gmane.org \
    --cc=will.deacon-5wv7dgnIgG8@public.gmane.org \
    --cc=xen-devel-GuqFBffKawtpuQazS67q72D2FQJk+8+b@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox