Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6037808ybi; Wed, 12 Jun 2019 12:53:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyw9FBovJTdpWVHUD1is2S13H8dhSmmAbTxQGf8FyXzF1ymtCH9ByGZcjB2sulGrEfdGGFr X-Received: by 2002:a62:bd11:: with SMTP id a17mr14352709pff.126.1560369228297; Wed, 12 Jun 2019 12:53:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560369228; cv=none; d=google.com; s=arc-20160816; b=DdrpNn1q5slzV12OT6muezD6YIXD3sPEi8xqfMQUU3VjkTGmXloeK7xRUNG+NPzli/ oTVIWvswmwpWPGkNvQa6m1lfejFmJAW9EbOBFWrPyw1Qz23t0hyA1X0skk84ulSeI5to O/NMVuCjTg6Cyb1WCaAFRfHUh07Ue2mGfon8nKQgeAxu7UIvbNcATa9El9PgTC20o43+ ns1NUF6IgXs0nYQKDNuaqO7gquFzE+VZVyG7/lk+BjAw2pIG1j7Yae+hqLZ30M5LhSj8 ZQ4w/ri5Mb4NTW3NH3ed/fjUVADiz1vVETB7uHmExKFfq1oZ8/vTgaDMmuWHtYikJ9Bg YUzQ== 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=1wc8dBdFTBzzZjbP80v8BICH+RP94FRHu93Azv5nIAA=; b=yehrbGQh0Fx0tp4dKDKa7eVjhuRoSu5e5b+yOKRC6jsXypcq0V0ysQMI9/pmhwHbGk 0mYa5SDnjVyy574sROl2L1vPpf5X2QZIbynxv3X54XBv0BgwIUqVguS+Fnv/nXKzxB9K +zvu8Td/6sdU/C8PrKQtRahK6XUzM+E4+N3rNVNKyzrJA3zyI6ASQ16+UPiWSwa0l/H+ haHACgEw/JfnJeM+m02du4t5TFOrnoTBq7aNLCrORHeWqfZYGxD2R2A2Ff0DxdSdwkwx exKda9aK1zOFBTNNvrdBhYvUre7mcg/gn2Y0gJHqhKsksLBbTLnFLjFsUYDBic+NR24C 9AiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=m6jg6Z2Y; 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 w17si581215pgj.190.2019.06.12.12.53.32; Wed, 12 Jun 2019 12:53:48 -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=m6jg6Z2Y; 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 S2387814AbfFLTwk (ORCPT + 99 others); Wed, 12 Jun 2019 15:52:40 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:65317 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728207AbfFLTwk (ORCPT ); Wed, 12 Jun 2019 15:52:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1560369158; x=1591905158; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:mime-version: content-transfer-encoding; bh=1wc8dBdFTBzzZjbP80v8BICH+RP94FRHu93Azv5nIAA=; b=m6jg6Z2YIexoCajgMLVih5jG5TkHXRwDQo5KMbhd4367oAfMeNch0ngz sQneDAmNDz/W3Pig1BPeLiNWV/Za+3DXmXxu2TwG+ud/9SkyRf7N9gHOy MJLe9s1Ei9j7clDKHroc3lDOeGR47vPIfvjYbC5W71uq3hJco2zE7o8Vq Y=; X-IronPort-AV: E=Sophos;i="5.62,367,1554768000"; d="scan'208";a="770092232" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1e-c7c08562.us-east-1.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 12 Jun 2019 19:52:36 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1e-c7c08562.us-east-1.amazon.com (Postfix) with ESMTPS id DCACA24A79C; Wed, 12 Jun 2019 19:52:34 +0000 (UTC) Received: from EX13D01EUB003.ant.amazon.com (10.43.166.248) by EX13MTAUEA001.ant.amazon.com (10.43.61.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 12 Jun 2019 19:52:34 +0000 Received: from EX13D01EUB003.ant.amazon.com (10.43.166.248) by EX13D01EUB003.ant.amazon.com (10.43.166.248) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 12 Jun 2019 19:52:33 +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; Wed, 12 Jun 2019 19:52:33 +0000 From: "Raslan, KarimAllah" To: "ashok.raj@intel.com" , "alex.williamson@redhat.com" CC: "sathyanarayanan.kuppuswamy@linux.intel.com" , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "keith.busch@intel.com" , "bhelgaas@google.com" , "mike.campin@intel.com" Subject: Re: [PATCH v2 1/1] PCI/IOV: Fix incorrect cfg_size for VF > 0 Thread-Topic: [PATCH v2 1/1] PCI/IOV: Fix incorrect cfg_size for VF > 0 Thread-Index: AQHVIVGHt8eSJLfhFECmRygagYCs76aYbhsA Date: Wed, 12 Jun 2019 19:52:32 +0000 Message-ID: <1560369152.22674.6.camel@amazon.de> References: <20190612170647.43220-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20190612121910.231368e2@x1.home> <0b21c76e-53f3-c35e-cebf-00719e451b11@linux.intel.com> <20190612125817.42909d83@x1.home> <20190612190303.GA29348@otc-nc-03> In-Reply-To: <20190612190303.GA29348@otc-nc-03> 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.164.236] Content-Type: text/plain; charset="utf-8" Content-ID: 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 T24gV2VkLCAyMDE5LTA2LTEyIGF0IDEyOjAzIC0wNzAwLCBSYWosIEFzaG9rIHdyb3RlOg0KPiBP biBXZWQsIEp1biAxMiwgMjAxOSBhdCAxMjo1ODoxN1BNIC0wNjAwLCBBbGV4IFdpbGxpYW1zb24g d3JvdGU6DQo+ID4gDQo+ID4gT24gV2VkLCAxMiBKdW4gMjAxOSAxMTo0MTozNiAtMDcwMA0KPiA+ IHNhdGh5YW5hcmF5YW5hbiBrdXBwdXN3YW15IDxzYXRoeWFuYXJheWFuYW4ua3VwcHVzd2FteUBs aW51eC5pbnRlbC5jb20+DQo+ID4gd3JvdGU6DQo+ID4gDQo+ID4gPiANCj4gPiA+IE9uIDYvMTIv MTkgMTE6MTkgQU0sIEFsZXggV2lsbGlhbXNvbiB3cm90ZToNCj4gPiA+ID4gDQo+ID4gPiA+IE9u IFdlZCwgMTIgSnVuIDIwMTkgMTA6MDY6NDcgLTA3MDANCj4gPiA+ID4gc2F0aHlhbmFyYXlhbmFu Lmt1cHB1c3dhbXlAbGludXguaW50ZW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