From patchwork Tue Jun 4 13:15:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 165794 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp5846267ili; Tue, 4 Jun 2019 06:20:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5Y5fikjxKfhZtp6WhCG+nbcyuEP5q/oyVtY5Nfc8xNtYONgssPE9QU66x6v5X4oDy43cQ X-Received: by 2002:a17:902:74c4:: with SMTP id f4mr14709435plt.316.1559654431728; Tue, 04 Jun 2019 06:20:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559654431; cv=none; d=google.com; s=arc-20160816; b=XtD7m2WXKqNDoxz9s6/ioNcRSMNj/icRHy2HY8/A1gsrDCSZ7skXSj4t8NgT53jX3d fOBOEpBPGev3GEhaFiNFnz3tw0l+4AX6v2YWy3c7JbZ+eSiDivFuL9K/byk+pxz3uV6D Elc8bfeEG57h38lY5YiShXXai4fSMIMS7GwaR49QTPMlcb2xVOBpCD/0nd2kZ8lVJCOk jDEBkHuGJOd4524rsPv1luNCjSv6RHfkslSJVLzmzQBwINI/cvBHjeqRsXGxjS2camhe kQoC2hJn78r7kdwBvRkUnbPF4Z1iy4nXjpES5TapqnueuqJxFdQwXKLNNg242hK08ls1 3n2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=z+jOFbWUICQUg7VhFo19RU//56pD+kVMLSTrx7kpCoI=; b=JwUdTiT+mJDGIbvUEXFwUmTuE61tBGUFgphwHZZW/I2lr+Tre4C//OFI8/SJhHp1r5 IgJsN2HWyks/tVOtO+nO1Jc8+qnI/hii3854BUIMYGW06WknSCWPjcwf+K9n+Sk89pFp 1v387La+nCLifaD4im8gAyC2248OveXYJaLUk0HiSAVroSG1NcLA/Dj39BJvVXKilmgS 1Jj4wF4+EmSQ2zv2HXgLeXOI30uxvoBVHC8w8s7y6DhcBfIfxEylrYuevbaJCcMPWncd ZOhseQmifGmgSpoe3wQzPWBNTrC1YQJR0MkHQO0R3TDJ94jOE0HwP+HlUvUQr8itj0Bu umYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lr2vxfwG; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s2si22947185pgg.225.2019.06.04.06.20.31; Tue, 04 Jun 2019 06:20:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@ti.com header.s=ti-com-17Q1 header.b=lr2vxfwG; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727513AbfFDNUb (ORCPT + 8 others); Tue, 4 Jun 2019 09:20:31 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:35688 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727153AbfFDNUa (ORCPT ); Tue, 4 Jun 2019 09:20:30 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x54DJQCZ092321; Tue, 4 Jun 2019 08:19:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559654366; bh=z+jOFbWUICQUg7VhFo19RU//56pD+kVMLSTrx7kpCoI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lr2vxfwG2+n14YGzpYJlEpQO68GPaZkMTfaw1ms7Bwo9q6OQ+Icil49X9zEBmSPZJ L9DbTukUaJApNKZ1hV6bMJwexiCI787piX5RSHSjXygAgL3UeyCA9m43dDeV9xPzMy wWq6Kgm21qcIzz0sE861dxv3YQexZiInbS6Z3Cyc= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x54DJQLL010509 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 4 Jun 2019 08:19:26 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 4 Jun 2019 08:19:26 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 4 Jun 2019 08:19:26 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x54DGdGj098972; Tue, 4 Jun 2019 08:19:21 -0500 From: Kishon Vijay Abraham I To: Tom Joseph , Bjorn Helgaas , Rob Herring , Mark Rutland , Lorenzo Pieralisi , Arnd Bergmann , Gustavo Pimentel CC: Greg Kroah-Hartman , Frank Rowand , Jingoo Han , , , , , , , Kishon Vijay Abraham I Subject: [RFC PATCH 29/30] misc: pci_endpoint_test: Populate sriov_configure ops to configure SRIOV device Date: Tue, 4 Jun 2019 18:45:15 +0530 Message-ID: <20190604131516.13596-30-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190604131516.13596-1-kishon@ti.com> References: <20190604131516.13596-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Populate sriov_configure ops with pci_sriov_configure_simple to configure SRIOV device. Signed-off-by: Kishon Vijay Abraham I --- drivers/misc/pci_endpoint_test.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index 632c76e33e4e..2a6cd9e65e67 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -831,6 +831,7 @@ static struct pci_driver pci_endpoint_test_driver = { .id_table = pci_endpoint_test_tbl, .probe = pci_endpoint_test_probe, .remove = pci_endpoint_test_remove, + .sriov_configure = pci_sriov_configure_simple, }; module_pci_driver(pci_endpoint_test_driver);