From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671AbbDQAh4 (ORCPT ); Thu, 16 Apr 2015 20:37:56 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:60489 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751426AbbDQAht (ORCPT ); Thu, 16 Apr 2015 20:37:49 -0400 From: "Rafael J. Wysocki" To: "H.J. Lu" Cc: LKML , ACPI Devel Maling List Subject: Re: [PATCH] Gracely handle GPE dispatch failure Date: Fri, 17 Apr 2015 03:02:24 +0200 Message-ID: <1618556.15QVDXiiFD@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.19.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, April 16, 2015 04:37:45 PM H.J. Lu wrote: > When GPE dispatch fails due to missing handler, kernel issues > > ACPI Error: No handler for Region > ACPI Error: Region EmbeddedControl > ACPI Error: Method parse/execution failed > ACPI Exception: AE_NOT_EXIST, while evaluating GPE method > > and goes ahead enable GPE anyway. After that, kernel goes into an > infinite loop: > > ACPI Error: No handler for Region > ACPI Error: Region EmbeddedControl > ACPI Error: Method parse/execution failed > ACPI Exception: AE_NOT_EXIST, while evaluating GPE method > > and repeat. This patch avoids the infinite loop by not enabling GPE if > GPE dispatch fails. First, please send patches inline not in attachements. Second, please CC this one to linux-acpi@vger.kernel.org and to the ACPICA maintainers as per the information in the MAINTAINERS file. Thanks! -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.