[PATCH] scatterlist: define SG chain for arm architecture

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sun Oct 3 07:02:52 EDT 2010


On Fri, 1 Oct 2010 17:39:58 +0100
Russell King - ARM Linux <linux at arm.linux.org.uk> wrote:

> On Fri, Oct 01, 2010 at 11:28:41AM -0500, Fernando Guzman Lugo wrote:
> > Define SG chain for ARM architecture in order to work
> > with big buffers. This patch is needed in order to
> > iovmm users can pass a big buffer to map it and ARM
> > architecture has not issues using SG chain.
> > 
> > This change was suggested by FUJITA Tomonori.
> 
> Have you audited all places where SG lists are used in the ARM
> architecture to ensure that SG chain support is safe?  (That
> goes for ARM generic code and ARM specific drivers.)

As far as I know, only SCSI actually uses SG chain feature (that is,
sending chained scatter lists). All SCSI drivers were converted when
we added SG chain feature. So what you need to care about is the dma
code.

There are only several files that actually use scatter list under
arch/arm.



More information about the linux-arm-kernel mailing list