public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Hesse <mail@earthworm.de>
To: Tony Lindgren <tony@atomide.com>
Cc: linux-kernel@vger.kernel.org, Jan De Luyck <lkml@kcore.org>,
	Pavel Machek <pavel@ucw.cz>
Subject: Re: [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend
Date: Mon, 25 Jul 2005 12:46:02 +0200	[thread overview]
Message-ID: <200507251246.08045.mail@earthworm.de> (raw)
In-Reply-To: <20050725102747.GH5837@atomide.com>

[-- Attachment #1: Type: text/plain, Size: 1784 bytes --]

On Monday 25 July 2005 12:27, Tony Lindgren wrote:
> * Christian Hesse <mail@earthworm.de> [050723 05:51]:
> > On Saturday 23 July 2005 14:35, Jan De Luyck wrote:
> > > Hello,
> > >
> > > I recently tried out dyntick 050610-1 against 2.6.12.3, works great, it
> > > actually makes a noticeable difference on my laptop's battery life. I
> > > don't have hard numbers, lets just say that instead of the usual ~3
> > > hours i get out of it, i was ~4 before it started nagging, usual use
> > > pattern at work.
> > >
> > > The only gripe I have with it that it stops S3 from working. If the
> > > patch is compiled in the kernel, it makes S3 suspend correctly, but
> > > resuming goes into a solid hang (nothing get's it back alive, have to
> > > keep the powerbutton for ~5 secs to shutdown the system)
> > >
> > > Anything I could test? The logs don't give anything useful..
> >
> > I reported this some time ago [1], but there's no sulution so far...
> >
> > [1] http://groups.google.com/groups?selm=4b4NI-7mJ-9%40gated-at.bofh.it
>
> In theory it should not happen... And it's working on my laptop for resume
> just fine with dyntick on. Can you try it without APIC support? Maybe
> that's the differerence again. (I don't have APIC on my laptop)

root@logo:~# zcat /proc/config.gz | grep APIC
CONFIG_X86_GOOD_APIC=y
# CONFIG_X86_UP_APIC is not set

Only the second one can be changed in make (menu)config. So I think this is 
what you have?

> Also a workaround is to disable dyntick before suspend with:
>
> # echo 0 > /sys/devices/system/timer/timer0/dyn_tick_state
>
> and then enable it again after resume.

IIRC, this didn't work, system hangs at resume as well. Will try again if 
you've released an updated version.

-- 
Christian

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

      reply	other threads:[~2005-07-25 10:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-23 12:35 [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend Jan De Luyck
2005-07-23 12:50 ` Christian Hesse
2005-07-24 14:23   ` Pavel Machek
2005-07-24 15:11     ` Jan De Luyck
2005-07-25 10:27   ` Tony Lindgren
2005-07-25 10:46     ` Christian Hesse [this message]

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=200507251246.08045.mail@earthworm.de \
    --to=mail@earthworm.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@kcore.org \
    --cc=pavel@ucw.cz \
    --cc=tony@atomide.com \
    /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