Re: [PATCH] pci-bridge/xio3130_downstream: fix invalid link speed and link width

2024-05-29 Thread Nam Cao
On Wed, May 29, 2024 at 04:17:04PM +0200, Nam Cao wrote: > On Wed, May 29, 2024 at 03:50:14PM +0200, Philippe Mathieu-Daudé wrote: > > On 29/5/24 15:21, Nam Cao wrote: > > > Set link width to x1 and link speed to 2.5 Gb/s as specified by the > > > datasheet. Without this, these fields in the link s

Re: [PATCH] pci-bridge/xio3130_downstream: fix invalid link speed and link width

2024-05-29 Thread Nam Cao
On Wed, May 29, 2024 at 03:50:14PM +0200, Philippe Mathieu-Daudé wrote: > On 29/5/24 15:21, Nam Cao wrote: > > Set link width to x1 and link speed to 2.5 Gb/s as specified by the > > datasheet. Without this, these fields in the link status register read > > zero, which is incorrect. > > > > This p

Re: [PATCH] pci-bridge/xio3130_downstream: fix invalid link speed and link width

2024-05-29 Thread Philippe Mathieu-Daudé
Hi Nam, On 29/5/24 15:21, Nam Cao wrote: Set link width to x1 and link speed to 2.5 Gb/s as specified by the datasheet. Without this, these fields in the link status register read zero, which is incorrect. This problem appeared since 3d67447fe7c2 ("pcie: Fill PCIESlot link fields to support hig

[PATCH] pci-bridge/xio3130_downstream: fix invalid link speed and link width

2024-05-29 Thread Nam Cao
Set link width to x1 and link speed to 2.5 Gb/s as specified by the datasheet. Without this, these fields in the link status register read zero, which is incorrect. This problem appeared since 3d67447fe7c2 ("pcie: Fill PCIESlot link fields to support higher speeds and widths"), which allows PCIe s