Received: by 10.223.185.116 with SMTP id b49csp1950730wrg; Thu, 22 Feb 2018 05:58:18 -0800 (PST) X-Google-Smtp-Source: AH8x224X/9QvdwdgqnTn32yTOZLNIoJJ7jLaN3dHC+Pc1strxwuufpJcyipS0nkpn0AHHmi34I8a X-Received: by 10.98.141.65 with SMTP id z62mr7037581pfd.129.1519307898452; Thu, 22 Feb 2018 05:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519307898; cv=none; d=google.com; s=arc-20160816; b=GylUaggfd3ThN6wcWFUj8dKNbeD3ePFeWBv9utGR2+2lVQTfjm5E0vTrtkmWPn5WOB iINFl1rbgTrovQp/YMLtr+5s0LJ/1Zz44yUt1YuRCG1kdYMd4xbdmC95n6P+XG6+wfTo k+mtgw1XdxI8IdliE7RriQWeBvsTOzWJorakQ9cvruOpKWX1xbbVdph4BURSjTpY2Z+y X3EJ0oW4rmTCcMC3I9I3k/ws+i4VUaX6YgVUyQJQoPt/8Y9jRHXW41XQvLYgK98EGi7W 6QEUsJwb+GFCjGEq+XenJ3haZg1FSwpt8WWHv1RRUQJaNcABGJa7w7Q6RuzLLT8QB3Ei PtlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=IIIEleRB+KiaOPFALwRUXSnde1h35ZC3bxZDT+socZg=; b=kyPBHxiUjEKJJISyUWrhd9pmdnviBmGhUKaLOFZm8bDDjOsQEiTUH1O5x2nbuX75iZ PKnawp4Jmf/PYlTMRkgbEVcKCDhPYJe18xiESrThQ8CWhPxurWDnt5p0+xiyq3jdChj9 YC8Cu8sFB0NreUnU1If6l+Nb1/oMklBAa6L50xeaqLWF6Dd7B7/qqy52ibH8eWgv4xiM ZvUG10mN4bXaaHz/+7+z5AKmCt3qOGH6GvAxYCWXUlZT79Vd+gqSPwdC3Wi2UZe/toeZ TxMphQWu5W3oDc00KkB255S9hbPBfFogINdrwexAe/l8nqpGn9GoP+9ASzAewEMdPwdE +yKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=fREybkBB; dkim=pass header.i=@codeaurora.org header.s=default header.b=fREybkBB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bf2-v6si75542plb.257.2018.02.22.05.58.04; Thu, 22 Feb 2018 05:58:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=fREybkBB; dkim=pass header.i=@codeaurora.org header.s=default header.b=fREybkBB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932648AbeBVN52 (ORCPT + 99 others); Thu, 22 Feb 2018 08:57:28 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:42422 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753855AbeBVN5Y (ORCPT ); Thu, 22 Feb 2018 08:57:24 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A16EC60848; Thu, 22 Feb 2018 13:57:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519307843; bh=OPjmOzVmTraFbl9iB2+vA2qHzDaN5qBHykglYGlM9cc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=fREybkBBNRNsLHrhAsbmZQfGh4dozl6lII1uc3BmooERQofAME3fCQzlJHvW+EC90 so2GGuOrKCJs0RvAdo2sklkg2QeuQIB0uELQ7hBBbuYQldIGx9Wd3nhKq/HwwYJVe0 ymR1d1a2dTMIN2RfLAjxcy/iPBt2KP6CHDTY1css= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.1.79] (104-182-54-152.lightspeed.rlghnc.sbcglobal.net [104.182.54.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0226F602B7; Thu, 22 Feb 2018 13:57:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519307843; bh=OPjmOzVmTraFbl9iB2+vA2qHzDaN5qBHykglYGlM9cc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=fREybkBBNRNsLHrhAsbmZQfGh4dozl6lII1uc3BmooERQofAME3fCQzlJHvW+EC90 so2GGuOrKCJs0RvAdo2sklkg2QeuQIB0uELQ7hBBbuYQldIGx9Wd3nhKq/HwwYJVe0 ymR1d1a2dTMIN2RfLAjxcy/iPBt2KP6CHDTY1css= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0226F602B7 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: FLR on AER To: Jon Masters , helgaas@kernel.org Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org References: <75DE2522-5DDC-4852-BE38-F7EB53691196@redhat.com> From: Sinan Kaya Message-ID: <372f63b2-2739-51fe-8959-3c5a0fecc29e@codeaurora.org> Date: Thu, 22 Feb 2018 08:57:21 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <75DE2522-5DDC-4852-BE38-F7EB53691196@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/22/2018 8:21 AM, Jon Masters wrote: > Hi Bjorn, > > It looks like the AER driver won’t do a device FLR but instead will default to progressively bigger hammers. Am I missing something? > AFAIK, AER driver does a secondary bus reset only if it observes a FATAL error. In order to issue an FLR, driver needs to access the endpoint config space. Since there is a FATAL error, this is not possible as PCI link is unreliable or probably gone. > Jon. > -- 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.