From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nate Lawson Subject: _WAK run too early in resume code Date: Mon, 11 Oct 2004 18:33:19 -0700 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <416B345F.1050004@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Moore, Robert" Cc: ACPI Developers List-Id: linux-acpi@vger.kernel.org The _WAK method should be run as the very last thing in AcpiLeaveSleepState(), after GPEs are enabled, BM enabled, etc. The reason is that _WAK often contains Notifys which may cause the system to generate GPEs. This fits with the spec. Also, it would be helpful to print the return status (under the ACPI_DEBUG) option so that we can track down more info why a suspend failed if it did. -Nate ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl