* Marc Jones <[email protected]> [130502 17:15]:
> Hi Aaron,
> 
> On Thu, May 2, 2013 at 8:32 AM, Aaron Durbin <[email protected]> wrote:
> > Hi folks,
> >
> > I am wondering why the ramstage stack size is so large on a lot of boards:
> >
> > $ grep -A 3 -r STACK_SIZE src/* | grep Kconfig | grep default | awk '{
> > print $NF }' | sort | uniq -c | sort -r -n
> >      16 0x10000
> >       2 0x2000
> >       2 0x1000
> >       1 0x20000
> >
> > Is this just an artifact of copy-n-paste? What is driving the
> > requirement for such large stack sizes?
> 
> I suspect that it is some copy and paste. Some of the AMD Fam10 and
> Fam15 have large stacks for stacks for each core (which may or maynot
> need to be as large as they are).
> 
> Marc

We added code that measures and prints stack usage for each core. I
believe any board with a non-default stack size has these by accident
and it got copied and pasted around.
Can anyone with those boards in question please post information about
the actual stack usage here so we can unify (and possibly fix) this?

Stefan


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to