From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3t8YGb66F2zDvQQ for ; Thu, 3 Nov 2016 16:21:11 +1100 (AEDT) Received: by mail-pf0-x244.google.com with SMTP id n85so3682925pfi.3 for ; Wed, 02 Nov 2016 22:21:11 -0700 (PDT) Date: Thu, 3 Nov 2016 16:21:00 +1100 From: Nicholas Piggin To: Gautham R Shenoy Cc: Mahesh J Salgaonkar , linuxppc-dev@lists.ozlabs.org, "Shreyas B . Prabhu" , Vaidyanathan Srinivasan Subject: Re: [PATCH] powerpc/64s: relocation, register save fixes for system reset interrupt Message-ID: <20161103162100.1b50777e@roar.ozlabs.ibm.com> In-Reply-To: <20161102084548.GD17909@in.ibm.com> References: <20161013021714.6624-1-npiggin@gmail.com> <79d229aa-2b4e-67b7-157b-b839bc390cbf@linux.vnet.ibm.com> <20161102175701.2ae8d1d3@roar.ozlabs.ibm.com> <20161102082433.GA17365@in.ibm.com> <20161102193624.7f0cbfee@roar.ozlabs.ibm.com> <20161102084548.GD17909@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2 Nov 2016 14:15:48 +0530 Gautham R Shenoy 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