diff mbox series

[1/2] ACPI: PM: Print additional debug message in acpi_s2idle_wake()

Message ID 5794467.lOV4Wx5bFT@kreacher
State New
Headers show
Series ACPI: PM: s2idle: Print debug messages in two new places | expand

Commit Message

Rafael J. Wysocki Feb. 1, 2022, 7:18 p.m. UTC
From: Rafael J. Wysocki <rafael.j.wysocki@intel.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@intel.com>
---
 drivers/acpi/sleep.c |    2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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);
 	}