On Wed, 2 Nov 2016 14:15:48 +0530 Gautham R Shenoy <e...@linux.vnet.ibm.com> wrote:
> Hi Nick, > > On Wed, Nov 02, 2016 at 07:36:24PM +1100, Nicholas Piggin wrote: > > > > Okay, I'll work with that. What's the best way to make a P8 do > > winkle sleeps? > > From the userspace, offlining the CPUs of the core will put them to > winkle. Thanks for this. Hum, that r13 manipulation throughout the idle and exception code is a bit interesting. I'll do the minimal patch for 4.9, but what's the reason not to just use the winkle state in the PACA rather than storing it into HSPRG0 bit, can you (or Shreyas) explain? Thanks, Nick