Skip to contentSkip to conversation

dma_declare_coherent_memory

PATCH New James Bottomley 1 participant 1 message Aug 26, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma_declare_coherent_memory

This patch has been refined in mm for quite a while and now seems stable enough for mainline.

The patch is available at:

bk://linux-voyager.bkbits.net/dma-declare-coherent-memory-2.6

The short changelog is:

Andrew Morton:
o Fix sparc compile error in dma-mapping.h

James Bottomley:
o lib/bitmap.c: fix incorrect use of BITS_TO_LONGS()
o dma_alloc_coherent() still needs to support a NULL device
o Fix region sizing problem in dma_mark_declared_memory_occupied()
o Fix bug in __get_vm_area() alignment code
o Fix incorrect prototype in the dma_declare_coherent_memory API
o Convert NCR_Q720 to use dma_declare_coherent_memory
o Add x86 implementation of dma_declare_coherent_memory
o Add vmalloc alignment constraints
o Add memory region bitmap implementations
o Add dma_declare_coherent_memory() API

Petr Vandrovec:
o nsc-ircc driver crashes on shutdown

And the diffstat:

 Documentation/DMA-API.txt      |   79 +++++++++++++++++++++++++++++
 arch/i386/kernel/pci-dma.c     |  111 ++++++++++++++++++++++++++++++++++++++++-
 drivers/scsi/NCR_Q720.c        |   21 ++++++-
 include/asm-i386/dma-mapping.h |   12 ++++
 include/linux/bitmap.h         |    3 +
 include/linux/device.h         |    3 +
 include/linux/dma-mapping.h    |   29 ++++++++++
 lib/bitmap.c                   |   82 ++++++++++++++++++++++++++++++
 mm/vmalloc.c                   |   25 ++++++++-
 9 files changed, 357 insertions(+), 8 deletions(-)

James