Re: PME via interrupt or SCI mechanism?

From: Sarah Sharp
Date: Thu Sep 29 2011 - 16:44:50 EST


On Thu, Sep 29, 2011 at 09:39:56PM +0200, Rafael J. Wysocki wrote:
> On Thursday, September 29, 2011, Sarah Sharp wrote:
> > On Thu, Sep 29, 2011 at 12:21:28AM +0200, Rafael J. Wysocki wrote:
> Please try the appended patch and check if you see the "Notification error
> for GPE" message (please keep your previous debug patches applied).

Do I need to have the ACPI debug_level or debug_layer set to anything in
particular to see this message? I don't see this message in dmesg with
debug_level and debug_layer set to 0x0.

Sarah Sharp

> ---
> drivers/acpi/acpica/evgpe.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> Index: linux/drivers/acpi/acpica/evgpe.c
> ===================================================================
> --- linux.orig/drivers/acpi/acpica/evgpe.c
> +++ linux/drivers/acpi/acpica/evgpe.c
> @@ -523,10 +523,14 @@ static void ACPI_SYSTEM_XFACE acpi_ev_as
> ACPI_NOTIFY_DEVICE_WAKE);
>
> notify_object = local_gpe_event_info->dispatch.device.next;
> - while (ACPI_SUCCESS(status) && notify_object) {
> + while (notify_object) {
> status = acpi_ev_queue_notify_request(
> notify_object->node,
> ACPI_NOTIFY_DEVICE_WAKE);
> + if (ACPI_FAILURE(status))
> + ACPI_ERROR((AE_INFO,
> + "Notification error for GPE 0x%X",
> + local_gpe_event_info->gpe_number));
> notify_object = notify_object->next;
> }
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/