login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
23
Re: [patch 0/2] suspend/resume regression fixes
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rafael J. Wysocki
Subject:
Re: [patch 0/2] suspend/resume regression fixes
Date: Sunday, September 23, 2007 - 3:29 am
On Sunday, 23 September 2007 00:59, Linus Torvalds wrote:
quoted text
> > On Sat, 22 Sep 2007, Thomas Gleixner wrote: > > > > My final enlightment was, when I removed the ACPI processor module, > > which controls the lower idle C-states, right before resume; this > > worked fine all the time even without all the workaround hacks. > > > > I really hope that this two patches finally set an end to the "jinxed > > VAIO heisenbug series", which started when we removed the periodic > > tick with the clockevents/dyntick patches. > > Ok, so the patches look fine, but I somehow have this slight feeling that > you gave up a bit too soon on the "*why* does this happen?" question. > > I realize that the answer is easily "because ACPI screwed up", but I'm > wondering if there's something we do to trigger that screw-up. > > In particular, I also suspect that this may not really fix the problem - > maybe it just makes the window sufficiently small that it no longer > triggers. Because we don't necessarily understand what the real background > for the problem is, I'm not sure we can say that it is solved. > > The reason I say this is that I have a suspicion on what triggers it. > > I suspect that the problem is that we do > > pm_ops->prepare(); > disable_nonboot_cpus() > suspend_enter(); > enable_nonboot_cpus() > pm_finish() > > and here the big thing to notice is that "pm_ops->prepare()" call, which > sets the wakup vector etc etc. > > So maybe the real problem here is that once we've done the "->prepare()" > call and ACPI has set up various stuff, we MUST NOT do any calls to any > ACPI routines to set low-power states, because the stupid firmware isn't > expecting it.
I think that this is the case.
quoted text
> Now, if this is the cause, then I think your patch should indeed fix it, > since you get called by the early-suspend code (which happens *before* the > "->prepare()" call), but at the same time, I wonder if maybe it would be > slightly "more correct" to instead of using the suspend/resume callbacks, > simply do this in the "acpi_pm_prepare()" stage, since that is likely the > thing that triggers it? > > But hey, I think I'll apply the patches as-is. I'd just feel even better > if we actually understood *why* doing the CPU Cx states is not something > we can do around the suspend code!
Greetings, Rafael -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 0/2] suspend/resume regression fixes
, Thomas Gleixner
, (Sat Sep 22, 3:29 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Linus Torvalds
, (Sat Sep 22, 3:59 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Thomas Gleixner
, (Sat Sep 22, 4:30 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Oleg Verych
, (Sat Sep 22, 6:20 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Linus Torvalds
, (Sat Sep 22, 8:11 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Mihai
, (Sat Sep 22, 10:24 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Rafael J. Wysocki
, (Sun Sep 23, 3:29 am)
Re: [patch 0/2] suspend/resume regression fixes
, Alan Cox
, (Sun Sep 23, 5:30 am)
Re: [patch 0/2] suspend/resume regression fixes
, Mihai
, (Sun Sep 23, 6:00 am)
Re: [patch 0/2] suspend/resume regression fixes
, Matthew Garrett
, (Sun Sep 23, 7:06 am)
Re: [patch 0/2] suspend/resume regression fixes
, Mark Lord
, (Fri Sep 28, 1:27 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Thomas Gleixner
, (Fri Sep 28, 1:33 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Alan Cox
, (Fri Sep 28, 2:04 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Mark Lord
, (Fri Sep 28, 2:17 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Rafael J. Wysocki
, (Fri Sep 28, 2:40 pm)
Re: [patch 0/2] suspend/resume regression fixes
, Bill Davidsen
, (Sat Sep 29, 10:12 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Greg Kroah-Hartman
[PATCH 16/36] driver core: cpu: fix section mismatch in cpu.c:store_online
Greg Kroah-Hartman
[PATCH 22/36] PM: Make wakeup flags available whenever CONFIG_PM is set
git
:
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
Johan Herland
[PATCH 6/7] Softrefs: Administrivia associated with softrefs subsystem and git-sof...
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Stuart Henderson
Re: SquidGuard problem
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Colocation donated by:
Syndicate