[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190228063157.rl2lywgian2ij5m4@wunner.de>
Date: Thu, 28 Feb 2019 07:31:57 +0100
From: Lukas Wunner <lukas@...ner.de>
To: Alexandru Gagniuc <mr.nuke.me@...il.com>
Cc: bhelgaas@...gle.com, austin_bolen@...l.com,
alex_gagniuc@...lteam.com, keith.busch@...el.com,
Shyam_Iyer@...l.com, okaya@...nel.org,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Oza Pawandeep <poza@...eaurora.org>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Benjamin Young <youngcdev@...il.com>,
Frederick Lawler <fred@...dlawl.com>,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org
Subject: Re: [PATCH v3] PCI: portdrv: Report degraded links via link
bandwidth notification
On Wed, Feb 27, 2019 at 02:58:17PM -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.
>
> Use the link bandwidth notification interrupt to detect bandwidth
> changes, and rescan the bandwidth, looking for the weakest point. This
> is the same logic used in probe().
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me@...il.com>
Reviewed-by: Lukas Wunner <lukas@...ner.de>
Powered by blists - more mailing lists