[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080904083124.GA18288@one.firstfloor.org>
Date: Thu, 4 Sep 2008 10:31:24 +0200
From: Andi Kleen <andi@...stfloor.org>
To: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Cc: andi@...stfloor.org, joerg.roedel@....com, mingo@...hat.com,
tglx@...utronix.de, hpa@...or.com, linux-kernel@...r.kernel.org,
iommu@...ts.linux-foundation.org, kamezawa.hiroyu@...fujitsu.com,
tony.luck@...el.com
Subject: Re: [PATCH] swiotlb: fix dma_alloc_coherent allocation failures with swiotlb
> Even if it's tree, only each IOMMU knows what's the best. That's the
> point of these changes to remove the tricks in arch/x86/pci-dma.c and
> let IOMMUs do what they want.
Duplicating all the code. Sounds great.
> > Also there's usually the problem that not all busses are translated,
> > e.g. Calgary used to do that so for e.g. dev == NULL allocations you had
> > to use these fallback algorithms anyways.
>
> dev == NULL isn't a minor thing. It's just using the fallback
> device.
You still have to handle it fully.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists