Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp217225pxf; Thu, 25 Mar 2021 02:20:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuwasWqALcMshHcrPYCfPRAAIEki90ek/ykuoj+Sr63jQeVkeiUNe7tFp0ikcap9xJ1hpu X-Received: by 2002:a05:6402:d07:: with SMTP id eb7mr7761888edb.242.1616664037649; Thu, 25 Mar 2021 02:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616664037; cv=none; d=google.com; s=arc-20160816; b=W3+nijrr2LqzoojrDBif8eQ8pZZnwHxUASNmX7dJWE/8jeu5I5NfEtBe7Qr8BEwFVl r96ci0HAgXcFOnnG1ePd6ps5D68VehJHKS7oiORy9JnR8434K0h52osrtY+vERbyrRVL e6n38BQ2wt4/9HUFkh1Vmktjx7YTvCe4qVzWlLN4grFqwQf6uKEXmfSF7F0ufENKP0zH CbXkdKpfs3e4X6el2yxjcSO9ELPd0JRwGMW0apcqNhWvcofg0olwHCx3h5BhevClgRTQ 1vNLnFklMP332wvK17bUj+Wk39gysIly1vF2cYfxr5CaCm+0ByYGFpgOb9VoGEcVhUEP lkGQ== 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 :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=SLGYYLb9Sie/mIBPD7ORd5JmZY2RudJZRnetn2aokZQ=; b=RDve3I1AsPMd0owCCBuID8TVGAUZCljz/LHB7T80qNKHh4o1J1PgadsdQoeFQsAQ/j hdsbcbBPvKmNUJ152q9AcZvoly3Nm27a8dzv4kM3mH46heI+r280FnmlPeDnvz0OeYMC GNf/WeYM/UHGgWwn7WFXrSCdFgmyDgfeIFqKqhQmnWS4ED/G25tMD68x+IPEhd9n4lIi G66LeDvCAL80aPqMCOkSrvWqqc/11EsR5M+qo5ZEL19XR3zWk2U3fmiVt6YiC3cRaePc rNqaQMWcE6e8EkEoErTFX+AiJX73wGlkxbK5L1MItFPSWGsXigsl1Zru/DEEmA6IEiLb bz/Q== 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=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c11si3768418edv.591.2021.03.25.02.20.14; Thu, 25 Mar 2021 02:20:37 -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=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229853AbhCYJSu (ORCPT + 99 others); Thu, 25 Mar 2021 05:18:50 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:39312 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbhCYJSn (ORCPT ); Thu, 25 Mar 2021 05:18:43 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-223-13BMoTGZMQaaO9FQ8WC1tA-1; Thu, 25 Mar 2021 09:18:39 +0000 X-MC-Unique: 13BMoTGZMQaaO9FQ8WC1tA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Mar 2021 09:18:37 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.012; Thu, 25 Mar 2021 09:18:37 +0000 From: David Laight To: 'Amey Narkhede' , =?utf-8?B?UGFsaSBSb2jDoXI=?= CC: "alex.williamson@redhat.com" , "helgaas@kernel.org" , "lorenzo.pieralisi@arm.com" , "kabel@kernel.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "raphael.norwitz@nutanix.com" Subject: RE: How long should be PCIe card in Warm Reset state? Thread-Topic: How long should be PCIe card in Warm Reset state? Thread-Index: AQHXIAXnrcmc2gEB8kyyLgm3o0lr1qqUbNMg Date: Thu, 25 Mar 2021 09:18:37 +0000 Message-ID: References: <20210310110535.zh4pnn4vpmvzwl5q@pali> <20210323161941.gim6msj3ruu3flnf@archlinux> <20210323162747.tscfovntsy7uk5bk@pali> <20210323165749.retjprjgdj7seoan@archlinux> In-Reply-To: <20210323165749.retjprjgdj7seoan@archlinux> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQW1leSBOYXJraGVkZQ0KPiBTZW50OiAyMyBNYXJjaCAyMDIxIDE2OjU4DQo+IA0KPiBP biAyMS8wMy8yMyAwNToyN1BNLCBQYWxpIFJvaMOhciB3cm90ZToNCj4gPiBPbiBUdWVzZGF5IDIz IE1hcmNoIDIwMjEgMjE6NDk6NDEgQW1leSBOYXJraGVkZSB3cm90ZToNCj4gPiA+IE9uIDIxLzAz LzEwIDE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