|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 1/9] xen: make sure swiotlb allocation isphysical
>>> Jeremy Fitzhardinge <jeremy@xxxxxxxx> 08.05.09 02:17 >>>
>Impact: make swiotlb allocation suitable for Xen
>
>When allocating the swiotlb buffer under Xen, make sure the memory is
>physically contiguous so that its really suitable for DMA.
>
>Do this by allocating the memory as usual, but then call a Xen
>function to rearrange the underlying pages to be physically
>contiguous.
As pointed out before, you must not use alloc_bootmem_low...() here,
as on large systems you may otherwise get an allocation failure (i.e. a
panic - checking the return value is pointless). The alternative is to fix
the bootmem allocator to no longer allocate from bottom up.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 4/9] xen/swiotlb: add swiotlb_arch_range_needs_mapping hook for xen, (continued)
- [Xen-devel] [PATCH 4/9] xen/swiotlb: add swiotlb_arch_range_needs_mapping hook for xen, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 3/9] xen: add hooks for mapping phys<->bus addresses in swiotlb, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 5/9] xen: enable swiotlb for xen domain 0., Jeremy Fitzhardinge
- [Xen-devel] [PATCH 1/9] xen: make sure swiotlb allocation is physically contigious, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 6/9] swiotlb: use swiotlb_alloc_boot to allocate emergency pool, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 9/9] xen/swiotlb: update to new new dma_ops, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 8/9] xen/swiotlb: add sync functions, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 7/9] xen/swiotlb: improve comment on gfp flags in xen_alloc_coherent(), Jeremy Fitzhardinge
- [Xen-devel] Re: [GIT PULL] xen: swiotlb support for Xen dom0, Ingo Molnar
- [Xen-devel] Re: [GIT PULL] xen: swiotlb support for Xen dom0, Ingo Molnar
|
|
|
|
|