All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Li, Shaohua" <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Stefan D?singer <stefandoesinger-RbZlAiThDcE@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Carl-Daniel Hailfinger
	<c-d.hailfinger.kernel.2004-hi6Y0CQ0nG0@public.gmane.org>,
	Johan Vromans <jvromans-2pNSKKP3PSKEVqv0pETR8A@public.gmane.org>,
	Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Subject: RE: Re: Samsung P35 and S3 suspend
Date: Mon, 27 Dec 2004 10:08:16 +0800	[thread overview]
Message-ID: <16A54BF5D6E14E4D916CE26C9AD30575D823DC@pdsmsx402.ccr.corp.intel.com> (raw)

>I think this is the patch I sent to this list a few months ago. Here
the
>archive linksfor reference:
>
>http://sourceforge.net/mailarchive/message.php?msg_id=9091506
>
>The background is that any write access to the pci config registers of
some
>devices(sound card, usb 2.0 controler, and modem) cause a system lockup
if
>they are called before acpi_leave_sleep_state and
>acpi_disable_wakeup_device
>were called. This is on an Acer Travelmate 803 Notebook, and it seems
to be
>the same on other systems.
>
>I sent the patch to the list, but it seems that nobody noticed it and I
>forgot
>to send it again. Here is an updated patch against 2.6.10. I can't
promise
>that it doesn't break other systems. Someone should make sure that
>pm_ops->leave is set to NULL for apm. I haven't found this in the apm
code
>yet.
>
And also please try this one (in kernel/power/main.c):
static void suspend_finish(suspend_state_t state)
{
-	device_resume();
	if (pm_ops && pm_ops->finish)
		pm_ops->finish(state);
+	device_resume();
	thaw_processes();
	pm_restore_console();
}
According to ACPI spec, device resume should be after _WAK method (in
acpi_leave_sleep_state)

Thanks,
Shaohua


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

             reply	other threads:[~2004-12-27  2:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27  2:08 Li, Shaohua [this message]
     [not found] ` <16A54BF5D6E14E4D916CE26C9AD30575D823DC-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-12-27 11:51   ` Re: Samsung P35 and S3 suspend Stefan Dösinger
  -- strict thread matches above, loose matches on Subject: below --
2004-12-27  1:43 Li, Shaohua
     [not found] ` <16A54BF5D6E14E4D916CE26C9AD30575D82398-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-12-27 12:18   ` Stefan Dösinger
     [not found]     ` <200412271318.32251.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2004-12-28  2:12       ` Li Shaohua
2004-12-15  4:55 Carl-Daniel Hailfinger
2004-12-15 13:28 ` Matthias Hentges
2004-12-15 17:59   ` Carl-Daniel Hailfinger
2004-12-16  1:03     ` Matthias Hentges
2004-12-16  3:24       ` Carl-Daniel Hailfinger
     [not found]         ` <41C0FFF3.4010902-hi6Y0CQ0nG0@public.gmane.org>
2004-12-16 14:29           ` Carl-Daniel Hailfinger
     [not found]             ` <41C19BD8.7050201-hi6Y0CQ0nG0@public.gmane.org>
2004-12-16 17:32               ` Stefan Dösinger
     [not found]                 ` <200412161832.09711.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2004-12-16 18:28                   ` Carl-Daniel Hailfinger
     [not found]                     ` <41C1D3CB.5010805-hi6Y0CQ0nG0@public.gmane.org>
2004-12-16 20:57                       ` Stefan Dösinger
     [not found]                         ` <200412162157.02741.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2004-12-16 21:10                           ` Matthew Garrett
2004-12-16 21:26                             ` Stefan Dösinger
     [not found]                               ` <200412162226.43166.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2004-12-16 21:42                                 ` Matthew Garrett
2004-12-17  0:25                           ` Carl-Daniel Hailfinger
     [not found]                             ` <41C22792.2000205-hi6Y0CQ0nG0@public.gmane.org>
2004-12-17 15:49                               ` Stefan Dösinger
     [not found]                                 ` <200412171649.08125.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2004-12-20 18:12                                   ` Carl-Daniel Hailfinger
2004-12-16 18:10               ` Carl-Daniel Hailfinger
     [not found]                 ` <41C1CFA2.20304-hi6Y0CQ0nG0@public.gmane.org>
2004-12-16 18:41                   ` Matthias Hentges
2004-12-16 19:09                     ` Matthew Garrett
2004-12-20 20:34                       ` Carl-Daniel Hailfinger
     [not found]                         ` <41C7374D.6090407-hi6Y0CQ0nG0@public.gmane.org>
2004-12-21  0:39                           ` Carl-Daniel Hailfinger
2004-12-22  2:06                   ` Carl-Daniel Hailfinger
2004-12-22 11:37                     ` Johan Vromans
2004-12-22 15:35                       ` Carl-Daniel Hailfinger
     [not found]                         ` <41C9945E.9080101-hi6Y0CQ0nG0@public.gmane.org>
2004-12-26 12:13                           ` Pavel Machek
     [not found]                             ` <20041226121316.GA1590-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-12-26 14:43                               ` Stefan Dösinger

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=16A54BF5D6E14E4D916CE26C9AD30575D823DC@pdsmsx402.ccr.corp.intel.com \
    --to=shaohua.li-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=c-d.hailfinger.kernel.2004-hi6Y0CQ0nG0@public.gmane.org \
    --cc=jvromans-2pNSKKP3PSKEVqv0pETR8A@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.org \
    --cc=stefandoesinger-RbZlAiThDcE@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.