[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bd04c9d1-6dfe-3071-69f9-beb0d649b6c0@codeaurora.org>
Date: Tue, 3 Jul 2018 09:31:24 -0400
From: Sinan Kaya <okaya@...eaurora.org>
To: poza@...eaurora.org
Cc: Lukas Wunner <lukas@...ner.de>, linux-pci@...r.kernel.org,
linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Bjorn Helgaas <bhelgaas@...gle.com>,
Keith Busch <keith.busch@...el.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V5 3/3] PCI: Mask and unmask hotplug interrupts during
reset
On 7/3/2018 9:25 AM, Sinan Kaya wrote:
>> what if we only have conditional enumeration ? (leaving removing devices followed by SBR as is) ?
>>
Sorry, I think I didn't quite get your question.
Are you asking about the enumeration following link up while keeping the
current code as is?
Issue is observing hotplug link down event in the middle of AER recovery as in
my previous reply.
If we mask hotplug interrupts before secondary bus reset via my patch,
then hotplug driver will not observe both link up and link down interrupts.
If we don't mask hotplug interrupts, we have a race condition.
I hope I answered your question.
--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
Powered by blists - more mailing lists