вторник

[Bug 2072679] Re: Regression: unable to reach low idle states on Tiger Lake

This bug was fixed in the package linux-oem-6.8 - 6.8.0-1014.14

---------------
linux-oem-6.8 (6.8.0-1014.14) noble; urgency=medium

* noble/linux-oem-6.8: 6.8.0-1014.14 -proposed tracker (LP: #2082105)

* [SRU] Fix AST DP output after resume (LP: #2083022)
- drm/ast: Inline drm_simple_encoder_init()
- drm/ast: Implement atomic enable/disable for encoders
- drm/ast: Program mode for AST DP in atomic_mode_set
- drm/ast: Move mode-setting code into mode_set_nofb CRTC helper
- drm/ast: Handle primary-plane format setup in atomic_update
- drm/ast: Remove gamma LUT updates from DPMS code
- drm/ast: Only set VGA SCREEN_DISABLE bit in CRTC code
- drm/ast: Inline ast_crtc_dpms() into callers
- drm/ast: Use drm_atomic_helper_commit_tail() helper
- drm/ast: Fix black screen after resume
- drm/ast: astdp: Wake up during connector status detection

* UBSAN: array-index-out-of-bounds in module mt76 (LP: #2081785)
- wifi: mt76: mt7925: fix a potential array-index-out-of-bounds issue for clc

* Regression: unable to reach low idle states on Tiger Lake (LP: #2072679)
- SAUCE: PCI: ASPM: Allow OS to configure ASPM where BIOS is incapable of
- SAUCE: PCI: vmd: Let OS control ASPM for devices under VMD domain

[ Ubuntu: 6.8.0-47.47 ]

* noble/linux: 6.8.0-47.47 -proposed tracker (LP: #2082118)
* CVE-2024-45016
- netem: fix return value if duplicate enqueue fails

-- Kuan-Ying Lee <kuan-ying.lee@canonical.com> Fri, 04 Oct 2024
13:33:05 +0800

** Changed in: linux-oem-6.8 (Ubuntu Noble)
Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2024-45016

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2072679

Title:
Regression: unable to reach low idle states on Tiger Lake

Status in linux package in Ubuntu:
Fix Released
Status in linux-oem-6.8 package in Ubuntu:
Invalid
Status in linux source package in Noble:
Fix Committed
Status in linux-oem-6.8 source package in Noble:
Fix Released
Status in linux source package in Oracular:
Fix Released
Status in linux-oem-6.8 source package in Oracular:
Invalid

Bug description:
In the v2:
Thanks for Timo to point out, there is the same problem for
lunar-generic and mantic-generic kernels, and we applied to similar
UBUNTU SAUCE patches to those kernels, but somehow we forgot to
apply the patches to unstable at that time, hence we have regression
for this issue in N/O/..., the tracking bug for L/M is:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2034504

short-term plan:
SRU the SAUCE patches to N/O/unstable, fix the regression on those
Dell machines ASAP.
long-term plan:
Kai-heng will ping and discuss with linux-pci maintainers, modify
the patch as maintainers request, once the formal patches are merged
to upstream kernel, I will revert the SAUCE patches from N/O/unstable
and SRU the formal patches to these kernels.


[Impact]
The NVME controller works in RAID on mode by default on some Dell
machines, and in this case, the PCIE ASPM couldn't be enabled, and
as a result the system idle can't enter deep idle states. This issue
not only impacts ubuntu users but also impacts our Dell OEM projects.


[Fix]
pick 2 commits from linux-pci mailist

[Test]
After running the patched kernel, we could run 'sudo lspci -nnvv'
and check "Non-Volatile memory controller":
LnkCtl: ASPM L1 Enabled;

And check idle states, we could see the system could enter deep idle:
$ sudo cat /sys/kernel/debug/pmc_core/package_cstate_show
Package C2 : 55740989
Package C3 : 4656373
Package C6 : 43325041
Package C7 : 6687655
Package C8 : 44948950
Package C9 : 1693
Package C10 : 92865596

[Where problems could occur]
Because the patchset is not accepted by upstream yet, it is a bit
risky to merge the patchset to ubuntu kernel. And the patch only
impacts vmd driver, hence if there is regression, it could only be
in the nvme driver with RAID on mode. The regression possibility is
very low because we already tested the patch on many Dell, lenovo
machines, there is no regression so far.


After upgrading to Ubuntu 24.04 the CPU is unable to hit lower idle
states.

The device is a HP Spectre x360 14 (14-ea1000) with a Tiger Lake CPU.

This is a regression introduced somewhere 6.5.0-42 and 6.8.0-36. The
issue is not observed when booting the same OS with 6.5.0-42.

Some debug output:

root@hp-spectre-x360:/sys/kernel/debug/pmc_core# cat package_cstate_show
Package C2 : 36087003
Package C3 : 69314350
Package C6 : 0
Package C7 : 0
Package C8 : 0
Package C9 : 0
Package C10 : 0

$ sudo cat /sys/kernel/debug/pmc_core/substate_requirements
                       Element | S0i2.0 | Status |
pmc0: USB2PLL_OFF_STS | Required | Yes |
pmc0: PCIe/USB3.1_Gen2PLL_OFF_STS | Required | |
pmc0: PCIe_Gen3PLL_OFF_STS | Required | Yes |
pmc0: OPIOPLL_OFF_STS | Required | Yes |
pmc0: OCPLL_OFF_STS | Required | Yes |
pmc0: MIPIPLL_OFF_STS | Required | Yes |
pmc0: AC_Ring_Osc_OFF_STS | Required | Yes |
pmc0: SATAPLL_OFF_STS | Required | Yes |
pmc0: CSME_PG_STS | Required | Yes |
pmc0: SATA_PG_STS | Required | Yes |
pmc0: xHCI_PG_STS | Required | Yes |
pmc0: UFSX2_PG_STS | Required | Yes |
pmc0: OTG_PG_STS | Required | Yes |
pmc0: SPA_PG_STS | Required | Yes |
pmc0: SPB_PG_STS | Required | Yes |
pmc0: SPC_PG_STS | Required | |
pmc0: THC0_PG_STS | Required | Yes |
pmc0: THC1_PG_STS | Required | Yes |
pmc0: GBETSN_PG_STS | Required | Yes |
pmc0: GBE_PG_STS | Required | Yes |
pmc0: LPSS_PG_STS | Required | Yes |
pmc0: xHCI0_D3_STS | Required | Yes |
pmc0: xDCI1_D3_STS | Required | Yes |
pmc0: IS_D3_STS | Required | Yes |
pmc0: GBE_TSN_D3_STS | Required | Yes |
pmc0: CPU_C10_REQ_STS_0 | Required | Yes |
pmc0: MPHY_Core_DL_REQ_STS_16 | Required | |
pmc0: Break-even_En_REQ_STS_17 | Required | Yes |
pmc0: Auto-demo_En_REQ_STS_18 | Required | Yes |
pmc0: Int_Timer_SS_Wake0_Pol_STS | Required | |
pmc0: Int_Timer_SS_Wake1_Pol_STS | Required | |
pmc0: Int_Timer_SS_Wake2_Pol_STS | Required | |
pmc0: Int_Timer_SS_Wake3_Pol_STS | Required | |
pmc0: Int_Timer_SS_Wake4_Pol_STS | Required | |
pmc0: Int_Timer_SS_Wake5_Pol_STS | Required | |

On 6.5:
pmc0: MPHY_Core_DL_REQ_STS_16 | Required | |
pmc0: SPC_PG_STS | Required | |
pmc0: PCIe/USB3.1_Gen2PLL_OFF_STS | Required | |

have status set to 'Yes'

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.8.0-38-generic 6.8.0-38.38
ProcVersionSignature: Ubuntu 6.8.0-38.38-generic 6.8.8
Uname: Linux 6.8.0-38-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: kstoilov 2634 F.... pipewire
 /dev/snd/controlC0: kstoilov 2634 F.... pipewire
                      kstoilov 2641 F.... wireplumber
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Jul 10 21:26:37 2024
InstallationDate: Installed on 2023-05-04 (433 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
MachineType: HP HP Spectre x360 Convertible 14-ea1xxx
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-38-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-38-generic N/A
 linux-backports-modules-6.8.0-38-generic N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2.1
SourcePackage: linux
UpgradeStatus: Upgraded to noble on 2024-07-07 (3 days ago)
dmi.bios.date: 04/03/2024
dmi.bios.release: 15.33
dmi.bios.vendor: AMI
dmi.bios.version: F.33
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 89DB
dmi.board.vendor: HP
dmi.board.version: 40.65
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 40.65
dmi.modalias: dmi:bvnAMI:bvrF.33:bd04/03/2024:br15.33:efr40.65:svnHP:pnHPSpectrex360Convertible14-ea1xxx:pvr:rvnHP:rn89DB:rvr40.65:cvnHP:ct31:cvrChassisVersion:sku457Q6AVT#ABA:
dmi.product.family: 103C_5335KV HP Spectre
dmi.product.name: HP Spectre x360 Convertible 14-ea1xxx
dmi.product.sku: 457Q6AVT#ABA
dmi.sys.vendor: HP

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2072679/+subscriptions

Комментариев нет:

Отправить комментарий