|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH 04 of 14] swiotlb: consistently use address_needs
On Wed, 2008-12-17 at 11:51 +0900, FUJITA Tomonori wrote:
> On Wed, 17 Dec 2008 11:48:41 +0900
> FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote:
>
> > On Tue, 16 Dec 2008 12:17:28 -0800
> > Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> >
> > > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> > > ---
> > > lib/swiotlb.c | 10 +++-------
> > > 1 file changed, 3 insertions(+), 7 deletions(-)
> >
> > This patch is wrong.
> >
> > dma_mask and coherent_dma_mask represent different restrictions.
> >
> > You can't use coherent_dma_mask for alloc_coherent.
>
> Oops, "you can't use dma_mask for alloc_coherent."
You are right, I completely overlooked that it was coherent_dma_mask in
one place and just dma_mask in the other, sorry for the noise.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 00 of 14] swiotlb/x86: lay groundwork for xen dom0 use of swiotlb, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 05 of 14] swiotlb: add comment where we handle the overflow of a dma mask on 32 bit, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 06 of 14] swiotlb: allow architectures to override phys<->bus<->phys conversions, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 07 of 14] swiotlb: add arch hook to force mapping, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 08 of 14] swiotlb: factor out copy to/from device, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 10 of 14] swiotlb: consolidate swiotlb info message printing, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 11 of 14] x86: add swiotlb allocation functions, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 13 of 14] x86/swiotlb: add default phys<->bus conversion, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 12 of 14] x86: unify pci iommu setup and allow swiotlb to compile for 32 bit, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 14 of 14] x86/swiotlb: add default swiotlb_arch_range_needs_mapping, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 09 of 14] swiotlb: support bouncing of HighMem pages, Jeremy Fitzhardinge
|
|
|
|
|