On Wed, 2009-01-07 at 07:04 +0300, Anton Vorontsov wrote: > AFAICS it saves r1: > > PPC_STL r0,0*SZL(r3) > PPC_STL r2,2*SZL(r3) > PPC_STL r3,3*SZL(r3) > ... > /* go up one stack frame for SP */ > PPC_LL r4,0(r1) > PPC_STL r4,1*SZL(r3) > > This fact is mentioned in the patch description: > > NOTE: The old regs dump implementation was capturing SP (r1) directly > as is, so you could see crash_kexec() function on top of the > back-trace. > But ppc_save_regs() goes up one stack frame, so you'll not see it > anymore, at the top-level you'll see who actually triggered the crash > dump instead. > > Do you see anything wrong in such behaviour?
No, just me being a bit blind looking at too many patches today :-) Cheers, Ben. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev