[PATCH] Offer 'uncacheable memory' as DMA coherent memory for ARMv6

Aguirre, Sergio saaguirre at ti.com
Wed Jan 13 14:09:31 EST 2010



> -----Original Message-----
> From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk]
> Sent: Wednesday, January 13, 2010 1:02 PM
> To: Aguirre, Sergio
> Cc: linux-arm-kernel at lists.infradead.org
> Subject: Re: [PATCH] Offer 'uncacheable memory' as DMA coherent memory for
> ARMv6
> 
> On Wed, Jan 13, 2010 at 12:22:11PM -0600, Aguirre, Sergio wrote:
> > (Replacing linux-arm-kernel at lists.arm.linux.org.uk with linux-arm-
> kernel at lists.infradead.org, as I got a SMTP error: "550 Please direct your
> message to the new mailing lists on lists.infradead.org")
> 
> Oops.
> 
> > > +config ARM_DMA_MEM_BUFFERABLE
> > > +	bool "Use non-cacheable memory for DMA" if CPU_V6 && !CPU_V7
> > > +	default y
> >
> > Perhaps you meant here:
> >
> > default y if CPU_V6 && !CPU_V7
> 
> No - default y if CPU_V6 || CPU_V7 - we need it enabled for V7 CPUs.

Ok, my point was more about relocating the "if CPU_V6 && ..." condition just after "default y", rather than after Boolean declaration.

Anyways, I think you got it due to your response :).

Regards,
Sergio





More information about the linux-arm-kernel mailing list