Fix RPL-U CPU C-state always keep at C3 when system run PHM with idle screen on

Bug #2042385 reported by koba
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
New
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
koba
Jammy
Invalid
Undecided
Unassigned
Noble
Fix Released
Undecided
koba
linux-oem-6.5 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
koba
Noble
Invalid
Undecided
Unassigned

Bug Description

[Impact]
RPL-U CPU C-state alway keep at C3 when system run PHM with idle screen on.

[Fix]
Realtek r8168h/r8111's ASPM is blocked due to users report the regression on their platform[0].
Add quirks for some Dell Platforms to enable ASPM and allow RPL-U sleep deeper.

[0], https://bugzilla.kernel.org/show_bug.cgi?id=217814

[where the issue could happen]
Medium, may have the regression but the risk is limited in some Dell platforms.
we will ask Realtek's effort once the regression is observed.

[Misc]
For Unstable, built with mantic configuration
~~~
$ git push m_cbd
remote: *** kernel-cbd *********************************************************
remote: * Queueing builds (your 'ubuntu_unstable_next'); ok to interrupt
remote: * For results: ssh cbd ls kobako-mantic-c281d2b48f02-DyYx
remote: * 1/9 workers busy, 0 builds queued
remote: 2023-11-20 16:19:03 kobako-mantic-c281d2b48f02-DyYx/amd64/BUILD-OK
remote: 2023-11-20 16:21:38 kobako-mantic-c281d2b48f02-DyYx/arm64/BUILD-OK
remote: 2023-11-20 16:18:54 kobako-mantic-c281d2b48f02-DyYx/armhf/BUILD-OK
remote: 2023-11-20 16:22:08 kobako-mantic-c281d2b48f02-DyYx/ppc64el/BUILD-OK
remote: 2023-11-20 16:14:16 kobako-mantic-c281d2b48f02-DyYx/s390x/BUILD-OK
remote: ************************************************************************
To cbd.kernel:mantic.git
 * [new branch] ubuntu_unstable_next -> ubuntu_unstable_next
~~~

koba (kobako)
summary: - Fix CPU C-state alway keep at C3 when system run PHM with idle screen on
+ Fix RPL-U CPU C-state alway keep at C3 when system run PHM with idle
+ screen on
description: updated
description: updated
Changed in linux-oem-6.5 (Ubuntu Jammy):
status: New → In Progress
assignee: nobody → koba (kobako)
koba (kobako)
tags: added: oem-priority originate-from-2038398 somerville
koba (kobako)
description: updated
koba (kobako)
Changed in linux (Ubuntu Noble):
status: New → In Progress
assignee: nobody → koba (kobako)
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.5 (Ubuntu Jammy):
status: In Progress → Fix Committed
Changed in linux-oem-6.5 (Ubuntu Noble):
status: New → Invalid
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Re: Fix RPL-U CPU C-state alway keep at C3 when system run PHM with idle screen on

This bug is awaiting verification that the linux-oem-6.5/6.5.0-1008.8 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-oem-6.5' to 'verification-done-jammy-linux-oem-6.5'. If the problem still exists, change the tag 'verification-needed-jammy-linux-oem-6.5' to 'verification-failed-jammy-linux-oem-6.5'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-oem-6.5-v2 verification-needed-jammy-linux-oem-6.5
koba (kobako)
Changed in linux (Ubuntu Jammy):
status: New → Invalid
Revision history for this message
koba (kobako) wrote :

Verified with CID:202309-32128,
~~~
$ uname -a
Linux 6.5.0-1008-oem #8-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 10 13:08:33 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
~~~
$ sudo cat /sys/kernel/debug/pmc_core/slp_s0_residency_usec
0
$ sudo rtcwake -m mem -s 5
$ sudo cat /sys/kernel/debug/pmc_core/slp_s0_residency_usec
4017704
~~~

tags: added: verification-done-jammy-linux-oem-6.5
removed: verification-needed-jammy-linux-oem-6.5
Revision history for this message
Riley Kao (riley-kao) wrote :

Verified SENRTY V16

~~~
$ uname -a
Linux test-Vostro-16-5640 6.5.0-1008-oem #8-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 10 13:08:33 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
~~~
$ sudo cat /sys/kernel/debug/pmc_core/slp_s0_residency_usec
0
$ sudo rtcwake -m mem -s 5
$ sudo cat /sys/kernel/debug/pmc_core/slp_s0_residency_usec
4117866
~~~

