Re: [PATCH 2/2] powerpc/64s: reimplement book3s idle code in C

2018-08-09 Thread Nicholas Piggin
On Thu, 9 Aug 2018 20:15:04 +0530 Gautham R Shenoy wrote: > Hello Nicholas, > On Fri, Aug 03, 2018 at 02:13:50PM +1000, Nicholas Piggin wrote: > > Reimplement Book3S idle code in C, moving POWER7/8/9 implementation > > speific HV idle code to the powernv platform code. Generic book3s > > assembly

Re: [PATCH 2/2] powerpc/64s: reimplement book3s idle code in C

2018-08-09 Thread Gautham R Shenoy
Hello Nicholas, On Fri, Aug 03, 2018 at 02:13:50PM +1000, Nicholas Piggin wrote: > Reimplement Book3S idle code in C, moving POWER7/8/9 implementation > speific HV idle code to the powernv platform code. Generic book3s > assembly stubs are kept in common code and used only to save and > restore the

[PATCH 2/2] powerpc/64s: reimplement book3s idle code in C

2018-08-02 Thread Nicholas Piggin
Reimplement Book3S idle code in C, moving POWER7/8/9 implementation speific HV idle code to the powernv platform code. Generic book3s assembly stubs are kept in common code and used only to save and restore the stack frame and non-volatile GPRs just before going to idle and just after waking up, wh