[PATCH 06/17] powerpc: Add transactional memory paca scratch register to show_regs
Michael Neuling
mikey at neuling.org
Thu Feb 14 12:53:41 EST 2013
Kumar Gala <galak at kernel.crashing.org> wrote:
>
> On Feb 12, 2013, at 10:31 PM, Michael Neuling wrote:
>
> > Add transactional memory paca scratch register to show_regs. This is useful
> > for debugging.
> >
> > Signed-off-by: Matt Evans <matt at ozlabs.org>
> > Signed-off-by: Michael Neuling <mikey at neuling.org>
> > ---
> > arch/powerpc/include/asm/paca.h | 1 +
> > arch/powerpc/kernel/asm-offsets.c | 1 +
> > arch/powerpc/kernel/entry_64.S | 4 ++++
> > arch/powerpc/kernel/process.c | 3 +++
> > 4 files changed, 9 insertions(+)
> >
> > diff --git a/arch/powerpc/include/asm/paca.h b/arch/powerpc/include/asm/paca.h
> > index c47d687..07e9851 100644
> > --- a/arch/powerpc/include/asm/paca.h
> > +++ b/arch/powerpc/include/asm/paca.h
> > @@ -137,6 +137,7 @@ struct paca_struct {
> > u8 irq_work_pending; /* IRQ_WORK interrupt while soft-disable */
> > u8 nap_state_lost; /* NV GPR values lost in power7_idle */
> > u64 sprg3; /* Saved user-visible sprg */
>
> #ifdef CONFIG_PPC_TRANSACTIONAL_MEM
>
> > + u64 tm_scratch; /* TM scratch area for reclaim */
>
> #endif
Yep.. thanks again.
Mikey
More information about the Linuxppc-dev
mailing list