aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-08-17 11:36:18 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-17 13:36:59 -0400
commit7b22ff5344fda666e0938e5261ea7b9a3dfce497 (patch)
tree3fc6994f3432a7264867688b67db631878b81d7c /arch/x86/boot
parentf3efbe582b5396d134024c03a5fa253f2a85d9a6 (diff)
x86 gart: allocate size-aligned address for alloc_coherent, v2
This patch changes GART IOMMU to return a size aligned address wrt dma_alloc_coherent, as DMA-mapping.txt defines: The cpu return address and the DMA bus master address are both guaranteed to be aligned to the smallest PAGE_SIZE order which is greater than or equal to the requested size. This invariant exists (for example) to guarantee that if you allocate a chunk which is smaller than or equal to 64 kilobytes, the extent of the buffer you receive will not cross a 64K boundary. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/boot')
0 files changed, 0 insertions, 0 deletions