From patchwork Wed Mar 10 16:09:42 2021 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: 396761 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp503115jai; Wed, 10 Mar 2021 08:12:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxEMvRMyp+fOYzJqboWBZzFm/WrbxxSxACM8BOrVgm18qrUlT3EulfRTjkAaHvgeP1wLT0 X-Received: by 2002:a05:6402:1a4f:: with SMTP id bf15mr4181072edb.304.1615392724153; Wed, 10 Mar 2021 08:12:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615392724; cv=none; d=google.com; s=arc-20160816; b=g8iSOFlcoxoZ8F9rm0m6pGJZvOuyEgNyRGD0UNjLHCJVF1mV8+f7so7gODvp0EE1Ak NOTKsIG17I4ylgbJ8bF6d0aLRJ2HdiiqiXG8iGWgS7lXYZ0mFVEEaUn4tLaBO1XiS6lU 3kkAoXIxHEKOpUxdMBBuKSttq3UTdCb7V6jNSpQ1o715yz4wItxfWPI8SoztmptU4TX/ 36jDPUcVNsfYP+y9PIYEIBRA0i3x5b/hHnWewoFH35ZCEaovWCJz3aGMgTqCGbQd0VcI yuVN353PheSzlI9TyaTzbw35n2vO0n12Ml+lzhhXmRGAgZCqM3xDkvC4QGxweBZZnTpH IM4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=we7tEI3t7CYiYHQjHpttOgbazqYJANHRmdU5X4Zij6w=; b=vhttqty+GXBXVYP0xNA4mjLEvurXWp3X01U++ePlRZOGb1FdwCWlGclHjN6O+GVUrF gL6/ZmOKOJa0GtYjv2Tfgx5RfB+Oknvi2SR7jvR203OG4Vsx+hVLfv1IfIogeSkpWXZR HQvHD91Sb2xbhGGw8WTTxglHEt/IGltFPxvZwEDlESl10nj3H+GMlDanewi7fTeoYzdA v0ybjgB9XPPYUmuq0KZcLxAdCQg4yh+S2DJD5AOhp7bdDkK4vm+sHInnPSZcrIVbkIsZ P6sPmhGK8wOiep57KTjBp5+txbbSsW8N3EUCgDNPZ2SjGBfchpeGt8TnD83dnDpRXZgs cVVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=IKQJC1r6; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id rn25si8164962ejb.250.2021.03.10.08.12.03; Wed, 10 Mar 2021 08:12:04 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=IKQJC1r6; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 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 S233416AbhCJQLc (ORCPT + 6 others); Wed, 10 Mar 2021 11:11:32 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:55878 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233255AbhCJQK7 (ORCPT ); Wed, 10 Mar 2021 11:10:59 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12AGAepp078828; Wed, 10 Mar 2021 10:10:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615392640; bh=we7tEI3t7CYiYHQjHpttOgbazqYJANHRmdU5X4Zij6w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=IKQJC1r6XBZbXqpYRjWst3bE9lZE78EACSTGGxXRcJ3o9OUdNDHZSN2TJKmjuhZnn w5Cz3xxrxGyiNIxrvAb/wuC4H6Y7buF8Yfwv0iRFZgFhUQezzSaa5lJ0DT2zHHAsVu FhHp0yM08iB2P9ZAScfqywtcIRKV/Vq/ji7sdG/o= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12AGAe09063434 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Mar 2021 10:10:40 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 10 Mar 2021 10:10:40 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 10 Mar 2021 10:10:40 -0600 Received: from a0393678-ssd.dhcp.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 12AG9qkx100440; Wed, 10 Mar 2021 10:10:33 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Lorenzo Pieralisi , Bjorn Helgaas , Jonathan Corbet , Rob Herring , Arnd Bergmann , Tom Joseph , Jingoo Han , Gustavo Pimentel , Marek Vasut , Yoshihiro Shimoda , Shawn Lin , Heiko Stuebner , Nadeem Athani CC: Greg Kroah-Hartman , , , , , , , , Lokesh Vutla Subject: [PATCH v4 6/7] misc: pci_endpoint_test: Populate sriov_configure ops to configure SR-IOV device Date: Wed, 10 Mar 2021 21:39:42 +0530 Message-ID: <20210310160943.7606-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210310160943.7606-1-kishon@ti.com> References: <20210310160943.7606-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Populate sriov_configure ops with pci_sriov_configure_simple to configure SR-IOV 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 1b2868ca4f2a..c7ee34013485 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -978,6 +978,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);