Re: [PATCH 2/5] dma_map_sg_ring() helper

FUJITA Tomonori
2007-12-21T02:23:38Z

On Thu, 20 Dec 2007 16:40:00 -0800 (PST)
David Miller <davem@davemloft.net> wrote:

> From: Rusty Russell <rusty@rustcorp.com.au>
> Date: Fri, 21 Dec 2007 11:35:12 +1100
>
> > On Friday 21 December 2007 11:00:27 FUJITA Tomonori wrote:
> > > We need to pass the whole sg entries to the IOMMUs at a time.
> >
> > Hi Fujita,
> >
> > OK, it's certainly possible to have an arch override. For which
> > architecture is this BTW?
>
> SPARC64, POWERPC, maybe IA-64 etc.

And x86_64, Alpha, and PARISC.

> Basically any platform that potentially does virtual
> remamping and thus linearization.
>
> I think it should always be provided, the new APIs give
> less information to the implementation and that's a step
> backwards.

Agreed.