Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1508915pxb; Wed, 2 Feb 2022 06:35:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0ffQd9cejcqq+g75oaFqwzUZamanOT1PVErSsYV0dRmvHoEFeBWKJ+V2c2RRfpLTdodQH X-Received: by 2002:a05:6402:440c:: with SMTP id y12mr30317228eda.75.1643812541414; Wed, 02 Feb 2022 06:35:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643812541; cv=none; d=google.com; s=arc-20160816; b=DDJwnq0uMkzIy05lq46Qk1XFNxXa2Zh0wH4QfPtnMv1/oc5BREmIfevCt+Y3oDNkAu D7HKaDYwA2UeRrxJ9O3T56hYW8qN9oLCl/GCLrSWNPhHv6tljIK6l6EGk6+g11o/A+PH xne3IWq+Z6OPDQv5qBJdSGH4jB+S5mNHIs669c2ID4O4e+Sa2ilHOMYmTciup8h8M3+9 DqRDw2RiqUC7v5bnKkilkG67BMwbNZgtlf78is8T8p1/n46VPGfCbAMOCAGqB6oXRMmt 9mJLZLYL6i/O+vjYc3veRxTGdICUvGMgi1ixlQFPBfnd5yQLF7+39h0oWkjpNwDM8Ao1 qaEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Unqd6D5NNwNzOwJR0gbxlMXyNm7mYzQj50BPHflzYUA=; b=f37+du8izjPWkoAVHaZXtjSw34nn0O80EXYdtDZBDqdFL71WufB9STvJE9wcvJTGFS Kpr4Jk+sWQPRRi4+sDQq3wZCrpbStJ3dnK4QE4DaY8k22jBDM/vVCcMdK3R7rwhVGpZi JujsHDFGY/YMmOcT0o8e9hdkbXeRFjh4SxZ+gVtgYeK8XDQnXa2hgeL0WdvQmCxGicLb oPEuyYzT5WnyPxlgVLeJz2Hbar+8VHXK5We235Q75lbs5CCdINq7+fL9ZH76npLhxB/D lYIi0luKLwAC8j4/ON/y+40NGuMv53F/BiZ8f5oXIwpSSy6PcEw2eEzWun/vppLq/buC wE5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk8si8441281ejc.247.2022.02.02.06.35.15; Wed, 02 Feb 2022 06:35:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242351AbiBATTF (ORCPT + 99 others); Tue, 1 Feb 2022 14:19:05 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:46364 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238080AbiBATTE (ORCPT ); Tue, 1 Feb 2022 14:19:04 -0500 Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 4.0.0) id 020522ec740534d4; Tue, 1 Feb 2022 20:19:03 +0100 Received: from kreacher.localnet (unknown [213.134.162.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id C6BD766B3BC; Tue, 1 Feb 2022 20:19:02 +0100 (CET) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Linux PM Subject: [PATCH 2/2] ACPI: EC / PM: Print additional debug message in acpi_ec_dispatch_gpe() Date: Tue, 01 Feb 2022 20:18:56 +0100 Message-ID: <4378297.LvFx2qVVIh@kreacher> In-Reply-To: <11917820.O9o76ZdvQC@kreacher> References: <11917820.O9o76ZdvQC@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.162.64 X-CLIENT-HOSTNAME: 213.134.162.64 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvvddrgeefgdduvddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjghfggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpedvjeelgffhiedukedtleekkedvudfggefhgfegjefgueekjeelvefggfdvledutdenucfkphepvddufedrudefgedrudeivddrieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddufedrudefgedrudeivddrieegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhg X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki Make acpi_ec_dispatch_gpe() print an additional debug message after seeing the EC GPE status bit set to help diagnose wakeup-related issues. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/ec.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Index: linux-pm/drivers/acpi/ec.c =================================================================== --- linux-pm.orig/drivers/acpi/ec.c +++ linux-pm/drivers/acpi/ec.c @@ -2071,8 +2071,11 @@ bool acpi_ec_dispatch_gpe(void) */ spin_lock_irq(&first_ec->lock); - if (acpi_ec_gpe_status_set(first_ec)) + if (acpi_ec_gpe_status_set(first_ec)) { + pm_pr_dbg("ACPI EC GPE status set\n"); + work_in_progress = advance_transaction(first_ec, false); + } spin_unlock_irq(&first_ec->lock);