All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Some TGL and overall S0ix debug improvements
@ 2025-09-22 22:52 Guilherme G. Piccoli
  2025-09-22 22:52 ` [PATCH 1/4] platform/x86/intel/pmc: Fix typo on CNP register name (and clarify comment) Guilherme G. Piccoli
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Guilherme G. Piccoli @ 2025-09-22 22:52 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: irenic.rajneesh, david.e.box, xi.pardee, kernel-dev, kernel,
	Guilherme G. Piccoli

In this series, we try to improve a bit the debugging of s0ix-related
failures, specially on Tiger Lake platforms.

First patch is a simple clean-up, while patches 2 and 3 attempt to dump
more information on failure cases. For patch 3, it would be good to have
maintainers' validation that we can indeed dump the LPM registers in both
fail paths, as proposed here.

Now, the most controversial one is patch 4, sent as RFC: it effectively
reverts a commit that previously dropped SLP_Sx_DBG register dump on
TGL s0ix-failures. It mentions sub-states as a reason, but without
details. Questions that remain: is it the case that all TGL CPUs have
this limitation, or only some of them? If some of them, can/should we
filter them instead of suppressing this debug info for all Tiger Lake
CPUs? Also, what is the con in dumping this register, is it just
potential bogus values or this could cause an impact on successful
suspend path?

Thanks in advance for reviews!
Cheers,


Guilherme


Guilherme G. Piccoli (4):
  platform/x86/intel/pmc: Fix typo on CNP register name (and clarify comment)
  platform/x86/intel/pmc: Dump raw SLP_Sx_DBG registers and distinguish between them
  platform/x86/intel/pmc: Always dump LPM status regs on unsuccessful paths
  [RFC] platform/x86/intel/pmc: Re-add SLP_S0_DBG register dump on Tiger Lake

 drivers/platform/x86/intel/pmc/cnp.c  |  2 +-
 drivers/platform/x86/intel/pmc/core.c | 37 ++++++++++++++-------
 drivers/platform/x86/intel/pmc/core.h |  2 +-
 drivers/platform/x86/intel/pmc/tgl.c  | 48 +++++++++++++++++++++++++++
 4 files changed, 75 insertions(+), 14 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2025-10-24 10:55 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22 22:52 [PATCH 0/4] Some TGL and overall S0ix debug improvements Guilherme G. Piccoli
2025-09-22 22:52 ` [PATCH 1/4] platform/x86/intel/pmc: Fix typo on CNP register name (and clarify comment) Guilherme G. Piccoli
2025-09-22 22:52 ` [PATCH 2/4] platform/x86/intel/pmc: Dump raw SLP_Sx_DBG registers and distinguish between them Guilherme G. Piccoli
2025-09-23  7:59   ` Ilpo Järvinen
2025-09-24  1:05     ` Guilherme G. Piccoli
2025-09-24  9:57       ` Ilpo Järvinen
2025-09-25 17:17         ` Guilherme G. Piccoli
2025-10-13 17:39         ` Xi Pardee
2025-10-13 18:05           ` Guilherme G. Piccoli
2025-10-23 21:44             ` Xi Pardee
2025-10-24 10:55               ` Guilherme G. Piccoli
2025-09-22 22:52 ` [PATCH 3/4] platform/x86/intel/pmc: Always dump LPM status regs on unsuccessful paths Guilherme G. Piccoli
2025-10-14 19:29   ` Xi Pardee
2025-10-14 19:58     ` Guilherme G. Piccoli
2025-10-14 23:55       ` Xi Pardee
2025-10-15 17:35         ` Guilherme G. Piccoli
2025-09-22 22:52 ` [PATCH 4/4][RFC] platform/x86/intel/pmc: Re-add SLP_S0_DBG register dump on Tiger Lake Guilherme G. Piccoli
2025-10-14 19:24   ` Xi Pardee
2025-10-14 20:21     ` Guilherme G. Piccoli
2025-10-13 15:14 ` [PATCH 0/4] Some TGL and overall S0ix debug improvements Guilherme G. Piccoli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.