[Skiboot] [PATCH] head.S: store all of LR and CTR

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat May 6 02:01:19 AEST 2017


On Fri, 2017-05-05 at 16:03 +1000, Michael Neuling wrote:
> > @@ -198,8 +198,8 @@ _exception:
> >       mflr    %r6
> >       stw     %r3,STACK_CR(%r1)
> >       stw     %r4,STACK_XER(%r1)
> > -     stw     %r5,STACK_CTR(%r1)
> > -     stw     %r5,STACK_LR(%r1)
> > +     std     %r5,STACK_CTR(%r1)
> > +     std     %r5,STACK_LR(%r1)

You meant %r6 ?

> >       mfspr   %r3,SPR_SRR0
> >       mfspr   %r4,SPR_SRR1
> >       mfspr   %r5,SPR_HSRR0


More information about the Skiboot mailing list