From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752385AbdIXNIK (ORCPT ); Sun, 24 Sep 2017 09:08:10 -0400 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 Date: Sun, 24 Sep 2017 06:08:06 -0700 From: Christoph Hellwig 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 Subject: Re: [PATCH 3/5] PCI: make pci_flr_wait() generic and rename to pci_dev_wait() 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 Content-Disposition: inline In-Reply-To: <1506212218-29103-3-git-send-email-okaya@codeaurora.org> User-Agent: Mutt/1.8.3 (2017-05-23) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: 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?