From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754280AbbEOGvy (ORCPT ); Fri, 15 May 2015 02:51:54 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:34974 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753269AbbEOGvw (ORCPT ); Fri, 15 May 2015 02:51:52 -0400 Date: Fri, 15 May 2015 08:51:47 +0200 From: Ingo Molnar To: Doug Smythies Cc: "'Juri Lelli'" , peterz@infradead.org, linux-kernel@vger.kernel.org Subject: Re: On resume from suspend only CPU 0 comes back on-line [REGRESSION][BISECTED] Message-ID: <20150515065147.GA29973@gmail.com> References: <004801d08e54$20d5bd60$62813820$@net> <5554B8D8.8090006@arm.com> <20150514174804.GA19586@gmail.com> <007601d08e93$0fdca700$2f95f500$@net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <007601d08e93$0fdca700$2f95f500$@net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Doug Smythies wrote: > On 2015.05.14 10:48 Ingo Molnar wrote: > > > * Juri Lelli wrote: > >>> On 14/05/15 15:41, Doug Smythies wrote: > >>> As of, or about, Kernel 4.1RC1 on resume from suspend only CPU 0 comes back on-line. > >>> The issue persists through Kernel 4.1RC3. > >>> This is on my test computer with an i7-2600K. > >>> I do not normally use suspend on this computer, but was doing so while working on a bug report. > >>> > >>> The kernel was bisected, and this is the result: > >>> > >> > >> Does commit 533445c6e533 "sched/core: Fix regression in > >> cpuset_cpu_inactive() for suspend" on tip/sched/core > >> fix the bug? > > > That would be sched/urgent primarily, not sched/core: > > git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/urgent > > I'll get this fix to Linus ASAP. > > I could not seem to figure out how to get the patch from tip, > and any version I could find on internet would not apply properly. So the way you could have picked it up is something like: # pick up 533445c6e533 git fetch git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/urgent git cherry-pick 533445c6e533 or pick up all pending scheduler fixes, amongst them 533445c6e533: git pull git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/urgent Or to export just that single one as a patch: git fetch git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/urgent git log --pretty=email --stat -p -1 533445c6e533 > Juri kindly sent me the patch. > > With the patch applied to an otherwise unmodified Kernel 4.1RC3, > Resume from suspend is working fine again. Great, thanks for testing! Ingo