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


Groups > linux.kernel > #1399140

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

From Ville Syrjälä <ville.syrjala@linux.intel.com>
Newsgroups linux.kernel
Subject Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]
Date 2016-05-11 16:00 +0200
Message-ID <rxCQf-UH-97@gated-at.bofh.it> (permalink)
References <rxzph-6fl-33@gated-at.bofh.it> <rxBho-86n-3@gated-at.bofh.it> <rxBr5-8cB-21@gated-at.bofh.it> <rxBKr-8nL-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 11, 2016 at 08:44:45AM -0400, Steven Rostedt wrote:
> On Wed, 11 May 2016 15:21:16 +0300
> Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> 
> > Yeah can't get anything from the machine at that point. netconsole
> > didn't help either, and no serial on this machine. And IIRC I've
> > tried ramoops on this thing in the past but unfortunately the memory
> > got cleared on reboot.
> > 
> 
> Can you look at the documentation in the kernel code at
> 
> Documentation/power/basic-pm-debugging.txt And follow the procedures
> for testing suspend to RAM (although it requires mostly running the
> same tests as for hibernation suspending).
> 
> You can also use the tool s2ram for this as well.
> 
> See Documentation/power/s2ram.txt
> 
> Perhaps this can give us a bit more light onto the problem.
> 
> Basically the above does partial suspend and resume, and can pinpoint
> problem areas down to a more select location.

All the pm_test modes work fine. The only difference between them was
that 'platform' required me to manually wake up the machine (hitting a
key was sufficient), whereas the others woke up without help.

pm_trace gave me
[    1.306633]   Magic number: 0:185:178
[    1.322880]   hash matches ../drivers/base/power/main.c:1070
[    1.339270] acpi device:0e: hash matches
[    1.355414]  platform: hash matches

which is the TRACE_SUSPEND in __device_suspend_noirq(), so no help
there.

I guess I could try to sprinkle more TRACE_RESUMEs around into some
early resume code. If anyone has good ideas where to put them it
might speed things up a bit.

-- 
Ville Syrjälä
Intel OTC

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


Thread

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-05-11 14:20 +0200
  Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-05-11 14:30 +0200
    Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] Ville Syrjälä <ville.syrjala@linux.intel.com> - 2016-05-11 14:50 +0200
  Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] Ville Syrjälä <ville.syrjala@linux.intel.com> - 2016-05-11 14:40 +0200
    Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] Steven Rostedt <rostedt@goodmis.org> - 2016-05-11 14:50 +0200
      Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] Ville Syrjälä <ville.syrjala@linux.intel.com> - 2016-05-11 16:00 +0200
    Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> - 2016-05-11 15:40 +0200
      Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] Jim Bos <jim876@xs4all.nl> - 2016-05-11 17:30 +0200
        Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-11 18:20 +0200
          Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-05-11 18:30 +0200
            Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online  calls to hotplugged cpu")] "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-11 18:30 +0200

csiph-web