summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAsai Neko <sugar@sne.moe>2026-09-17 02:38:24 +0800
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-09-18 19:41:59 +0300
commit88a7f99c5871a7a04e6fd0e32481b80810683617 (patch)
tree3465ef28f1fba4455d76f958221f0b66d0570b2b /tools/perf/scripts/python/stackcollapse.py
parentc6ac4b226d44cc208987f3f8ec8a2ecc4d611268 (diff)
downloadlinux-next-88a7f99c5871a7a04e6fd0e32481b80810683617.tar.gz
linux-next-88a7f99c5871a7a04e6fd0e32481b80810683617.zip
platform/x86: asus-wmi: don't warn when LPS0 is unavailable
asus-wmi attempts to register its LPS0 suspend-to-idle callback during probe. acpi_register_lps0_dev() returns -ENODEV when the LPS0 interface is unavailable or explicitly disabled, but the driver treats this expected condition as a registration failure and prints: failed to register LPS0 sleep handler in asus-wmi This occurs on the ASUS ROG STRIX X670E-A GAMING WIFI with BIOS 2704. The system exposes no PNP0D80 ACPI device and uses deep suspend. The warning therefore misleadingly suggests a sleep-related malfunction on a platform where the LPS0 callback is not applicable. Suppress the warning for -ENODEV while retaining it for other errors. Leave callback registration and suspend/resume behavior unchanged. Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Reviewed-by: Denis Benato <denis.benato@linux.dev> Signed-off-by: Asai Neko <sugar@sne.moe> Link: https://patch.msgid.link/20260917-asus-wmi-lps0-unavailable-warn-v2-1-aa8e3d73634a@sne.moe Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions