Re: [PATCH v5 08/11] powerpc/powernv: Add platform support for stop instruction

From: Benjamin Herrenschmidt
Date: Sun Jun 05 2016 - 18:29:33 EST


On Thu, 2016-06-02 at 07:38 -0500, Shreyas B. Prabhu wrote:
> @@ -61,8 +72,13 @@ save_sprs_to_stack:
> ÂÂÂÂÂÂÂÂ * Note all register i.e per-core, per-subcore or per-thread is saved
> ÂÂÂÂÂÂÂÂ * here since any thread in the core might wake up first
> ÂÂÂÂÂÂÂÂ */
> +BEGIN_FTR_SECTION
> +ÂÂÂÂÂÂÂmfsprÂÂÂr3,SPRN_PTCR
> +ÂÂÂÂÂÂÂstdÂÂÂÂÂr3,_PTCR(r1)
> +FTR_SECTION_ELSE
> ÂÂÂÂÂÂÂÂmfsprÂÂÂr3,SPRN_SDR1
> ÂÂÂÂÂÂÂÂstdÂÂÂÂÂr3,_SDR1(r1)
> +ALT_FTR_SECTION_END_IFSET(CPU_FTR_ARCH_300)

This is the only new SPR we care about in P9 ?

Cheers,
Ben.