a critical typo in the code managing the ASPM settings for PCI Express devices

Bug #2071889 reported by AceLan Kao
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Status tracked in Oracular
Noble
Fix Committed
Medium
AceLan Kao
Oracular
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
The typo in the original code led to the PCI_EXP_LNKCTL register values being swapped between the parent PCI device and its child device.
It may lead to incorrect power state, device malfunction on system resume, or potential data loss or system stability issues.

[Fix]
Kaiheng submitted a patch to fix the issue and has been included in v6.9 mainline kernel.
f3d049b35b01 PCI/ASPM: Restore parent state to parent, child state to child

[Test]
There is no test cases for the issue now.

[Where problems may occur]
It fixes the typo and should not introduce any regression.

AceLan Kao (acelankao)
Changed in linux (Ubuntu Oracular):
status: New → Fix Released
Changed in linux (Ubuntu Noble):
status: New → In Progress
assignee: nobody → AceLan Kao (acelankao)
description: updated
AceLan Kao (acelankao)
description: updated
Revision history for this message
Luis Alberto Pabón (copong) wrote :

Thank you Acelan Kao. Will there be a kernel build for noble in -proposed?

Stefan Bader (smb)
Changed in linux (Ubuntu Noble):
importance: Undecided → Medium
status: In Progress → Fix Committed
Revision history for this message
Luis Alberto Pabón (copong) wrote :

I recompiled the 6.8.0-36 kernel with that patch and that solved the issue I have and described at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2071604

tags: added: regression-update
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.8.0-40.40 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-noble-linux' to 'verification-done-noble-linux'. If the problem still exists, change the tag 'verification-needed-noble-linux' to 'verification-failed-noble-linux'.

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-noble-linux-v2 verification-needed-noble-linux
Revision history for this message
Luis Alberto Pabón (copong) wrote :

Kernel 6.8.0-40.40 solves this problem.

tags: added: verification-done-noble-linux
removed: verification-needed-noble-linux
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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