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

2018-08-10 Thread Nicholas Piggin
On Fri, 10 Aug 2018 16:42:49 +1000 Nicholas Piggin wrote: > Reimplement Book3S idle code in C, moving POWER7/8/9 implementation > speific HV idle code to the powernv platform code. > > Book3S assembly stubs are kept in common code and used only to save > the stack frame and non-volatile GPRs

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

2018-08-10 Thread Nicholas Piggin
Reimplement Book3S idle code in C, moving POWER7/8/9 implementation speific HV idle code to the powernv platform code. Book3S assembly stubs are kept in common code and used only to save the stack frame and non-volatile GPRs before executing architected idle instructions, and restoring the stack