Received: by 10.213.65.68 with SMTP id h4csp866895imn; Wed, 28 Mar 2018 14:33:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/rBTRJy4FRhbmVsfJnhghzW3nsL35HKc4To3HZWFtmr29sX0Hi+RCIaFndaEsBrSnh6OYf X-Received: by 10.99.4.3 with SMTP id 3mr3655571pge.147.1522272808678; Wed, 28 Mar 2018 14:33:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522272808; cv=none; d=google.com; s=arc-20160816; b=jkejGTDRDWFG+bWyO9TRmKTOdOlp31HKPqzw6H9hp4Bupy7PvV7/h52XqUKt2raZpw mEkPelwWpySAXGLSKwgPkQyMKU3BrcFS8EzclqKaR0Q4qy/Z/oPwICgujZXkUKJlfYKq Mbz3quIk0ibmkM8iIFl5L8+yQjw38Ch70kXJ+EEsGAXmyYmq2KSFtEljRaSiC2KsippW svc9VdGyqUAJeSWfQX4aYw4vDU8WVlwMb21dmdcN8MIpNAsEX0vK2e+iv1dvEVGksZnt c+wCwBi/clDSgNRuKBECUGpoUqccyVA5aIuTIsYTMvNLys81rwxGRRFFRPFw0woUMwEz xy1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=32rcLKU+EmEilRkhzwroEOM+dBRXITGlXB1B3Js/DDk=; b=mdxYgN92iPPtW2uvY1iCD4/YLrJ9+l69uPUlDCZEghnijewLH7IS9kUCLz6g2g5ia8 3lw8o+tF7rs+mDzBIHBQNO7QxHPpNP/c4a4gIUtcuCd72ynRq7/J8RQsnZmvXiHLFieU z76sdOn+i0eZL708nHb69FOxyy+BPCdfsLV1yxVOjeifgM6D8qdLhuwbvgAP5++tbzVI 1rkWoVPuHPWkGfTMBcGOkep5gnhL6En5Mg0BacRz0TA4XWr9kuGZKrMwd8znbAcPtjw2 kH6vf1SPUcgvcnv3k3nV2PU2ztz6YzRUVfBemrGXf9IOITclerGHm497xQxvZ2n18mmU diFA== ARC-Authentication-Results: i=1; mx.google.com; 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 o61-v6si4307799pld.646.2018.03.28.14.33.13; Wed, 28 Mar 2018 14:33:28 -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; 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 S1753431AbeC1Vad (ORCPT + 99 others); Wed, 28 Mar 2018 17:30:33 -0400 Received: from mga03.intel.com ([134.134.136.65]:4527 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753343AbeC1Vab (ORCPT ); Wed, 28 Mar 2018 17:30:31 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2018 14:30:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,373,1517904000"; d="asc'?scan'208";a="215744699" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by fmsmga005.fm.intel.com with ESMTP; 28 Mar 2018 14:30:29 -0700 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.10]) by ORSMSX109.amr.corp.intel.com ([169.254.11.24]) with mapi id 14.03.0319.002; Wed, 28 Mar 2018 14:30:29 -0700 From: "Rustad, Mark D" To: Alexander Duyck CC: "bhelgaas@google.com" , "Duyck, Alexander H" , "linux-pci@vger.kernel.org" , "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , Netdev , "Daly, Dan" , LKML , "linux-nvme@lists.infradead.org" , "Busch, Keith" , "netanel@amazon.com" , "ddutile@redhat.com" , "mheyne@amazon.de" , "Wang, Liang-min" , "dwmw2@infradead.org" , "hch@lst.de" , "dwmw@amazon.co.uk" Subject: Re: [virtio-dev] [pci PATCH v7 1/5] pci: Add pci_sriov_configure_simple for PFs that don't manage VF resources Thread-Topic: [virtio-dev] [pci PATCH v7 1/5] pci: Add pci_sriov_configure_simple for PFs that don't manage VF resources Thread-Index: AQHTvI08Vp52Z4tFxUi8VACDa+E/qaPmtDkA Date: Wed, 28 Mar 2018 21:30:29 +0000 Message-ID: References: <20180315183449.3102.64791.stgit@localhost.localdomain> <20180315184055.3102.2435.stgit@localhost.localdomain> In-Reply-To: <20180315184055.3102.2435.stgit@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.233.80.200] Content-Type: multipart/signed; boundary="Apple-Mail=_BBED0712-6906-4470-94B1-31A72AA8A265"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Apple-Mail=_BBED0712-6906-4470-94B1-31A72AA8A265 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On Mar 15, 2018, at 11:41 AM, Alexander Duyck wrote: > From: Alexander Duyck > > This patch adds a common configuration function called > pci_sriov_configure_simple that will allow for managing VFs on devices > where the PF is not capable of managing VF resources. > > Signed-off-by: Alexander Duyck > --- > > v5: New patch replacing pci_sriov_configure_unmanaged with > pci_sriov_configure_simple > Dropped bits related to autoprobe changes > v6: Defined pci_sriov_configure_simple as NULL if IOV is disabled > v7: Updated pci_sriov_configure_simple to drop need for err value > Fixed comment explaining why pci_sriov_configure_simple is NULL > > drivers/pci/iov.c | 31 +++++++++++++++++++++++++++++++ > include/linux/pci.h | 3 +++ > 2 files changed, 34 insertions(+) Tested with the device identified in patch #2. Tested-by: Mark Rustad -- Mark Rustad, Networking Division, Intel Corporation --Apple-Mail=_BBED0712-6906-4470-94B1-31A72AA8A265 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIzBAEBCAAdFiEE6ug8b0Wg+ULmnksNPA7/547j7m4FAlq8CXQACgkQPA7/547j 7m6pew/8CP45+0ywjt3/o6XIMCG2lY8I4kEyzMy+qDRd6Enk2kQkcORMhSxNOrwF MXK7CSa01s3Y0AwjHuy+0d+/jDvxyUGuhw0Tb98DkL3T9OQDhgCuTPTC8/wu9XYS AoACL8alz4pouJM/P9VT24pGIkwbEWl0bE/LZ0fZvhOkVjLBp6f3E5aqgcMZlI4V uAEDdP/AHdessoOktzRWxmlEFJdBN/TDkobLM0I+ipI2VIJh+Wu8n2Cb9nT9ZrFz bgOVdwJMloky6CF23XHu/R+vrfmtQJf7/OKpI63it2ryX9g0c2ZKTw3RhqrBCR+c 470ZslFbxfQTMNZnI/+6pU5/mriHtEuN+X/Pyr0UVgjDezjtiId9bwNxbRUsZrvF MvzfHBixgYmtRa+cBguiV48qfkWrfXdmhteqYta786+Tr0zvKX833WAydO+/V6bx ZiBaZEa3LoSuOhGbzRjPxyMIy6nrkVYKvulm/N1G4iTzgs1Lj5heWiH6onW1y32o sLyEYpLVLHAEGVtHEUTxJU4xIbyW5hvY/dUqjOiXnvcIdP7yc+bo9s3kLiuEVn81 r8/VkR1W6+q1r5J/ED9iWEt7D7BkOBdH9THRIQIDq3O1vSzX6m+Pvhw2mjLcsY9U A5ABZsKAF+7gYtNlM4X5bl8tXhzNOJo4pP7zAHTOqffxeOIYD0A= =39ai -----END PGP SIGNATURE----- --Apple-Mail=_BBED0712-6906-4470-94B1-31A72AA8A265--