Commit-ID: 2fe59f507a65dbd734b990a11ebc7488f6f87a24
Gitweb: http://git.kernel.org/tip/2fe59f507a65dbd734b990a11ebc7488f6f87a24
Author: Nicholas Piggin <npig...@gmail.com>
AuthorDate: Tue, 22 Aug 2017 18:43:48 +1000
Committer: Thomas Gleixner <t...@linutronix.de>
CommitDate:
Commit-ID: 2fe59f507a65dbd734b990a11ebc7488f6f87a24
Gitweb: http://git.kernel.org/tip/2fe59f507a65dbd734b990a11ebc7488f6f87a24
Author: Nicholas Piggin
AuthorDate: Tue, 22 Aug 2017 18:43:48 +1000
Committer: Thomas Gleixner
CommitDate: Thu, 24 Aug 2017 11:40:18 +0200
timers: Fix
On Tue, 22 Aug 2017 11:19:02 +0200
Michal Simek <mon...@monstr.eu> wrote:
> On 20.8.2017 05:36, Nicholas Piggin wrote:
> > On Sun, 20 Aug 2017 08:37:36 +0800
> > kbuild test robot <fengguang...@intel.com> wrote:
> >
> >> Hi Nicholas,
>
On Tue, 22 Aug 2017 11:19:02 +0200
Michal Simek wrote:
> On 20.8.2017 05:36, Nicholas Piggin wrote:
> > On Sun, 20 Aug 2017 08:37:36 +0800
> > kbuild test robot wrote:
> >
> >> Hi Nicholas,
> >>
> >> FYI, the error/warning still remains.
>
Tested-by: Jonathan Cameron <jonathan.came...@huawei.com>
Tested-by: David Miller <da...@davemloft.net>
Signed-off-by: Nicholas Piggin <npig...@gmail.com>
---
- Address Thomas' comments (hopefully).
- Reword the changelog a bit.
- Added Jonathan's tested-by
kernel
Tested-by: Jonathan Cameron
Tested-by: David Miller
Signed-off-by: Nicholas Piggin
---
- Address Thomas' comments (hopefully).
- Reword the changelog a bit.
- Added Jonathan's tested-by
kernel/time/timer.c | 50 +-
1 file changed, 41 insertions
On Tue, 22 Aug 2017 09:45:46 +0200 (CEST)
Thomas Gleixner <t...@linutronix.de> wrote:
> On Tue, 22 Aug 2017, Nicholas Piggin wrote:
> > I would have preferred to get comments from the timer maintainers, but
> > they've been busy or away for the past copule of weeks. Perhaps y
On Tue, 22 Aug 2017 09:45:46 +0200 (CEST)
Thomas Gleixner wrote:
> On Tue, 22 Aug 2017, Nicholas Piggin wrote:
> > I would have preferred to get comments from the timer maintainers, but
> > they've been busy or away for the past copule of weeks. Perhaps you
> > would consi
ale:
max avg std
upstream 9.01.05 0.19
patched 2.01.04 0.11
Tested-by: David Miller <da...@davemloft.net>
Signed-off-by: Nicholas Piggin <npig...@gmail.com>
---
Hi Andrew,
I would have preferred to get comments from the timer maintainers, b
ale:
max avg std
upstream 9.01.05 0.19
patched 2.01.04 0.11
Tested-by: David Miller
Signed-off-by: Nicholas Piggin
---
Hi Andrew,
I would have preferred to get comments from the timer maintainers, but
they've been busy or away for the past cop
dle for longer than 4 seconds, which limits the granularity
errors. Sub-optimal timer behaviour is observable on a smaller scale:
max avg std
upstream 9.01.05 0.19
patched 2.01.04 0.11
Tested-by: David Miller <da...@davemloft.net>
Signed-off-by:
dle for longer than 4 seconds, which limits the granularity
errors. Sub-optimal timer behaviour is observable on a smaller scale:
max avg std
upstream 9.01.05 0.19
patched 2.01.04 0.11
Tested-by: David Miller
Signed-off-by: Nicholas Piggin
---
Hi Andrew,
Signed-off-by: Nicholas Piggin <npig...@gmail.com>
---
kernel/sched/idle.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index 6c23e30c0e5c..b884980da8ef 100644
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -11,6
Signed-off-by: Nicholas Piggin
---
kernel/sched/idle.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index 6c23e30c0e5c..b884980da8ef 100644
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -11,6 +11,7 @@
#include
Commit fd851a3cdc ("spin loop primitives for busy waiting") introduced
a begin/relax/end sequence for busy loops, to improve behaviour with
some architectures.
Convert most of the generic locking primitives over to use these spin
primitives.
Signed-off-by: Nicholas Piggin <npig
Commit fd851a3cdc ("spin loop primitives for busy waiting") introduced
a begin/relax/end sequence for busy loops, to improve behaviour with
some architectures.
Convert most of the generic locking primitives over to use these spin
primitives.
Signed-off-by: Nicholas Piggin
---
inc
Nicholas Piggin (2):
locking: Use spin primitives for busy loops
sched/idle: Use spin loop primitives for polling idle
include/linux/bit_spinlock.h| 5 ++---
include/linux/seqlock.h | 9 -
kernel/locking/mcs_spinlock.h | 6 ++
kernel/locking/mutex.c
Nicholas Piggin (2):
locking: Use spin primitives for busy loops
sched/idle: Use spin loop primitives for polling idle
include/linux/bit_spinlock.h| 5 ++---
include/linux/seqlock.h | 9 -
kernel/locking/mcs_spinlock.h | 6 ++
kernel/locking/mutex.c
On Sun, 20 Aug 2017 08:37:36 +0800
kbuild test robot wrote:
> Hi Nicholas,
>
> FYI, the error/warning still remains.
Still same answer as before, i.e., it seems to be this toolchain bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=21017
I've had no response from
On Sun, 20 Aug 2017 08:37:36 +0800
kbuild test robot wrote:
> Hi Nicholas,
>
> FYI, the error/warning still remains.
Still same answer as before, i.e., it seems to be this toolchain bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=21017
I've had no response from the microblaze
On Mon, 14 Aug 2017 15:21:48 +1000
Michael Ellerman wrote:
> Sukadev Bhattiprolu writes:
> > arch/powerpc/include/asm/vas.h | 35
> > arch/powerpc/include/uapi/asm/vas.h | 25 +++
>
> I thought we weren't exposing VAS to
On Mon, 14 Aug 2017 15:21:48 +1000
Michael Ellerman wrote:
> Sukadev Bhattiprolu writes:
> > arch/powerpc/include/asm/vas.h | 35
> > arch/powerpc/include/uapi/asm/vas.h | 25 +++
>
> I thought we weren't exposing VAS to userspace yet?
>
> If we are then we need to get things
S it seems reasonable to make the dependency
explicit.
Fixes: 05a4a9527931 ("kernel/watchdog: split up config options")
Signed-off-by: Nicholas Piggin <npig...@gmail.com>
---
arch/powerpc/Kconfig | 2 +-
arch/x86/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 delet
S it seems reasonable to make the dependency
explicit.
Fixes: 05a4a9527931 ("kernel/watchdog: split up config options")
Signed-off-by: Nicholas Piggin
---
arch/powerpc/Kconfig | 2 +-
arch/x86/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/po
tate on POWER9 via cpuidle.
These look good to me, thanks. I think the SPR saving is moving in the
right direction too. We should get this enabled stream as soon as possible.
For both patches,
Reviewed-by: Nicholas Piggin <npig...@gmail.com>
the SPR saving is moving in the
right direction too. We should get this enabled stream as soon as possible.
For both patches,
Reviewed-by: Nicholas Piggin
ce
> > that same barrier _inside_ the spin_lock(). In that case we upgrade
> > the RCpc spinlock to an RCsc. That would make all schedule() calls
> > fully transitive against one another.
> >
> > Cc: Alan Stern <st...@rowland.harvard.edu>
> > Cc: Nicholas P
rier _inside_ the spin_lock(). In that case we upgrade
> > the RCpc spinlock to an RCsc. That would make all schedule() calls
> > fully transitive against one another.
> >
> > Cc: Alan Stern
> > Cc: Nicholas Piggin
> > Cc: Ingo Molnar
> > Cc: Will Deaco
On Tue, 1 Aug 2017 16:32:03 -0700
"Paul E. McKenney" wrote:
> On Tue, Aug 01, 2017 at 04:16:54PM +0200, Peter Zijlstra wrote:
> > On Tue, Aug 01, 2017 at 06:23:09AM -0700, Paul E. McKenney wrote:
> > > On Tue, Aug 01, 2017 at 12:22:03PM +0200, Peter Zijlstra wrote:
On Tue, 1 Aug 2017 16:32:03 -0700
"Paul E. McKenney" wrote:
> On Tue, Aug 01, 2017 at 04:16:54PM +0200, Peter Zijlstra wrote:
> > On Tue, Aug 01, 2017 at 06:23:09AM -0700, Paul E. McKenney wrote:
> > > On Tue, Aug 01, 2017 at 12:22:03PM +0200, Peter Zijlstra wrote:
> > >
> > > [ . . . ]
> > >
On Tue, 1 Aug 2017 13:00:23 +0200
Peter Zijlstra <pet...@infradead.org> wrote:
> On Tue, Aug 01, 2017 at 08:39:28PM +1000, Nicholas Piggin wrote:
> > Right, I just don't see what real problem this opens up that you don't
> > already have when you are not hard partitioned,
On Tue, 1 Aug 2017 13:00:23 +0200
Peter Zijlstra wrote:
> On Tue, Aug 01, 2017 at 08:39:28PM +1000, Nicholas Piggin wrote:
> > Right, I just don't see what real problem this opens up that you don't
> > already have when you are not hard partitioned, therefore it doesn't
> &
On Tue, 1 Aug 2017 12:22:03 +0200
Peter Zijlstra <pet...@infradead.org> wrote:
> On Tue, Aug 01, 2017 at 07:57:17PM +1000, Nicholas Piggin wrote:
> > On Tue, 1 Aug 2017 10:12:30 +0200
> > Peter Zijlstra <pet...@infradead.org> wrote:
> >
> > > On Tue,
On Tue, 1 Aug 2017 12:22:03 +0200
Peter Zijlstra wrote:
> On Tue, Aug 01, 2017 at 07:57:17PM +1000, Nicholas Piggin wrote:
> > On Tue, 1 Aug 2017 10:12:30 +0200
> > Peter Zijlstra wrote:
> >
> > > On Tue, Aug 01, 2017 at 12:00:47PM +1000, Nicholas
On Tue, 1 Aug 2017 10:12:30 +0200
Peter Zijlstra <pet...@infradead.org> wrote:
> On Tue, Aug 01, 2017 at 12:00:47PM +1000, Nicholas Piggin wrote:
> > Thanks for this, I'll take a look. This should be a good start as a stress
> > test, but I'd also be interested in some ap
On Tue, 1 Aug 2017 10:12:30 +0200
Peter Zijlstra wrote:
> On Tue, Aug 01, 2017 at 12:00:47PM +1000, Nicholas Piggin wrote:
> > Thanks for this, I'll take a look. This should be a good start as a stress
> > test, but I'd also be interested in some application. T
On Tue, 1 Aug 2017 01:33:09 + (UTC)
Mathieu Desnoyers <mathieu.desnoy...@efficios.com> wrote:
> - On Jul 31, 2017, at 8:35 PM, Nicholas Piggin npig...@gmail.com wrote:
>
> > On Mon, 31 Jul 2017 23:20:59 +1000
> > Michael Ellerman <m...@ellerman.id.au> wro
On Tue, 1 Aug 2017 01:33:09 + (UTC)
Mathieu Desnoyers wrote:
> - On Jul 31, 2017, at 8:35 PM, Nicholas Piggin npig...@gmail.com wrote:
>
> > On Mon, 31 Jul 2017 23:20:59 +1000
> > Michael Ellerman wrote:
> >
> >> Peter Zijlstra writes:
> >&g
On Mon, 31 Jul 2017 23:20:59 +1000
Michael Ellerman wrote:
> Peter Zijlstra writes:
>
> > On Fri, Jul 28, 2017 at 10:55:32AM +0200, Peter Zijlstra wrote:
> >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
> >> index
On Mon, 31 Jul 2017 23:20:59 +1000
Michael Ellerman wrote:
> Peter Zijlstra writes:
>
> > On Fri, Jul 28, 2017 at 10:55:32AM +0200, Peter Zijlstra wrote:
> >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
> >> index e9785f7aed75..33f34a201255 100644
> >> --- a/kernel/sched/core.c
>
On Sat, 29 Jul 2017 19:45:43 +1000
Nicholas Piggin <npig...@gmail.com> wrote:
> hmm, we might be able to restrict iteration
> to mm_cpumask(current->mm), no?
Oh that's been discussed too. I'll read back over it too.
On Sat, 29 Jul 2017 19:45:43 +1000
Nicholas Piggin wrote:
> hmm, we might be able to restrict iteration
> to mm_cpumask(current->mm), no?
Oh that's been discussed too. I'll read back over it too.
On Sat, 29 Jul 2017 11:23:33 +0200
Peter Zijlstra <pet...@infradead.org> wrote:
> On Sat, Jul 29, 2017 at 11:58:40AM +1000, Nicholas Piggin wrote:
> > I haven't had time to read the thread and understand exactly why you need
> > this extra barrier, I'll do it next week.
On Sat, 29 Jul 2017 11:23:33 +0200
Peter Zijlstra wrote:
> On Sat, Jul 29, 2017 at 11:58:40AM +1000, Nicholas Piggin wrote:
> > I haven't had time to read the thread and understand exactly why you need
> > this extra barrier, I'll do it next week. Thanks for cc'ing us on it
On Fri, 28 Jul 2017 17:06:53 + (UTC)
Mathieu Desnoyers wrote:
> - On Jul 28, 2017, at 12:46 PM, Peter Zijlstra pet...@infradead.org wrote:
>
> > On Fri, Jul 28, 2017 at 03:38:15PM +, Mathieu Desnoyers wrote:
> >> > Which only leaves PPC stranded..
On Fri, 28 Jul 2017 17:06:53 + (UTC)
Mathieu Desnoyers wrote:
> - On Jul 28, 2017, at 12:46 PM, Peter Zijlstra pet...@infradead.org wrote:
>
> > On Fri, Jul 28, 2017 at 03:38:15PM +, Mathieu Desnoyers wrote:
> >> > Which only leaves PPC stranded.. but the 'good' news is that mpe
d only when we are offlining the CPU and set it
> back once the CPU is online.
Looks pretty good to me, thanks!
Reviewed-by: Nicholas Piggin <npig...@gmail.com>
>
> Signed-off-by: Gautham R. Shenoy <e...@linux.vnet.ibm.com>
> ---
> v2 --> v3:
> - Program the LPCR
once the CPU is online.
Looks pretty good to me, thanks!
Reviewed-by: Nicholas Piggin
>
> Signed-off-by: Gautham R. Shenoy
> ---
> v2 --> v3:
> - Program the LPCR during platform idle entry/exit on both POWER8 and
> POWER9
>
> v1 --> v2:
> - Mov
before entering stop.
>
> Signed-off-by: Gautham R. Shenoy <e...@linux.vnet.ibm.com>
Looks good to me. Keeping in mind we need to tidy up and unify
all this SPR handling and save/restore etc. in the longer term.
Reviewed-by: Nicholas Piggin <npig...@gmail.com>
> ---
&
. Shenoy
Looks good to me. Keeping in mind we need to tidy up and unify
all this SPR handling and save/restore etc. in the longer term.
Reviewed-by: Nicholas Piggin
> ---
> v2-->v3:
> - Use a structure instead of an array for the stop sprs save area.
> - Name the offsets into the paca
On Sun, 23 Jul 2017 08:20:30 +0800
kbuild test robot wrote:
> Hi Nicholas,
>
> FYI, the error/warning still remains.
FYI, I still suspect it is this bug
https://sourceware.org/bugzilla/show_bug.cgi?id=21017
If so, then I'm not sure if it can be worked around in Linux.
On Sun, 23 Jul 2017 08:20:30 +0800
kbuild test robot wrote:
> Hi Nicholas,
>
> FYI, the error/warning still remains.
FYI, I still suspect it is this bug
https://sourceware.org/bugzilla/show_bug.cgi?id=21017
If so, then I'm not sure if it can be worked around in Linux.
Thanks,
Nick
>
>
LPCR, lpcr_val);
> + if (cpu_has_feature(CPU_FTR_ARCH_300))
> + opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val);
Is opal_slw_set_reg very heavyweight? If not, I would just remove the
POWER9 special casing entirely from both these functions, which follows
the principle of least surprise. Otherwise I guess it's reasonable.
Thanks for making those other changes, it looks good.
Reviewed-by: Nicholas Piggin <npig...@gmail.com>
_set_reg(pir, SPRN_LPCR, lpcr_val);
Is opal_slw_set_reg very heavyweight? If not, I would just remove the
POWER9 special casing entirely from both these functions, which follows
the principle of least surprise. Otherwise I guess it's reasonable.
Thanks for making those other changes, it looks good.
Reviewed-by: Nicholas Piggin
> END_FTR_SECTION_IFSET(CPU_FTR_ARCH_300)
> hypervisor_state_restored:
>
Also perhaps just a little comment in the code explaining why
power8 does not need this because it only uses it for hotplug
as you do in the changelog would help when reading the code.
Sorry I didn't pick this up on your v1 patches. If you change
those minor things, please add
Reviewed-by: Nicholas Piggin <npig...@gmail.com>
Thanks,
Nick
o perhaps just a little comment in the code explaining why
power8 does not need this because it only uses it for hotplug
as you do in the changelog would help when reading the code.
Sorry I didn't pick this up on your v1 patches. If you change
those minor things, please add
Reviewed-by: Nicholas Piggin
Thanks,
Nick
On Wed, 19 Jul 2017 10:34:59 +0530
Gautham R Shenoy <e...@linux.vnet.ibm.com> wrote:
> Hello Nicholas,
>
> On Wed, Jul 19, 2017 at 12:14:12PM +1000, Nicholas Piggin wrote:
> > Thanks for working on these patches. We really need to get this stuff
> > merged and tested
On Wed, 19 Jul 2017 10:34:59 +0530
Gautham R Shenoy wrote:
> Hello Nicholas,
>
> On Wed, Jul 19, 2017 at 12:14:12PM +1000, Nicholas Piggin wrote:
> > Thanks for working on these patches. We really need to get this stuff
> > merged and tested asap :)
> >
>
&g
Thanks for working on these patches. We really need to get this stuff
merged and tested asap :)
On Tue, 18 Jul 2017 19:58:49 +0530
"Gautham R. Shenoy" wrote:
> From: "Gautham R. Shenoy"
>
>
> Currently we use the stop-api provided by the
Thanks for working on these patches. We really need to get this stuff
merged and tested asap :)
On Tue, 18 Jul 2017 19:58:49 +0530
"Gautham R. Shenoy" wrote:
> From: "Gautham R. Shenoy"
>
>
> Currently we use the stop-api provided by the firmware to program the
> SLW engine to restore the
why 0day didn't catch it.
Does it build test parisc/generic-64bit_defconfig, I wonder?
Thanks,
Nick
>
> Ursprüngliche Nachricht
> Von: Guenter Roeck <li...@roeck-us.net>
> Datum: 18.07.17 17:21 (GMT+01:00)
> An: Nicholas Piggin <npig...@gmail.com>
>
parisc/generic-64bit_defconfig, I wonder?
Thanks,
Nick
>
> Ursprüngliche Nachricht
> Von: Guenter Roeck
> Datum: 18.07.17 17:21 (GMT+01:00)
> An: Nicholas Piggin
> Cc: linux-kernel@vger.kernel.org, Masahiro Yamada
> , "James E.J. Bo
On Wed, 12 Jul 2017 09:29:40 -0700
Andi Kleen <a...@firstfloor.org> wrote:
> Nicholas Piggin <npig...@gmail.com> writes:
> >>
> >> I think we should aim for gc-sections to be used by default and have LTO
> >> as a possible option only.
> >
On Wed, 12 Jul 2017 09:29:40 -0700
Andi Kleen wrote:
> Nicholas Piggin writes:
> >>
> >> I think we should aim for gc-sections to be used by default and have LTO
> >> as a possible option only.
> >
> > I agree after it starts getting implemented
On Sun, 9 Jul 2017 09:59:44 -0400 (EDT)
Nicolas Pitre <nicolas.pi...@linaro.org> wrote:
> On Sun, 9 Jul 2017, Masahiro Yamada wrote:
>
> > Hi.
> >
> > 2017-07-09 18:05 GMT+09:00 Ingo Molnar <mi...@kernel.org>:
> > >
> > > * Nichola
On Sun, 9 Jul 2017 09:59:44 -0400 (EDT)
Nicolas Pitre wrote:
> On Sun, 9 Jul 2017, Masahiro Yamada wrote:
>
> > Hi.
> >
> > 2017-07-09 18:05 GMT+09:00 Ingo Molnar :
> > >
> > > * Nicholas Piggin wrote:
> > >
> > >>
Allow x86 to select DCDE option under CONFIG_EXPERT to reduce
binary size.
This is an RFC only for ~4.14/15 kernel. Sending as a single patch
to make it easy to review and test for x86, and give other archs a
base to look at.
This is a _relatively_ simple and low overhead first step to getting
Allow x86 to select DCDE option under CONFIG_EXPERT to reduce
binary size.
This is an RFC only for ~4.14/15 kernel. Sending as a single patch
to make it easy to review and test for x86, and give other archs a
base to look at.
This is a _relatively_ simple and low overhead first step to getting
On Fri, 7 Jul 2017 23:07:10 +0530
Gautham R Shenoy <e...@linux.vnet.ibm.com> wrote:
> On Fri, Jul 07, 2017 at 01:29:16AM +1000, Nicholas Piggin wrote:
> > On Wed, 5 Jul 2017 22:08:16 +0530
> > "Gautham R. Shenoy" <e...@linux.vnet.ibm.com> wrote:
>
On Fri, 7 Jul 2017 23:07:10 +0530
Gautham R Shenoy wrote:
> On Fri, Jul 07, 2017 at 01:29:16AM +1000, Nicholas Piggin wrote:
> > On Wed, 5 Jul 2017 22:08:16 +0530
> > "Gautham R. Shenoy" wrote:
> >
> > > From: "Gautham R. Shenoy&q
On Fri, 7 Jul 2017 20:34:16 +0530
Gautham R Shenoy <e...@linux.vnet.ibm.com> wrote:
> On Fri, Jul 07, 2017 at 01:16:09AM +1000, Nicholas Piggin wrote:
> > On Wed, 5 Jul 2017 22:08:15 +0530
> > "Gautham R. Shenoy" <e...@linux.vnet.ibm.com> wrote:
>
On Fri, 7 Jul 2017 20:34:16 +0530
Gautham R Shenoy wrote:
> On Fri, Jul 07, 2017 at 01:16:09AM +1000, Nicholas Piggin wrote:
> > On Wed, 5 Jul 2017 22:08:15 +0530
> > "Gautham R. Shenoy" wrote:
> >
> > > From: "Gautham R. Shenoy"
On Fri, 7 Jul 2017 16:55:39 +0530
Gautham R Shenoy <e...@linux.vnet.ibm.com> wrote:
> Hello Nicholas,
>
> On Fri, Jul 07, 2017 at 12:53:40AM +1000, Nicholas Piggin wrote:
> > I wouldn't have the wrapper function... but it's your code so it's
> > up to you. One thing t
On Fri, 7 Jul 2017 16:55:39 +0530
Gautham R Shenoy wrote:
> Hello Nicholas,
>
> On Fri, Jul 07, 2017 at 12:53:40AM +1000, Nicholas Piggin wrote:
> > I wouldn't have the wrapper function... but it's your code so it's
> > up to you. One thing though is that this function
On Wed, 5 Jul 2017 22:08:16 +0530
"Gautham R. Shenoy" wrote:
> From: "Gautham R. Shenoy"
>
> Currently, we use the opal call opal_slw_set_reg() to inform the that
> the Sleep-Winkle Engine (SLW) to restore the contents of some of the
>
On Wed, 5 Jul 2017 22:08:16 +0530
"Gautham R. Shenoy" wrote:
> From: "Gautham R. Shenoy"
>
> Currently, we use the opal call opal_slw_set_reg() to inform the that
> the Sleep-Winkle Engine (SLW) to restore the contents of some of the
> Hypervisor state on wakeup from deep idle states that
these guys? Nothing good I think. Perhaps
we should put them into the pacas or somewhere in bolted memory.
Good cleanup though.
Reviewed-by: Nicholas Piggin <npig...@gmail.com>
move the thread_sibling_pacas allocation to here?
Speaking of which... core_idle_state and thread_sibling_pacas are
allocated with kmalloc_node... What happens if we take an SLB miss
in the idle wakeup code on these guys? Nothing good I think. Perhaps
we should put them into the pacas or somewhere in bolted memory.
Good cleanup though.
Reviewed-by: Nicholas Piggin
(unsigned int *)pnv_fastsleep_workaround_at_entry,
> - PPC_INST_NOP);
> - patch_instruction(
> - (unsigned int *)pnv_fastsleep_workaround_at_exit,
> - PPC_INST_NOP);
So previously this would run on POWER9 and patch out those branches.
But POWER9 never runs that code, so no problem. Good cleanup.
Reviewed-by: Nicholas Piggin <npig...@gmail.com>
PPC_INST_NOP);
> - patch_instruction(
> - (unsigned int *)pnv_fastsleep_workaround_at_exit,
> - PPC_INST_NOP);
So previously this would run on POWER9 and patch out those branches.
But POWER9 never runs that code, so no problem. Good cleanup.
Reviewed-by: Nicholas Piggin
from void to
> int and in case of failures, bail out early on in
> pnv_init_idle_states.
>
> Signed-off-by: Gautham R. Shenoy <e...@linux.vnet.ibm.com>
Looks good to me.
Reviewed-by: Nicholas Piggin <npig...@gmail.com>
I wonder if the warnings are strong enough here to l
; pnv_init_idle_states.
>
> Signed-off-by: Gautham R. Shenoy
Looks good to me.
Reviewed-by: Nicholas Piggin
I wonder if the warnings are strong enough here to let people know
idle won't be used so power consumption will be high and performance
significantly reduced on SMT machines?
On Wed, 5 Jul 2017 22:08:12 +0530
"Gautham R. Shenoy" wrote:
> From: "Gautham R. Shenoy"
>
> The details of the platform idle state are exposed by the firmware to
> the kernel via device tree.
>
> In the current code, we parse the device tree
On Wed, 5 Jul 2017 22:08:12 +0530
"Gautham R. Shenoy" wrote:
> From: "Gautham R. Shenoy"
>
> The details of the platform idle state are exposed by the firmware to
> the kernel via device tree.
>
> In the current code, we parse the device tree twice :
>
> 1) During the boot up in
On Thu, 29 Jun 2017 22:57:33 +0200
"Rafael J. Wysocki" <raf...@kernel.org> wrote:
> On Mon, Jun 26, 2017 at 7:38 AM, Nicholas Piggin <npig...@gmail.com> wrote:
> > The menu driver does not allow state0 to be disabled completely.
> > If it is disabled but ot
On Thu, 29 Jun 2017 22:57:33 +0200
"Rafael J. Wysocki" wrote:
> On Mon, Jun 26, 2017 at 7:38 AM, Nicholas Piggin wrote:
> > The menu driver does not allow state0 to be disabled completely.
> > If it is disabled but other enabled states don't meet latency
> >
nto...@in.ibm.com>
Signed-off-by: Nicholas Piggin <npig...@gmail.com>
---
arch/powerpc/kernel/watchdog.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/kernel/watchdog.c b/arch/powerpc/kernel/watchdog.c
index d46040c0da40..93395a53336b 100644
--- a/arch/po
-by: Nicholas Piggin
---
arch/powerpc/kernel/watchdog.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/kernel/watchdog.c b/arch/powerpc/kernel/watchdog.c
index d46040c0da40..93395a53336b 100644
--- a/arch/powerpc/kernel/watchdog.c
+++ b/arch/powerpc/kernel
On Fri, 30 Jun 2017 10:52:18 +0530
Abdul Haleem <abdha...@linux.vnet.ibm.com> wrote:
> On Fri, 2017-06-30 at 00:45 +1000, Nicholas Piggin wrote:
> > On Thu, 29 Jun 2017 20:23:05 +1000
> > Nicholas Piggin <npig...@gmail.com> wrote:
> >
> > > On Thu,
On Fri, 30 Jun 2017 10:52:18 +0530
Abdul Haleem wrote:
> On Fri, 2017-06-30 at 00:45 +1000, Nicholas Piggin wrote:
> > On Thu, 29 Jun 2017 20:23:05 +1000
> > Nicholas Piggin wrote:
> >
> > > On Thu, 29 Jun 2017 19:36:14 +1000
> > > Nicholas Pig
On Fri, 30 Jun 2017 00:36:42 +0900
Masahiro Yamada <yamada.masah...@socionext.com> wrote:
> Hi.
>
> 2017-06-28 23:02 GMT+09:00 Guenter Roeck <li...@roeck-us.net>:
> > On 06/28/2017 05:58 AM, Nicholas Piggin wrote:
> >>
> >> On Wed, 28 Jun 2017 0
On Fri, 30 Jun 2017 00:36:42 +0900
Masahiro Yamada wrote:
> Hi.
>
> 2017-06-28 23:02 GMT+09:00 Guenter Roeck :
> > On 06/28/2017 05:58 AM, Nicholas Piggin wrote:
> >>
> >> On Wed, 28 Jun 2017 05:38:50 -0700
> >> Guenter Roeck wrote:
> >>
On Thu, 29 Jun 2017 20:23:05 +1000
Nicholas Piggin <npig...@gmail.com> wrote:
> On Thu, 29 Jun 2017 19:36:14 +1000
> Nicholas Piggin <npig...@gmail.com> wrote:
> > I don't *think* the replay-wakeup-interrupt patch is directly involved, but
> > it's likely to be on
On Thu, 29 Jun 2017 20:23:05 +1000
Nicholas Piggin wrote:
> On Thu, 29 Jun 2017 19:36:14 +1000
> Nicholas Piggin wrote:
> > I don't *think* the replay-wakeup-interrupt patch is directly involved, but
> > it's likely to be one of the idle patches.
Okay this turned out t
On Thu, 29 Jun 2017 19:36:14 +1000
Nicholas Piggin <npig...@gmail.com> wrote:
> I've seen this as well (or something like it) in mambo at boot, but
> it's pretty rare to hit. I'm trying to debug it.
>
> I'm guessing possibly an idle vs interrupt race.
>
> > [ 4255.151
On Thu, 29 Jun 2017 19:36:14 +1000
Nicholas Piggin wrote:
> I've seen this as well (or something like it) in mambo at boot, but
> it's pretty rare to hit. I'm trying to debug it.
>
> I'm guessing possibly an idle vs interrupt race.
>
> > [ 4255.151192] Sending NMI
I've seen this as well (or something like it) in mambo at boot, but
it's pretty rare to hit. I'm trying to debug it.
I'm guessing possibly an idle vs interrupt race.
> [ 4255.151192] Sending NMI from CPU 5 to CPUs 0:
> [ 4255.151246] NMI backtrace for cpu 0
> [ 4255.151287] CPU: 0 PID: 0 Comm:
I've seen this as well (or something like it) in mambo at boot, but
it's pretty rare to hit. I'm trying to debug it.
I'm guessing possibly an idle vs interrupt race.
> [ 4255.151192] Sending NMI from CPU 5 to CPUs 0:
> [ 4255.151246] NMI backtrace for cpu 0
> [ 4255.151287] CPU: 0 PID: 0 Comm:
On Wed, 28 Jun 2017 05:38:50 -0700
Guenter Roeck wrote:
> Hi,
>
> I see the following build error in -next when building
> sh:rts7751r2dplus_defconfig.
>
> sh4-linux-ld: arch/sh/kernel/vsyscall/vsyscall-dummy.o: compiled for a big
> endian system and target is little
On Wed, 28 Jun 2017 05:38:50 -0700
Guenter Roeck wrote:
> Hi,
>
> I see the following build error in -next when building
> sh:rts7751r2dplus_defconfig.
>
> sh4-linux-ld: arch/sh/kernel/vsyscall/vsyscall-dummy.o: compiled for a big
> endian system and target is little endian
> sh4-linux-ld:
901 - 1000 of 1466 matches
Mail list logo