From patchwork Fri Jun 11 20:59:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafael Wysocki X-Patchwork-Id: 105649 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5BL1Vvv011009 for ; Fri, 11 Jun 2010 21:01:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753307Ab0FKVBa (ORCPT ); Fri, 11 Jun 2010 17:01:30 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:54409 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752248Ab0FKVBa (ORCPT ); Fri, 11 Jun 2010 17:01:30 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by ogre.sisk.pl (Postfix) with ESMTP id D8ED4187840; Fri, 11 Jun 2010 22:54:11 +0200 (CEST) Received: from ogre.sisk.pl ([127.0.0.1]) by localhost (ogre.sisk.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18643-09; Fri, 11 Jun 2010 22:54:04 +0200 (CEST) Received: from ferrari.localnet (220-bem-13.acn.waw.pl [82.210.184.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ogre.sisk.pl (Postfix) with ESMTP id 76388183E47; Fri, 11 Jun 2010 22:54:04 +0200 (CEST) From: "Rafael J. Wysocki" To: linux-pm@lists.linux-foundation.org Subject: Re: [linux-pm] commit 'ACPICA: Minimize the differences between linux GPE code and ACPICA code base' breaks EC GPE on my system Date: Fri, 11 Jun 2010 22:59:33 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.35-rc2-rjw+; KDE/4.4.3; x86_64; ; ) Cc: Maxim Levitsky , "linux-acpi@vger.kernel.org" , "Moore, Robert" , len.brown@intel.com References: <1276256839.4251.7.camel@maxim-laptop> <1276288322.2651.4.camel@maxim-laptop> <201006112234.39747.rjw@sisk.pl> In-Reply-To: <201006112234.39747.rjw@sisk.pl> MIME-Version: 1.0 Message-Id: <201006112259.33602.rjw@sisk.pl> X-Virus-Scanned: amavisd-new at ogre.sisk.pl using MkS_Vir for Linux Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 11 Jun 2010 21:01:31 +0000 (UTC) Index: linux-2.6/drivers/acpi/acpica/evxface.c =================================================================== --- linux-2.6.orig/drivers/acpi/acpica/evxface.c +++ linux-2.6/drivers/acpi/acpica/evxface.c @@ -719,13 +720,6 @@ acpi_install_gpe_handler(acpi_handle gpe handler->context = context; handler->method_node = gpe_event_info->dispatch.method_node; - /* Disable the GPE before installing the handler */ - - status = acpi_ev_disable_gpe(gpe_event_info); - if (ACPI_FAILURE (status)) { - goto unlock_and_exit; - } - /* Install the handler */ flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock);