linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Doug Smythies" <dsmythies@telus.net>
To: "'Rafael J. Wysocki'" <rafael@kernel.org>
Cc: 'Viresh Kumar' <viresh.kumar@linaro.org>,
	"'Rafael J. Wysocki'" <rjw@rjwysocki.net>,
	'Saravana Kannan' <skannan@codeaurora.org>,
	linux-pm@vger.kernel.org
Subject: RE: System will not suspend with highest numbered CPU offline [REGRESSION][BISECTED]
Date: Fri, 4 Sep 2015 16:05:23 -0700	[thread overview]
Message-ID: <000e01d0e766$2f07dfb0$8d179f10$@net> (raw)
In-Reply-To: <CAJZ5v0iqX+Sh6rDNKW+Nm2hNnEnC7uvzhZ6ta9Qxc3Rs2CZPJg@mail.gmail.com>

On 2015.09.04 15:26 Rafael J. Wysocki wrote:
> On Fri, Sep 4, 2015 at 8:41 PM, Doug Smythies <dsmythies@telus.net> wrote:
>> On 2015.09.04 07:43 Viresh Kumar wrote:
>>> On 04-09-15, 16:59, Rafael J. Wysocki wrote:
>>>> On Thursday, September 03, 2015 02:40:43 PM Doug Smythies wrote:
>>>>> As of, or about, Kernel 4.2RC1 if I take my highest numbered
>>>>> CPU offline (7 in my case), the system will not suspend.
>
>>> @Doug: Can you please enable DEBUG for cpufreq with this:
>>>
>>> diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
>>> index 9fde14544ead..c09945aa7f17 100644
>>> --- a/drivers/cpufreq/Makefile
>>> +++ b/drivers/cpufreq/Makefile
>>> @@ -1,3 +1,4 @@
>>> +subdir-ccflags-y  := -DDEBUG
>>> # CPUfreq core
>>> obj-$(CONFIG_CPU_FREQ)                 += cpufreq.o freq_table.o
>>>
>>>
>>> And give us the outputs of both successful and unsuccessful logs?
>>
>> Edited /var/log/kern.log attached (might get stripped for
>> on-list e-mail deliveries)

> Hmm.
> I suspect that your user space does something that fails during the pm-suspend.

Are you saying that the patch might be O.K., but reveals
and issue with pm-suspend that was always there?

> Instead of invoking the pm-suspend command, can you simply do (as root)
> # echo mem > /sys/power/state
> and see if that behaves in the same way?

With CPU 7 offline, that method seems to suspend just fine.
I did not check any other scenarios.



  reply	other threads:[~2015-09-04 23:05 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-03 21:40 System will not suspend with highest numbered CPU offline [REGRESSION][BISECTED] Doug Smythies
2015-09-04 14:59 ` Rafael J. Wysocki
2015-09-04 14:42   ` Viresh Kumar
2015-09-04 18:41     ` Doug Smythies
2015-09-04 22:26       ` Rafael J. Wysocki
2015-09-04 23:05         ` Doug Smythies [this message]
2015-09-05  0:22           ` Rafael J. Wysocki
2015-09-05  1:41             ` Rafael J. Wysocki
2015-09-05  2:34             ` Doug Smythies
2015-09-05  7:46               ` Doug Smythies
2015-09-05  8:14                 ` Viresh Kumar
2015-09-07 13:32                   ` Rafael J. Wysocki
2015-09-08  2:40                     ` Viresh Kumar
2015-09-11 20:43                       ` Saravana Kannan
2015-09-11 21:30                         ` Rafael J. Wysocki
2015-09-11 22:07                           ` Saravana Kannan
2015-10-11  9:47                             ` Viresh Kumar
2015-10-12 19:43                               ` Saravana Kannan
2015-10-13  3:47                                 ` Viresh Kumar
2015-10-13 19:23                                   ` Saravana Kannan
2015-09-07 13:07                 ` Rafael J. Wysocki
2015-09-07 14:03                   ` Doug Smythies
2015-09-07 20:35                     ` Rafael J. Wysocki
2015-09-04 15:26   ` Doug Smythies

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000e01d0e766$2f07dfb0$8d179f10$@net' \
    --to=dsmythies@telus.net \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=skannan@codeaurora.org \
    --cc=viresh.kumar@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).