From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 3/5] PCI: make pci_flr_wait() generic and rename to pci_dev_wait() Date: Sun, 24 Sep 2017 06:08:06 -0700 Message-ID: <20170924130806.GA12285@infradead.org> References: <1506212218-29103-1-git-send-email-okaya@codeaurora.org> <1506212218-29103-3-git-send-email-okaya@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from bombadil.infradead.org ([65.50.211.133]:60714 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752138AbdIXNII (ORCPT ); Sun, 24 Sep 2017 09:08:08 -0400 Content-Disposition: inline In-Reply-To: <1506212218-29103-3-git-send-email-okaya@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Sinan Kaya Cc: linux-pci@vger.kernel.org, timur@codeaurora.org, alex.williamson@redhat.com, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Helgaas , linux-kernel@vger.kernel.org On Sat, Sep 23, 2017 at 08:16:56PM -0400, Sinan Kaya wrote: > Rev 3.1 Sec 2.3.1 Request Handling Rules: > Valid reset conditions after which a device is permitted to return CRS > are: > * Cold, Warm, and Hot Resets, > * FLR > * A reset initiated in response to a D3hot to D0 uninitialized > > Try to reuse FLR implementation towards other reset types. Maybe call it pci_reset_wait instead of pci_dev_wait?