From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sinan Kaya Subject: Re: [PATCH V12 4/5] PCI: Handle CRS ("device not ready") returned by device after FLR Date: Wed, 23 Aug 2017 17:51:19 -0400 Message-ID: <0ef4c01d-75bc-17dc-8926-2f9647cfeec8@codeaurora.org> References: <1503464171-6471-1-git-send-email-okaya@codeaurora.org> <1503464171-6471-4-git-send-email-okaya@codeaurora.org> <20170823213838.GG8498@bhelgaas-glaptop.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:32956 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715AbdHWVvV (ORCPT ); Wed, 23 Aug 2017 17:51:21 -0400 In-Reply-To: <20170823213838.GG8498@bhelgaas-glaptop.roam.corp.google.com> Content-Language: en-US Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, timur@codeaurora.org, alex.williamson@redhat.com, linux-arm-msm@vger.kernel.org, Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org On 8/23/2017 5:38 PM, Bjorn Helgaas wrote: > If we increase the timeout, is there still value in adding the > pci_bus_wait_crs() stuff? I'm not sure there is. I agree increasing the timeout is more than enough for FLR case. However, I was considering the wait and pending functions as a utility that I can reuse towards fixing CRS in other conditions like secondary bus reset and potentially PM. I'm planning to have a CRS session in the Linux Plumbers Conference to talk about CRS use cases. I was going to follow up this series with secondary bus reset next once this goes in. I'm unable to test PM. I can't promise how I fix/test it. -- 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.