Fix unmatched ASMedia ASM2824 PCIe link training

Bug #1964796 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-riscv (Ubuntu)
Fix Released
Undecided
Dimitri John Ledkov

Bug Description

https://<email address hidden>/raw

It has been discovered that Unmatched board ships ASMedia ASM2824 PCIe which frequently fails to complete link training and negotiate stable and fast speeds.

To ensure PCIe devices on Unmatched board can operate with stable and predictable link speeds cherry-pick upstream submitted patch that resolves the issue.

It is currently applied as a SAUCE patch, whilst the upstream inclusion review is ongoing.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Changed in linux-riscv (Ubuntu):
milestone: none → ubuntu-22.04
Revision history for this message
Alexandre Ghiti (alexghiti) wrote :

A similar patch that solves the same issue was actually merged for 5.18 [1].

I encountered this bug with our current u-boot (2022.01+dfsg-2ubuntu1) and linux kernel (5.15.0-1004.4): I applied the patch in [1] on top of 5.15.0-1004.4 successfully and it solved the problem. So as you already tagged it, this should be cherry-picked for 22.04. A similar patch for u-boot exists, I'll report a new bug there.

Thanks

[1] https://patchwork.kernel<email address hidden>/

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Submitted that patch that is now in linus' tree to stable https://<email address hidden>/T/#u

NAK'ed previous path.

Will submit to apply this new patch to our linux-riscv trees, ahead of inclusion in kernel.org's stable trees.

Changed in linux-riscv (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
status: New → In Progress
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Queued for stable trees https://<email address hidden>/

Changed in linux-riscv (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-riscv - 5.15.0-1007.7

---------------
linux-riscv (5.15.0-1007.7) jammy; urgency=medium

  * jammy/linux-riscv: 5.15.0-1007.7 -proposed tracker (LP: #1968740)

  * rcu_sched detected stalls on CPUs/tasks (LP: #1967130)
    - [Config] Disable VMAP_STACK due to CPU stalls on EFI

  * Fix unmatched ASMedia ASM2824 PCIe link training (LP: #1964796)
    - PCI: fu740: Force 2.5GT/s for initial device probe

 -- Dimitri John Ledkov <email address hidden> Tue, 12 Apr 2022 15:44:58 +0100

Changed in linux-riscv (Ubuntu):
status: Fix Committed → Fix Released
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.