platform/x86/amd: pmc: Dump idle mask during "check" stage instead
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 29 Sep 2022 21:50:42 +0000 (16:50 -0500)
committerHans de Goede <hdegoede@redhat.com>
Mon, 3 Oct 2022 07:39:55 +0000 (09:39 +0200)
commitc928df03bde92d70babeb22d500f528256758aee
tree11dbf57f4175c29fb09cf19777a76e3458f218cc
parent4e3d731ba79e9d1bcbda668be7c3865dd02fddeb
platform/x86/amd: pmc: Dump idle mask during "check" stage instead

The idle mask is dumped during the "prepare" and "restore" stage
right now, which helps to demonstrate issues only related to the
first s2idle entry.

If the system has entered s2idle once, but was woken up never
breaking the s2idle loop but also never went back to sleep we
might still have another issue to deal with however.

Move the dynamic debugging message here so that we'll catch it on
each iteration.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216516
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220929215042.745-1-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmc.c