Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3227007pxk; Mon, 28 Sep 2020 11:33:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTtuwF2hnw52JTiM+JqmHM0lI9/UGC2AMWBKHwYriXjgu9h029CTEYzwDpXuGUD2NYI0LQ X-Received: by 2002:a05:6402:1717:: with SMTP id y23mr3445347edu.112.1601318036136; Mon, 28 Sep 2020 11:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601318036; cv=none; d=google.com; s=arc-20160816; b=OyG2TQ8WG5iw2Cyb4ptnDe2pmuip5alDE0Dr1xThr+aBvGFyVjqfzHeiSqsZVNfosI qsnZ+S769sMMbXqp3wFR5+Q1PsVBK693h08mRwjj77p+qm/SpoGceyxOhkoRUP0Jxqec oKQulGfWMR6DYRMx6oXL1UX2AXNNWWGiA/GfD1HvmxlX0dbtvKIrXpDcAoug8ZChnyNH NGP5iYE37rS/o1/P3P1Dw1oQ/r0EOO69VXib9bYH8zCa84Rmv0GeR+NagZDqdShaKzzZ A8Dyhsbz9HKb7arKCl5aVWHUI3fAGWyIfpxLC3NmHbrytnoBd46sRf5HDe+O7X2B5j93 aaZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=6bJTqwi8flZcfLd9A8ooA1grPyBZiTMIOC3nKoundDE=; b=OIr57S7/R+BCs9Y+09xCWYjJqRpCfyaUxzVD8rHFKbFUdKXHv85jpon15PdJ/zK+/b 5Jldq8iYytGHpBXt+YOcGXAAkQIOjWtn0DZPHoja+xE0TZIatgmPzrkZ/GagE8Pk2BNs X9coohR64F3c3onAZKSIZWnkvI0EA5GSSVrc3BvmnLfEYklgHFoLjrDdKntjwDSRBn/5 4uyWXpnrLN4UV8EjgojgZjQkfBZUqq6xu9glRUg20nxdMlVZu2U8Lch/n7IbcCRxu8uP fsw8zerj6fe3RqFkCnAnR+R3CP0aZ+qTVAJorhSxu7MNrr5eYFzLSAGeQlJL6YpdrOgK jNEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c9si1273805edl.424.2020.09.28.11.33.32; Mon, 28 Sep 2020 11:33:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726636AbgI1Sc1 (ORCPT + 99 others); Mon, 28 Sep 2020 14:32:27 -0400 Received: from mga07.intel.com ([134.134.136.100]:38347 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbgI1Sc1 (ORCPT ); Mon, 28 Sep 2020 14:32:27 -0400 IronPort-SDR: pK85NiHMkZZG4p8WDEekTGojWQwBTmatiZdmBFktxsLIA+eAsgBfHMJwovAfvrBhKVXFFoTgni C0i+68hDO3JQ== X-IronPort-AV: E=McAfee;i="6000,8403,9758"; a="226189212" X-IronPort-AV: E=Sophos;i="5.77,313,1596524400"; d="scan'208";a="226189212" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 11:32:21 -0700 IronPort-SDR: pfPxQndJaC+NinPZjzS2oRzK9EMqP5WQzue6VzOlfZIfyMKMPXzzPwN/zJ7Kw8QT8vOkUlJtE9 5jX6UhFMMm0Q== X-IronPort-AV: E=Sophos;i="5.77,313,1596524400"; d="scan'208";a="307430935" Received: from sethura1-mobl2.amr.corp.intel.com (HELO [10.254.88.203]) ([10.254.88.203]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 11:32:21 -0700 Subject: Re: [PATCH v3 1/1] PCI/ERR: Fix reset logic in pcie_do_recovery() call To: Sinan Kaya , Bjorn Helgaas Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, ashok.raj@intel.com, Jay Vosburgh References: <20200922233333.GA2239404@bjorn-Precision-5520> <526dc846-b12b-3523-4995-966eb972ceb7@kernel.org> <1fdcc4a6-53b7-2b5f-8496-f0f09405f561@linux.intel.com> <95e23cb5-f6e1-b121-0de8-a2066d507d9c@linux.intel.com> <65238d0b-0a39-400a-3a18-4f68eb554538@kernel.org> <4ae86061-2182-bcf1-ebd7-485acf2d47b9@linux.intel.com> <8beca800-ffb5-c535-6d43-7e750cbf06d0@linux.intel.com> <44f0cac5-8deb-1169-eb6d-93ac4889fe7e@kernel.org> <3bc0fd23-8ddd-32c5-1dd9-4d5209ea68c3@linux.intel.com> <8a3aeb3c-83c4-8626-601d-360946d55dd8@linux.intel.com> <9b295cad-7302-cf2c-d19d-d27fabcb48be@kernel.org> <93b4015f-df2b-728b-3ef7-ac5aa10f03ed@kernel.org> From: "Kuppuswamy, Sathyanarayanan" Message-ID: Date: Mon, 28 Sep 2020 11:32:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <93b4015f-df2b-728b-3ef7-ac5aa10f03ed@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/28/20 11:25 AM, Sinan Kaya wrote: > On 9/28/2020 2:02 PM, Sinan Kaya wrote: >> Since there is no state restoration for FATAL errors, I am wondering >> whether >> calls to ->error_detected(), ->mmio_enabled() and ->slot_reset() are >> required? > > I also would like to ask someone closer to the spec language double > check this. > > When we recover the link at the end of the DPC handler, what is the > expected state of the endpoint? > > Is it a some kind of a reset like secondary bus reset? (I assumed this > one) I think it will be in reset state. > > Undefined? > > or just plain link recovery with everything else as intact as it used > to be? > -- Sathyanarayanan Kuppuswamy Linux Kernel Developer