Revision history for this message
koba (kobako) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-6.5 - 6.5.0-1008.8

---------------
linux-oem-6.5 (6.5.0-1008.8) jammy; urgency=medium

  * jammy/linux-oem-6.5: 6.5.0-1008.8 -proposed tracker (LP: #2041878)

  * Packaging resync (LP: #1786013)
    - [Packaging] resync git-ubuntu-log
    - [Packaging] resync update-dkms-versions helper

  * System hang after unplug/plug DP monitor with AMD W7500 card (LP: #2042912)
    - SAUCE: drm/amd/pm: Fix error of MACO flag setting code

  * Fix after-suspend-mediacard/sdhc-insert test failed (LP: #2042500)
    - SAUCE: PCI/ASPM: Add back L1 PM Substate save and restore

  * Keyboard and Touchpad Not Working in New Lenovo V15 Gen4 Laptop
    (LP: #2034477)
    - x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
    - platform/x86: Add s2idle quirk for more Lenovo laptops

  * Fix RPL-U CPU C-state alway keep at C3 when system run PHM with idle screen
    on (LP: #2042385)
    - SAUCE: r8169: Add quirks to enable ASPM on Dell platforms

  * Fix system suspend problem for Cirrus CS35L41 HDA codec on HP ZBook Fury 16
    G9 (LP: #2042060)
    - ALSA: hda: cs35l41: Override the _DSD for HP Zbook Fury 17 G9 to correct
      boost type
    - ALSA: hda: cs35l41: Use reset label to get GPIO for HP Zbook Fury 17 G9
    - ALSA: hda: cs35l41: Assert reset before system suspend
    - ALSA: hda: cs35l41: Assert Reset prior to de-asserting in probe and system
      resume
    - ALSA: hda: cs35l41: Run boot process during resume callbacks
    - ALSA: hda: cs35l41: Force a software reset after hardware reset
    - ALSA: hda: cs35l41: Do not unload firmware before reset in system suspend
    - ALSA: hda: cs35l41: Check CSPL state after loading firmware
    - ASoC: cs35l41: Detect CSPL errors when sending CSPL commands

  * Miscellaneous Ubuntu changes
    - [Packaging] Add ppa2 to getabis

  [ Ubuntu: 6.5.0-13.13 ]

  * mantic/linux: 6.5.0-13.13 -proposed tracker (LP: #2042652)
  * arm64 atomic issues cause disk corruption (LP: #2042573)
    - locking/atomic: scripts: fix fallback ifdeffery

  [ Ubuntu: 6.5.0-11.11 ]

  * mantic/linux: 6.5.0-11.11 -proposed tracker (LP: #2041879)
  * CVE-2023-31085
    - ubi: Refuse attaching if mtd's erasesize is 0
  * CVE-2023-4244
    - netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
  * CVE-2023-5633
    - drm/vmwgfx: Keep a gem reference to user bos in surfaces
  * CVE-2023-5345
    - fs/smb/client: Reset password pointer to NULL
  * CVE-2023-5090
    - x86: KVM: SVM: always update the x2avic msr interception
  * Packaging resync (LP: #1786013)
    - [Packaging] update helper scripts

 -- Timo Aaltonen <email address hidden> Fri, 10 Nov 2023 13:04:39 +0200

Changed in linux-oem-6.5 (Ubuntu Jammy):
status: Fix Committed → Fix Released
summary: - Fix RPL-U CPU C-state alway keep at C3 when system run PHM with idle
+ Fix RPL-U CPU C-state always keep at C3 when system run PHM with idle
screen on
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 6.8.0-11.11

---------------
linux (6.8.0-11.11) noble; urgency=medium

  * noble/linux: 6.8.0-11.11 -proposed tracker (LP: #2053094)

  * Miscellaneous Ubuntu changes
    - [Packaging] riscv64: disable building unnecessary binary debs

 -- Paolo Pisati <email address hidden> Wed, 14 Feb 2024 00:04:31 +0100

Changed in linux (Ubuntu Noble):
status: In Progress → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-nvidia-6.8/6.8.0-1006.6~22.04.2 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-nvidia-6.8' to 'verification-done-jammy-linux-nvidia-6.8'. If the problem still exists, change the tag 'verification-needed-jammy-linux-nvidia-6.8' to 'verification-failed-jammy-linux-nvidia-6.8'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-nvidia-6.8-v2 verification-needed-jammy-linux-nvidia-6.8
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.