Re: [U-Boot] [PATCH 4/9] ARM: Implement non-cached memory support

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 01:23:13PM -0600, Stephen Warren wrote: > On 08/18/2014 02:00 AM, Thierry Reding wrote: [...] > >diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h > > >+#ifdef CONFIG_SYS_NONCACHED_MEMORY > >+void noncached_init(void); > >+unsigned long noncached_al

Re: [U-Boot] [PATCH 4/9] ARM: Implement non-cached memory support

2014-08-21 Thread Thierry Reding
On Wed, Aug 20, 2014 at 01:23:13PM -0600, Stephen Warren wrote: > On 08/18/2014 02:00 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >Implement an API that can be used by drivers to allocate memory from a > >poll that is mapped uncached. This is useful if drivers would otherwise > > s/po

Re: [U-Boot] [PATCH 4/9] ARM: Implement non-cached memory support

2014-08-20 Thread Stephen Warren
On 08/18/2014 02:00 AM, Thierry Reding wrote: From: Thierry Reding Implement an API that can be used by drivers to allocate memory from a poll that is mapped uncached. This is useful if drivers would otherwise s/poll/pool/ need to do extensive cache maintenance (or explicitly maintaining th

[U-Boot] [PATCH 4/9] ARM: Implement non-cached memory support

2014-08-18 Thread Thierry Reding
From: Thierry Reding Implement an API that can be used by drivers to allocate memory from a poll that is mapped uncached. This is useful if drivers would otherwise need to do extensive cache maintenance (or explicitly maintaining the cache isn't safe). The API is protected using the new CONFIG_S