-
- Downloads
PM / sleep: Report interrupt that caused system wakeup
Add a sysfs attribute, /sys/power/pm_wakeup_irq, reporting the IRQ number of the first wakeup interrupt (that is, the first interrupt from an IRQ line armed for system wakeup) seen by the kernel during the most recent system suspend/resume cycle. This feature will be useful for system wakeup diagnostics of spurious wakeup interrupts. Signed-off-by:Alexandra Yates <alexandra.yates@linux.intel.com> [ rjw: Fixed up pm_wakeup_irq definition ] Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing
- Documentation/ABI/testing/sysfs-power 12 additions, 0 deletionsDocumentation/ABI/testing/sysfs-power
- drivers/base/power/wakeup.c 12 additions, 0 deletionsdrivers/base/power/wakeup.c
- include/linux/suspend.h 3 additions, 0 deletionsinclude/linux/suspend.h
- kernel/irq/pm.c 1 addition, 1 deletionkernel/irq/pm.c
- kernel/power/main.c 17 additions, 0 deletionskernel/power/main.c
Please register or sign in to comment