[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d34eb5da-0ae1-d455-93e2-2432ec7931ea@kernel.org>
Date: Fri, 20 Jul 2018 23:07:20 -0700
From: Sinan Kaya <okaya@...nel.org>
To: Bjorn Helgaas <helgaas@...nel.org>
Cc: Lukas Wunner <lukas@...ner.de>,
Oza Pawandeep <poza@...eaurora.org>, linux-pci@...r.kernel.org,
open list <linux-kernel@...r.kernel.org>,
Keith Busch <keith.busch@...el.com>,
linux-arm-msm@...r.kernel.org, Bjorn Helgaas <bhelgaas@...gle.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH V5 3/3] PCI: Mask and unmask hotplug interrupts during
reset
On 7/20/2018 7:58 PM, Sinan Kaya wrote:
> We need to figure out how to gracefully return inside hotplug driver
> if link down happened and there is an error pending.
How about adding the following into the hotplug ISR?
1. check if firmware first is disabled
2. check if there is a fatal error pending in the device_status register
of the PCI Express capability on the root port.
3. bail out from hotplug routine if this is the case.
4. otherwise, existing behavior.
Powered by blists - more mailing lists