[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220828222121.4951-1-mario.limonciello@amd.com>
Date: Sun, 28 Aug 2022 17:21:17 -0500
From: Mario Limonciello <mario.limonciello@....com>
To: <mario.limonciello@....com>, Len Brown <lenb@...nel.org>,
<platform-driver-x86@...r.kernel.org>,
<linux-acpi@...r.kernel.org>, <linux-pm@...r.kernel.org>
CC: <rafael@...nel.org>, <hdegoede@...hat.com>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 0/4] Add some extra debugging mechanisms for s0i3
Recently there have been reports of problems where the system consumes
too much power after certain interrupts occur that would notify the
kernel of some event but those events aren't marked for wakeup.
These problems have been root caused to the timing of the kernel moving
the cores into ACPI C3 relative to other events from the previous wakeup
not being settled. Linux will more aggressively move the cores into C3
for s2idle than Windows does for Modern Standby.
To aide with debugging this class of problems in the future add a new
set of optional debugging infrastructure.
Mario Limonciello (4):
ACPI: s2idle: Add a new ->enter() callback for platform_s2idle_ops
platform/x86/amd: pmc: Add defines for STB events
platform/x86/amd: pmc: Always write to the STB
platform/x86/amd: pmc: Add an extra STB message for entering s2idle
drivers/acpi/x86/s2idle.c | 14 ++++++++++++++
drivers/platform/x86/amd/pmc.c | 33 +++++++++++++++++++++------------
include/linux/acpi.h | 1 +
include/linux/suspend.h | 1 +
kernel/power/suspend.c | 3 +++
5 files changed, 40 insertions(+), 12 deletions(-)
--
2.34.1
Powered by blists - more mailing lists