[PATCH] ARM: Make sure appended device tree data won't overlap kernel BSS

Nicolas Pitre nico at fluxnic.net
Fri May 13 23:09:52 EST 2011


On Fri, 13 May 2011, Tony Lindgren wrote:

> * Nicolas Pitre <nico at fluxnic.net> [110513 00:35]:
> > On Thu, 12 May 2011, Tony Lindgren wrote:
> > >
> > > +		str	r1, [sp, #0]		@ save offset into stack
> > 
> > This is actually outside the stack area if you want to be strictly 
> > correct.  Should be "str r1, [sp, #-4]!".
> 
> Thanks, yes we should use it like stack now. Updated patch below.
>  
> > Anyway, both this patch tand the DT append patch won't apply or work 
> > correctly anymore due to my latest cleanup series without minor 
> > adjustments.
> 
> OK, no problem. Got those cleanup patches available somewhere?

They,re available in branch 'zImage_fixes' of git://git.linaro.org/people/nico/linux
and in RMK's devel-stable branch as well.


Nicolas



More information about the devicetree-discuss mailing list