Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1643175

Re: powernv:idle: Set NAPSTATELOST after recovering paca on P9 DD1

From Michael Ellerman <patch-notifications@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: powernv:idle: Set NAPSTATELOST after recovering paca on P9 DD1
Date 2017-05-17 11:40 +0200
Message-ID <tI3AZ-1j2-1@gated-at.bofh.it> (permalink)
References <tGf3A-2n7-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2017-05-12 at 09:22:06 UTC, "Gautham R. Shenoy" wrote:
> From: "Gautham R. Shenoy" <ego@linux.vnet.ibm.com>
> 
> 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 <ego@linux.vnet.ibm.com>
> Reviewed-by: Nicholas Piggin <npiggin@gmail.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/bbb075ddf7d58762040ca413ad82e9

cheers

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] powernv:idle: Set NAPSTATELOST after recovering paca on P9 DD1 "Gautham R. Shenoy" <ego@linux.vnet.ibm.com> - 2017-05-12 11:30 +0200
  Re: [PATCH] powernv:idle: Set NAPSTATELOST after recovering paca on  P9 DD1 Nicholas Piggin <npiggin@gmail.com> - 2017-05-12 11:50 +0200
  Re: powernv:idle: Set NAPSTATELOST after recovering paca on P9 DD1 Michael Ellerman <patch-notifications@ellerman.id.au> - 2017-05-17 11:40 +0200

csiph-web