From: James Bottomley <James.Bottomley@SteelEye.com>
To: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [BK PATCH] dma_declare_coherent_memory
Date: 14 Aug 2004 19:28:02 -0400 [thread overview]
Message-ID: <1092526084.1878.18.camel@mulgrave> (raw)
This patch has been refined in mm for quite a while and now seems stable
enough for mainline.
I've added one extra bugfix over mm (Ian Molton spotted an error
calculating the index bits for the bitmaps).
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
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 ++++++++-
James
next reply other threads:[~2004-08-14 23:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-14 23:28 James Bottomley [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-08-26 13:42 [BK PATCH] dma_declare_coherent_memory James Bottomley
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=1092526084.1878.18.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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