public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Add some extra debugging mechanisms for s0i3
@ 2022-08-29 16:29 Mario Limonciello
  2022-08-29 16:29 ` [PATCH v3 1/4] ACPI: s2idle: Add a new ->check() callback for platform_s2idle_ops Mario Limonciello
  2022-09-09 16:01 ` [PATCH v3 0/4] Add some extra debugging mechanisms for s0i3 Hans de Goede
  0 siblings, 2 replies; 6+ messages in thread
From: Mario Limonciello @ 2022-08-29 16:29 UTC (permalink / raw)
  To: mario.limonciello, Len Brown, linux-acpi, platform-driver-x86,
	linux-pm
  Cc: rafael, hdegoede, linux-kernel

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 ->check() 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 checking s2idle
    entry

 drivers/acpi/sleep.h           |  1 +
 drivers/acpi/x86/s2idle.c      | 14 ++++++++++++++
 drivers/platform/x86/amd/pmc.c | 32 ++++++++++++++++++++------------
 include/linux/acpi.h           |  1 +
 include/linux/suspend.h        |  1 +
 kernel/power/suspend.c         |  3 +++
 6 files changed, 40 insertions(+), 12 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-09 16:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-29 16:29 [PATCH v3 0/4] Add some extra debugging mechanisms for s0i3 Mario Limonciello
2022-08-29 16:29 ` [PATCH v3 1/4] ACPI: s2idle: Add a new ->check() callback for platform_s2idle_ops Mario Limonciello
2022-08-30 11:39   ` Rafael J. Wysocki
2022-08-30 11:42     ` Limonciello, Mario
2022-08-30 14:50       ` Hans de Goede
2022-09-09 16:01 ` [PATCH v3 0/4] Add some extra debugging mechanisms for s0i3 Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox