From: Xi Pardee <xi.pardee@linux.intel.com>
To: "Guilherme G. Piccoli" <gpiccoli@igalia.com>,
platform-driver-x86@vger.kernel.org
Cc: irenic.rajneesh@gmail.com, david.e.box@intel.com,
kernel-dev@igalia.com, kernel@gpiccoli.net
Subject: Re: [PATCH 3/4] platform/x86/intel/pmc: Always dump LPM status regs on unsuccessful paths
Date: Tue, 14 Oct 2025 16:55:43 -0700 [thread overview]
Message-ID: <280be57c-5159-4e5b-9d8e-15cd67b84cc4@linux.intel.com> (raw)
In-Reply-To: <71fef5d2-15fe-27ce-4004-998aadc9a8cb@igalia.com>
On 10/14/2025 12:58 PM, Guilherme G. Piccoli wrote:
> Thanks Xi! Response inline:
>
> On 14/10/2025 16:29, Xi Pardee wrote:
>> [...]
>>
>> Entering the S0ix state requires the system to reach the deepest package
>> C-state, PC10. If the system fails to achieve PC10 residency during
>> suspend, the slps0_dbg_maps data becomes irrelevant and may mislead
>> users. For this reason, the driver hides this information when PC10
>> residency is not attained.
>>
> Indeed, I agree - this is even mentioned in the spec.
>
> But the patch here doesn't change that (or shouldn't - except if I did
> something wrong heh).
>
> The idea of this patch is to dump the LPM registers in any failure path,
> the ones printed by pmc_core_lpm_display() - not related with the
> slps0_dbg_maps.
>
> Lemme know your thoughts on this.
> Cheers,
>
>
> Guilherme
When the system fails to enter the S0ix state during suspend, there are
two scenarios to consider:
1. If the system achieves PC10 residency, debugging S0ix can focus on
the information provided by slps0_dbg_maps or lpm_sts.
2. If the system does not achieve PC10 residency, the PMC core driver
supplies package C-state residency information instead.
It is important to note that the data presented by
pmc_core_lpm_display() is only relevant when PC10 residency has been
attained.
This difference helps ensure that users are provided with accurate and
meaningful information relevant to the power state achieved during suspend.
Thanks!
Xi
>
next prev parent reply other threads:[~2025-10-14 23:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=280be57c-5159-4e5b-9d8e-15cd67b84cc4@linux.intel.com \
--to=xi.pardee@linux.intel.com \
--cc=david.e.box@intel.com \
--cc=gpiccoli@igalia.com \
--cc=irenic.rajneesh@gmail.com \
--cc=kernel-dev@igalia.com \
--cc=kernel@gpiccoli.net \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.