android_kernel_xiaomi_sm8350/arch
Arthur Kepner 74bc7ceebf dma: add dma_*map*_attrs() interfaces
Introduce new interfaces, dma_*map*_attrs(), for passing architecture-specific
attributes when memory is mapped and unmapped for DMA.  Give the interfaces
default implementations which ignore attributes.  Also introduce the
dma_{set|get}_attr() interfaces for setting and retrieving individual
attributes.  Define one attribute, DMA_ATTR_WRITE_BARRIER, in anticipation of
its use by ia64/sn.  Select whether architectures implement arch-specific
versions of the dma_*map*_attrs() interfaces via HAVE_DMA_ATTRS in Kconfig.

[markn@au1.ibm.com: dma_{set,get}_attr() have to be static inline]
Signed-off-by: Arthur Kepner <akepner@sgi.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Jes Sorensen <jes@sgi.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Roland Dreier <rdreier@cisco.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: David Miller <davem@davemloft.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-29 08:06:11 -07:00
..
alpha iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
arm iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
avr32 atmel_lcdfb: don't initialize a pre-allocated framebuffer 2008-04-28 08:58:38 -07:00
blackfin Remove the macro get_personality 2008-04-29 08:06:02 -07:00
cris cris: remove redundant display of free swap space in show_mem() 2008-04-28 08:58:28 -07:00
frv Remove the macro get_personality 2008-04-29 08:06:02 -07:00
h8300
ia64 dma: add dma_*map*_attrs() interfaces 2008-04-29 08:06:11 -07:00
m32r
m68k m68k: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:27 -07:00
m68knommu
mips proper extern for late_time_init 2008-04-29 08:06:03 -07:00
mn10300 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
parisc iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
powerpc celleb_scc_pciex __iomem annotations 2008-04-28 10:03:31 -07:00
ppc proper extern for late_time_init 2008-04-29 08:06:03 -07:00
s390 proper __do_softirq() prototype 2008-04-29 08:06:02 -07:00
sh proper __do_softirq() prototype 2008-04-29 08:06:02 -07:00
sparc iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
sparc64 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
um proper extern for late_time_init 2008-04-29 08:06:03 -07:00
v850 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
x86 x86: olpc: add One Laptop Per Child architecture support 2008-04-29 08:06:07 -07:00
xtensa
.gitignore
Kconfig dma: add dma_*map*_attrs() interfaces 2008-04-29 08:06:11 -07:00