lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 18 May 2023 12:27:48 -0500
From:   Mario Limonciello <mario.limonciello@....com>
To:     <rafael@...nel.org>, <hdegoede@...hat.com>,
        <linus.walleij@...aro.org>
CC:     <linux-acpi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <linux-gpio@...r.kernel.org>,
        <platform-driver-x86@...r.kernel.org>, <linux-pm@...r.kernel.org>,
        <Shyam-sundar.S-k@....com>, <Basavaraj.Natikar@....com>,
        Mario Limonciello <mario.limonciello@....com>
Subject: [PATCH 0/4] Add consumers for pm_pr_debug() outside of pm

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