Re: [PATCH -tip] x86: fix iommu=soft boot option

From: FUJITA Tomonori
Date: Mon Dec 07 2009 - 19:26:33 EST


On Wed, 2 Dec 2009 17:07:24 +0900
FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote:

> On Tue, 01 Dec 2009 23:55:28 -0800
> Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
>
> > >>>> amd 64 systems that
> > >>>> 1. do not have AGP
> > >>>> 2. do not have IOMMU
> > >>>> 3. mem > 4g
> > >>>> 4. BIOS do not allocate correct gart in NB.
> > >>>> will leave them to use SWIOTLB forcely.
> > >>> As I asked earlier, can you tell me what dma ops such system is
> > >>> supposed to use?
> > >> gart_dma_ops
> > >
> > > How does gart_dma_ops work on systems without IOMMU?
> >
> > ?
>
> If a system doesn't have IOMMU, what does gart_dma_ops do?

Ping?

I don't understand the above but the patch is fine about fixing two
things:

- swiotlb wrongly steals the preallocate memory for broken gart.

- a system without agp should disable gart on shutdown.
--
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/