Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2424474imm; Thu, 11 Oct 2018 10:01:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV60mE1ngd7ylxjRwk2fpIs8BBZZ2kqiLobfcrFh3abJEUBcaX6xRukD5vqn7Pk2TARKPQgd9 X-Received: by 2002:a62:fc13:: with SMTP id e19-v6mr2368903pfh.101.1539277303163; Thu, 11 Oct 2018 10:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539277303; cv=none; d=google.com; s=arc-20160816; b=04Buh0yUmcmUIofVxoawmmE17HsgePwdhVQYO1/abdQkXyP7Dfdbm/Ngaab8dKwGZf SGmSfQEaY83HZTHJmE/Gl7li2KvS5bPAtTwFHYZ65lM7mdAKjCgy1VrMhb33r1mzBWO0 UKs+s6qfvi5XNxI9gSFmcrH4tjr0Nasu7VEhtNi76vEN9+tEBa90hdTF3Ftln3ZtgyI+ 8Fp8WoDNg+6mD6qTxHj9CmhEHhCo+CrBZzYOINbK6ZSatt0LOIjyp21V+tMRw1hEZE3Y bA1DkCBdqfSoDnmcu3nNmvTlYvhp6EVkJZKKH/Xb0SqoEGWZdMCBJE4pnZipnS1wWBPH fcbg== 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:mime-version :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=9Qz5WBPBFO3ID78nYsK+R9cdRJITvopSX6RL+MSFtTI=; b=zaW6RIaePx/XpRLUixvK1qNsZoxV1fXhLQyOPMah4akZBTCagTW8NqEdQ9Ir8qxODw sEJozkF/odmdnEofLeXyooJNnOk8YxlP6QX1ca/So7EC1E6346wGXHCG0hTz8LamsazT CezSjR4FqOd1ILhVOM8GRV0POnZN9b18QjMVMcJ7aN8R0mtspBWHoY2VV1pIFf2C3UaS iZyduhng3Fgspq9EqHx3FkT/wN/50Qmj1RtlV8GotnQ25ETX8XszF7LjI/uxWHTXt9kz NkjxBOg2P9tqZ7NpKXd7ozXMrSVzelNo50i4btJ3ZD8BP0O+LPaqgyYoSoThEu+ji06Z 7wRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=ZYYZma+4; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3-v6si25195075pga.321.2018.10.11.10.01.27; Thu, 11 Oct 2018 10:01:43 -0700 (PDT) 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=@amazon.de header.s=amazon201209 header.b=ZYYZma+4; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730700AbeJLA1c (ORCPT + 99 others); Thu, 11 Oct 2018 20:27:32 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:54430 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730647AbeJLA1c (ORCPT ); Thu, 11 Oct 2018 20:27:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1539277165; x=1570813165; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:mime-version: content-transfer-encoding; bh=9Qz5WBPBFO3ID78nYsK+R9cdRJITvopSX6RL+MSFtTI=; b=ZYYZma+4U5ZS0DBpGk2TqhNYrkQd/CZR1weH1d+zDPNQMzPwfJkflww5 /W2xG+qMPjHyj084gugvoGTV1tEqUUPsuxrZf91FVtq2NHpOwRHhulrZ8 zszO59hhi47iQWBEs69oPY7ZwIUWPPzTzpcL15AHvHrQYLv72dH9tGLFQ U=; X-IronPort-AV: E=Sophos;i="5.54,369,1534809600"; d="scan'208";a="362101978" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-474bcd9f.us-east-1.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Oct 2018 16:59:24 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1d-474bcd9f.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id w9BGxMUJ074507 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 11 Oct 2018 16:59:23 GMT Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 11 Oct 2018 16:59:22 +0000 Received: from EX13D01EUB003.ant.amazon.com (10.43.166.248) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 11 Oct 2018 16:59:21 +0000 Received: from EX13D01EUB003.ant.amazon.com ([10.43.166.248]) by EX13D01EUB003.ant.amazon.com ([10.43.166.248]) with mapi id 15.00.1367.000; Thu, 11 Oct 2018 16:59:21 +0000 From: "Raslan, KarimAllah" To: "helgaas@kernel.org" CC: "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "bhelgaas@google.com" Subject: Re: [PATCH v2] PCI/IOV: Use VF0 cached config space size for other VFs Thread-Topic: [PATCH v2] PCI/IOV: Use VF0 cached config space size for other VFs Thread-Index: AQHUYLJdK9eU3B2FIkSfhKUeSf57PKUaQ9+AgAACPQA= Date: Thu, 11 Oct 2018 16:59:20 +0000 Message-ID: <1539277160.13237.94.camel@amazon.de> References: <1539187210-22515-1-git-send-email-karahmed@amazon.de> <20181011165119.GQ5906@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <20181011165119.GQ5906@bhelgaas-glaptop.roam.corp.google.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.165.114] Content-Type: text/plain; charset="utf-8" Content-ID: <8A9A41CB3374FB4BB817B0AE82554E77@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE4LTEwLTExIGF0IDExOjUxIC0wNTAwLCBCam9ybiBIZWxnYWFzIHdyb3RlOg0K PiBPbiBXZWQsIE9jdCAxMCwgMjAxOCBhdCAwNjowMDoxMFBNICswMjAwLCBLYXJpbUFsbGFoIEFo bWVkIHdyb3RlOg0KPiA+IA0KPiA+IENhY2hlIHRoZSBjb25maWcgc3BhY2Ugc2l6ZSBmcm9tIFZG MCBhbmQgdXNlIGl0IGZvciBhbGwgb3RoZXIgVkZzIGluc3RlYWQNCj4gPiBvZiByZWFkaW5nIGl0 IGZyb20gdGhlIGNvbmZpZyBzcGFjZSBvZiBlYWNoIFZGLiBXZSBhc3N1bWUgdGhhdCBpdCB3aWxs IGJlDQo+ID4gdGhlIHNhbWUgYWNyb3NzIGFsbCBhc3NvY2lhdGVkIFZGcy4NCj4gPiANCj4gPiBU aGlzIGlzIGFuIG9wdGltaXphdGlvbiB3aGVuIGVuYWJsaW5nIFNSLUlPViBvbiBhIGRldmljZSB3 aXRoIG1hbnkgVkZzLg0KPiA+IA0KPiA+IENjOiBCam9ybi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