[PATCH 0/4] Add consumers for pm_pr_debug() outside of pm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The amd-pmc and pinctrl-amd drivers have messages that are generally
useful for debugging power or wakeup issues, but users need to know to
turn on dynamic debug to get them.

Add support for using the pm_pr_debug() macro outside of pm code so
that other drivers can use it to show messages when a user turns on
`/sys/power/pm_debug_messages`.

NOTE: There aren't hard dependencies that would make this apply to a
single tree, but the pinctrl-amd message is in an IRQ handler.
It shouldn't be applied unless the changes to the macro are included.

Mario Limonciello (4):
  include/linux/suspend.h: Only show pm_pr_dbg messages at
    suspend/resume
  ACPI: x86: Add pm_debug_messages for LPS0 _DSM state tracking
  pinctrl: amd: Use pm_pr_dbg to show debugging messages
  platform/x86/amd: pmc: Use pm_pr_dbg() for suspend related messages

 drivers/acpi/x86/s2idle.c      | 52 ++++++++++++++++++++++++++++++----
 drivers/pinctrl/pinctrl-amd.c  |  6 ++--
 drivers/platform/x86/amd/pmc.c |  4 +--
 include/linux/suspend.h        |  6 ++--
 4 files changed, 55 insertions(+), 13 deletions(-)


base-commit: dac0c6388ff86af74dc6f4dd6e90a7db5a429e3d
-- 
2.34.1




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux