Re: [PATCH] x86: fix gart iommu using for amd 64 bit system

From: FUJITA Tomonori
Date: Tue Nov 24 2009 - 19:03:32 EST


On Tue, 24 Nov 2009 16:26:45 +0100
Ingo Molnar <mingo@xxxxxxx> wrote:

>
> * FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote:
>
> > > don't think user will like to use SWIOTLB instead of swiotlb.
> >
> > I doubt that users care about a way to fix their problems.
>
> As far as swiotlb vs. GART goes, arguably a non-bouncing hw based
> solution (GART) is superior to a bouncing one (swiotlb), right?

Yeah, but GART is not a real IOMMU that always does address
translation. If users want performance, they need 64bit DMA capable
devices to skip GART. With such devices, GART and SWIOTLB are same.

So this hacky GART workaround is useful for only people who use non
64bit DMA devices and broken BIOS with GART. IMO, it's not worth
having the workaround.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/