lkml.org 
[lkml]   [2023]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/4] Add consumers for pm_pr_debug() outside of pm
    Date
    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

    \
     
     \ /
      Last update: 2023-05-18 19:29    [W:2.904 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site