From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932091AbdEQJen (ORCPT ); Wed, 17 May 2017 05:34:43 -0400 Received: from ozlabs.org ([103.22.144.67]:60167 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753168AbdEQJej (ORCPT ); Wed, 17 May 2017 05:34:39 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: bbb075ddf7d58762040ca413ad82e9974713def3 In-Reply-To: <1494580926-17590-1-git-send-email-ego@linux.vnet.ibm.com> To: "Gautham R. Shenoy" , Nicholas Piggin , Michael Neuling , Vaidyanathan Srinivasan , Shilpasri G Bhat , Akshay Adiga From: Michael Ellerman Cc: "Gautham R. Shenoy" , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powernv:idle: Set NAPSTATELOST after recovering paca on P9 DD1 Message-Id: <3wSTg11zfMz9s8F@ozlabs.org> Date: Wed, 17 May 2017 19:34:37 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2017-05-12 at 09:22:06 UTC, "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > commit 17ed4c8f81da ("powerpc/powernv: Recover correct PACA on wakeup > from a stop on P9 DD1") promises to set the NAPSTATELOST bit in paca > after recovering the correct paca for the thread waking up from stop1 > on DD1, so that the GPRs can be correctly restored on the stop exit > path. However, it loads the value 1 into r3, but stores the value in > r0 into NAPSTATELOST(r13). > > Fix this by correctly set the NAPSTATELOST bit in paca after > recovering the paca on POWER9 DD1. > > Fixes: commit 17ed4c8f81da ("powerpc/powernv: Recover correct PACA on wakeup > from a stop on P9 DD1") > > Signed-off-by: Gautham R. Shenoy > Reviewed-by: Nicholas Piggin Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/bbb075ddf7d58762040ca413ad82e9 cheers