Re: [PATCH v2 2/2] PCI: reread the Link Control 2 Register before using

From: Maciej W. Rozycki
Date: Fri Jan 17 2025 - 20:04:10 EST


On Fri, 17 Jan 2025, Jiwei Sun wrote:

> However, within this section of code, lnkctl2 is not modified (after
> reading from register on line 111) at all and remains 0x5. This results
> in the condition on line 130 evaluating to 0 (false), which in turn
> prevents the code from line 132 onward from being executed. The removing
> 2.5GT/s downstream link speed restriction work can not be done.

It seems like a regression from my original code indeed.

Maciej