27 May, 2014
3 commits
-
Use "boundary" to be more descriptive than "alloc" in the dma_pool_create()
documentation.Replace "SLAB_KERNEL" and "SLAB_ATOMIC" with the correct "GFP_KERNEL" and
"GFP_ATOMIC."[bhelgaas: changelog]
Signed-off-by: Gioh Kim
Signed-off-by: Bjorn Helgaas -
"coherent" is written twice when it should be just once.
Signed-off-by: Emilio López
Signed-off-by: Bjorn Helgaas -
Sometimes we used "cpu," other times "CPU." Use "CPU" consistently.
Suggested-by: Randy Dunlap
Signed-off-by: Bjorn Helgaas
21 May, 2014
1 commit
-
The DMA-API documentation sometimes refers to "physical addresses" when it
really means "bus addresses." Sometimes these are identical, but they may
be different if the bridge leading to the bus performs address translation.
Update the documentation to use "bus address" when appropriate.Also, consistently capitalize "DMA", use parens with function names, use
dev_printk() in examples, and reword a few sections for clarity.No functional change; documentation changes only.
Signed-off-by: Bjorn Helgaas
Acked-by: Greg Kroah-Hartman
Acked-by: Arnd Bergmann
Acked-by: James Bottomley
Acked-by: Randy Dunlap
17 Sep, 2013
1 commit
-
Provide a helper to set both the DMA and coherent DMA masks to the
same value - this avoids duplicated code in a number of drivers,
sometimes with buggy error handling, and also allows us identify
which drivers do things differently.Signed-off-by: Russell King
28 Feb, 2013
2 commits
-
Noted by Jesper
Cc: Jesper Juhl
Cc: Konrad Rzeszutek Wilk
Cc: Shuah Khan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Shuah Khan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
24 Oct, 2012
1 commit
-
Enhance the document to discuss the importance of dma
mapping error checks after dma_map_single() and
dma_map_page() calls. Also added usage examples that include
unmap examples in error paths when dma mapping error is
returned. Includes correct and incorrect usages to high
light some common mistakes in error paths especially when
dma mapping fails when more than one dma mapping call is
made.Signed-off-by: Shuah Khan
Reviewed-by: Konrad Rzeszutek Wilk
Signed-off-by: Joerg Roedel
27 Jul, 2011
1 commit
-
See: DMA-API.txt, part Id, DMA_FROM_DEVICE description.
Signed-off-by: Michal Miroslaw
Cc: FUJITA Tomonori
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
15 Aug, 2010
1 commit
-
ARCH_KMALLOC_MINALIGN was renamed to ARCH_DMA_MINALIGN (the commit
a6eb9fe105d5de0053b261148cee56c94b4720ca).ARCH_DMA_MINALIGN must be defined instead of ARCH_KMALLOC_MINALIGN to
ensure that kmalloc'ed buffer is DMA-safe.Signed-off-by: FUJITA Tomonori
Signed-off-by: Linus Torvalds
11 Aug, 2010
1 commit
-
Signed-off-by: FUJITA Tomonori
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 May, 2010
5 commits
-
Add ARCH_KMALLOC_MINALIGN description in "Platform Issues" section.
Signed-off-by: FUJITA Tomonori
Cc: "David S. Miller"
Cc: Matt Mackall
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Handing DMA mapping errors is essential. Let's put it in the more
appropriate place rather than the end of the doc.Signed-off-by: FUJITA Tomonori
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Now we have . Architectures should use it
instead of inventing the own scatterlist struct. Let's update the
description.Signed-off-by: FUJITA Tomonori
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add the concrete DMA mapping error handling for SCSI drivers on the
queuecommand path.Signed-off-by: FUJITA Tomonori
Cc: James Bottomley
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Adds the concrete DMA mapping error handling for Networking drivers on the
transmit path.Signed-off-by: FUJITA Tomonori
Acked-by: David S. Miller
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
23 Apr, 2010
1 commit
-
Fix obvious cases of "it's" being used when "its" was meant.
Signed-off-by: Francis Galiegue
Acked-by: Randy Dunlap
Signed-off-by: Jiri Kosina
25 Mar, 2010
1 commit
-
This patch renames PCI/PCI-DMA-mapping.txt to DMA-API-HOWTO.txt.
The commit 51e7364ef281e540371f084008732b13292622f0 "Documentation: rename
PCI-DMA-mapping.txt to DMA-API-HOWTO.txt" was supposed to do this but it
didn't.Signed-off-by: FUJITA Tomonori
Acked-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds