Re: [U-Boot] [PATCH] dcache: Dcache line size aligned stack buffer allocation

2011-09-01 Thread Mike Frysinger
On Thursday, September 01, 2011 07:13:36 Aneesh V wrote: > On Tuesday 30 August 2011 09:14 PM, Mike Frysinger wrote: > > however, cacheline size is an aspect of the cpu core and doesnt really > > make sense as a board config. even the ppc header hints at this: > > /* > > > > * For compatibility

Re: [U-Boot] [PATCH] dcache: Dcache line size aligned stack buffer allocation

2011-09-01 Thread Aneesh V
Hi Mike, On Tuesday 30 August 2011 09:14 PM, Mike Frysinger wrote: > On Thursday, August 25, 2011 05:34:00 Wolfgang Denk wrote: >> CONFIG_SYS_CACHELINE_SIZE is a mandatory #define, and it's OK that a >> build breaks when it's missing. On the other hand I don;t se why this >> macro needs top be re

Re: [U-Boot] [PATCH] dcache: Dcache line size aligned stack buffer allocation

2011-08-30 Thread Anton Staaf
On Tue, Aug 30, 2011 at 8:44 AM, Mike Frysinger wrote: > On Thursday, August 25, 2011 05:34:00 Wolfgang Denk wrote: >> CONFIG_SYS_CACHELINE_SIZE is a mandatory #define, and it's OK that a >> build breaks when it's missing.  On the other hand I don;t se why this >> macro needs top be removed when t

Re: [U-Boot] [PATCH] dcache: Dcache line size aligned stack buffer allocation

2011-08-30 Thread Mike Frysinger
On Thursday, August 25, 2011 05:34:00 Wolfgang Denk wrote: > CONFIG_SYS_CACHELINE_SIZE is a mandatory #define, and it's OK that a > build breaks when it's missing. On the other hand I don;t se why this > macro needs top be removed when the data cache is off. i guess a lot of arch people will need

Re: [U-Boot] [PATCH] dcache: Dcache line size aligned stack buffer allocation

2011-08-25 Thread Wolfgang Denk
Dear Lukasz Majewski, In message <1314261435-29789-1-git-send-email-l.majew...@samsung.com> you wrote: > This commit is defining new include/cache.h file, which defines macro > needed for cache aligned buffers. > ALLOC_CACHE_ALIGN_BUFFER shall be used in functions, which are using > stack allocate

[U-Boot] [PATCH] dcache: Dcache line size aligned stack buffer allocation

2011-08-25 Thread Lukasz Majewski
This commit is defining new include/cache.h file, which defines macro needed for cache aligned buffers. ALLOC_CACHE_ALIGN_BUFFER shall be used in functions, which are using stack allocated buffers for DMA transfers. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park CC: Albert ARIBAUD