Re: [RFC PATCH] powerpc/64s: Move ISAv3.0 / POWER9 idle code to powernv C code

2018-07-11 Thread Gautham R Shenoy
On Wed, Jul 11, 2018 at 06:30:36PM +1000, Nicholas Piggin wrote: > On Tue, 10 Jul 2018 16:36:34 +0530 > Gautham R Shenoy wrote: > > > Hello Nicholas, > > > > > > On Mon, Jul 09, 2018 at 12:24:36AM +1000, Nicholas Piggin wrote: > > > Reimplement POWER9 idle code in C, in the powernv platform cod

Re: [RFC PATCH] powerpc/64s: Move ISAv3.0 / POWER9 idle code to powernv C code

2018-07-11 Thread Nicholas Piggin
On Tue, 10 Jul 2018 16:36:34 +0530 Gautham R Shenoy wrote: > Hello Nicholas, > > > On Mon, Jul 09, 2018 at 12:24:36AM +1000, Nicholas Piggin wrote: > > Reimplement POWER9 idle code in C, in the powernv platform code. > > Assembly stubs are used to save and restore the stack frame and > > non-vo

Re: [RFC PATCH] powerpc/64s: Move ISAv3.0 / POWER9 idle code to powernv C code

2018-07-10 Thread Gautham R Shenoy
Hello Nicholas, On Mon, Jul 09, 2018 at 12:24:36AM +1000, Nicholas Piggin wrote: > Reimplement POWER9 idle code in C, in the powernv platform code. > Assembly stubs are used to save and restore the stack frame and > non-volatile GPRs before going to idle, but these are small and > mostly agnostic