From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Subject: Re: [PATCH 1/1] PCI/AER: prevent pcie_do_fatal_recovery from using device after it is removed To: Keith Busch , Lukas Wunner Cc: Benjamin Herrenschmidt , poza@codeaurora.org, Bjorn Helgaas , Thomas Tai , bhelgaas@google.com, linux-pci@vger.kernel.org, linux-pci-owner@vger.kernel.org, Sam Bobroff References: <2ecd1fd6d763810d45697f846fa876b58a193b1b.camel@kernel.crashing.org> <20180820155325.GA16148@localhost.localdomain> <6aa71d74-e4dc-c627-1496-981278388bce@kernel.org> <20180820213544.GA16805@localhost.localdomain> <0193e0c5a52d8f2e93958f0683f3acc81cef2bc9.camel@kernel.crashing.org> <44195c0d7159ce4cd01b660002b2f5af5d53678b.camel@kernel.crashing.org> <184814fb-0caf-b260-4415-8f96fbdf4831@kernel.org> <20180822091333.rre2okhnrot44dyq@wunner.de> <20180822143853.GC19320@localhost.localdomain> From: Sinan Kaya Message-ID: <1e83e715-4a7c-05c7-9720-35e3d81cf157@kernel.org> Date: Wed, 22 Aug 2018 10:51:57 -0400 MIME-Version: 1.0 In-Reply-To: <20180822143853.GC19320@localhost.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed List-ID: On 8/22/2018 10:38 AM, Keith Busch wrote: > On Wed, Aug 22, 2018 at 11:13:33AM +0200, Lukas Wunner wrote: >> On Mon, Aug 20, 2018 at 06:13:03PM -0400, Sinan Kaya wrote: >>> presence detect is optional >> >> Hm, how so? Do you have a spec reference for that? > > Yeah, presence detect state and change are required if the slot supports > hot plug. If the slot doesn't support these, error handling becomes a > lot simpler. > I double checked the slot capabilities register. You are right, it is required.