Re: [PATCH v2] PCI: pciehp: Report degraded links via link bandwidth notification

2019-02-27 Thread Lukas Wunner
On Wed, Feb 27, 2019 at 08:21:58PM +, alex_gagn...@dellteam.com wrote: > On 2/24/19 8:29 PM, Lukas Wunner wrote: > > On Fri, Dec 07, 2018 at 12:20:00PM -0600, Alexandru Gagniuc wrote: > > > Q: Why is this unconditionally compiled in? > > > A: The symmetrical check in pci probe() is also always

Re: [PATCH v2] PCI: pciehp: Report degraded links via link bandwidth notification

2019-02-27 Thread Alex_Gagniuc
On 2/24/19 8:29 PM, Lukas Wunner wrote: > On Fri, Dec 07, 2018 at 12:20:00PM -0600, Alexandru Gagniuc wrote: > > >> Q: Why is this unconditionally compiled in? >> A: The symmetrical check in pci probe() is also always compiled in. > > Hm, it looks like the convention is to provide a separate Kco

Re: [PATCH v2] PCI: pciehp: Report degraded links via link bandwidth notification

2019-02-24 Thread Lukas Wunner
On Fri, Dec 07, 2018 at 12:20:00PM -0600, Alexandru Gagniuc wrote: > A warning is generated when a PCIe device is probed with a degraded > link, but there was no similar mechanism to warn when the link becomes > degraded after probing. The Link Bandwidth Notification provides this > mechanism. > >

Re: [PATCH v2] PCI: pciehp: Report degraded links via link bandwidth notification

2018-12-27 Thread Alex G.
On 12/7/18 12:20 PM, Alexandru Gagniuc wrote: A warning is generated when a PCIe device is probed with a degraded link, but there was no similar mechanism to warn when the link becomes degraded after probing. The Link Bandwidth Notification provides this mechanism. Use the link bandwidth notific

[PATCH v2] PCI: pciehp: Report degraded links via link bandwidth notification

2018-12-07 Thread Alexandru Gagniuc
A warning is generated when a PCIe device is probed with a degraded link, but there was no similar mechanism to warn when the link becomes degraded after probing. The Link Bandwidth Notification provides this mechanism. Use the link bandwidth notification interrupt to detect bandwidth changes, and