[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5794467.lOV4Wx5bFT@kreacher>
Date: Tue, 01 Feb 2022 20:18:10 +0100
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Linux ACPI <linux-acpi@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>
Subject: [PATCH 1/2] ACPI: PM: Print additional debug message in acpi_s2idle_wake()
From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
Make acpi_s2idle_wake() print an additional debug message when the
SCI is going to be rearmed for system wakeup to help diagnose
wakeup-related issues.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
---
drivers/acpi/sleep.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-pm/drivers/acpi/sleep.c
===================================================================
--- linux-pm.orig/drivers/acpi/sleep.c
+++ linux-pm/drivers/acpi/sleep.c
@@ -764,6 +764,8 @@ bool acpi_s2idle_wake(void)
return true;
}
+ pm_pr_dbg("Rearming ACPI SCI for wakeup\n");
+
rearm_wake_irq(acpi_sci_irq);
}
Powered by blists - more mailing lists