From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934958AbcJ0OzA (ORCPT ); Thu, 27 Oct 2016 10:55:00 -0400 Received: from mx2.suse.de ([195.135.220.15]:40612 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753963AbcJ0Oyg (ORCPT ); Thu, 27 Oct 2016 10:54:36 -0400 Date: Thu, 27 Oct 2016 16:53:48 +0200 From: Petr Mladek To: Jacob Pan Cc: Zhang Rui , Thomas Gleixner , Sebastian Andrzej Siewior , Eduardo Valentin , Tejun Heo , Peter Zijlstra , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] thermal/intel_powerclamp: Convert to CPU hotplug state Message-ID: <20161027145348.GV23809@pathway.suse.cz> References: <1476707572-32215-1-git-send-email-pmladek@suse.com> <1476707572-32215-4-git-send-email-pmladek@suse.com> <20161021132118.4239af86@jacob-builder> <20161024154807.GQ23809@pathway.suse.cz> <20161024095529.2b1855b4@icelake> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161024095529.2b1855b4@icelake> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2016-10-24 09:55:29, Jacob Pan wrote: > On Mon, 24 Oct 2016 17:48:07 +0200 > Petr Mladek wrote: > > > On Fri 2016-10-21 13:21:18, Jacob Pan wrote: > > > On Mon, 17 Oct 2016 14:32:52 +0200 > > > Petr Mladek wrote: > > > > > > > From: Sebastian Andrzej Siewior > > > > > > > Hi Sebastian, > > > I applied this patchset on 4.9-rc1 and run some cpu online/offline > > > loops test while injecting idle, e.g. 25%. I got system hang after a > > > few cycles. Still looking into root cause. > > > > You might need the patch > > ("sched/fair: Fix sched domains NULL deference in > > select_idle_sibling()") from linux-tip, see > > https://lkml.kernel.org/r/tip-9cfb38a7ba5a9c27c1af8093fb1af4b699c0a441@git.kernel.org > > > > I have mentioned it in the cover letter. I am sorry if it was not > > visible enough. > Thanks for point it out again, I missed it. > > Now rc2 has this fix so I tried again cpuhp seems to work well now. > > However, I found suspend to ram does not work with this patchset. Have > you tested it with "echo mem > /sys/power/state" while doing idle > injection? > It fails to enter s3 on my system. Hmm, I haven't tested the system suspend. I am sorry but I am snowed under some other tasks this week and will be on the Plumbers conference the next week. I hope that I will have some time to look at it then. In each case, I wonder if the problem is caused by the conversion to the kthread worker or by the CPU hotplug state conversion. Best Regards, Petr