Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1744754pxb; Thu, 4 Mar 2021 21:08:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5tiNUoXV7ah7XcvZeU9G0fDGUm01BAC9G/SDRhNix6AJzHm1TFrqwvIEWiIvaWjZ2XhxV X-Received: by 2002:aa7:cb05:: with SMTP id s5mr7820241edt.19.1614920915058; Thu, 04 Mar 2021 21:08:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614920915; cv=none; d=google.com; s=arc-20160816; b=X3OeuOkMx5SW95YWE47Xd930nSdidBJRaRDn74N6hiwPDFoH7Rk6eP3A2P4FFqg+DG 7eenGiPvAtPYyLIX2YKndo/NTFiqWMPmQVoX/EhtdSSjPuxzPgGg7VEAte2FaCLTjvW7 4ufz0i0E3pAfio+ksAAucVbrECfm1cBkOFmoO3tl9M2RX02zjByh+SGknbXJExHSdntX qtv/LInaM/LyAdWvq086N3UeHqygLrFCc3+0fTvxvak6Jl9Fj/udaCqB18HH4kFylvl6 j97XuSIJ/1hbNNYs7MK8P6FJZm3b0TBCl/l/M8e5syQ3VmjTMJ8kMFx2XEB46D9b51Gi dEZw== 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=pinz/DcxSsIRzW4RwTCmAaf4b32KV/V9wtRO/39GbuHGHc0a1Y2vc3VZ4Uzl+GMsJt TT6XxKDQA+HfhB92ifO9NpNm9bi7xPeL3ocvcuRo7/FtenumR4tzaQcYvFK4YbG65SKp NDROvR6nYjHHXPfBfsirOHIbsGABqf92WHdoy5A65Tca5FwCmNcsS1G7htbBPsWONDzQ xIvoxoWqm1Xa9YAw5h7s6sphbrAIqzQijRUIWj3n8rgtB+QicCjWENVpCtlGkT+dwMSG XUIyS44bPoscvVmj3td/ykmpUE593exsIirCCzCwph6A4UkMMe6dSRzim6RuFO4N5v2m 2Drg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=m9eX13b6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 n20si686406ejx.104.2021.03.04.21.08.11; Thu, 04 Mar 2021 21:08:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=m9eX13b6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S229711AbhCEFFf (ORCPT + 99 others); Fri, 5 Mar 2021 00:05:35 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:41288 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbhCEFFc (ORCPT ); Fri, 5 Mar 2021 00:05:32 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12555AcZ125563; Thu, 4 Mar 2021 23:05:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1614920710; bh=we7tEI3t7CYiYHQjHpttOgbazqYJANHRmdU5X4Zij6w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=m9eX13b6SGcVEurYXM2cyn93VxA+Ees7OxaNp2mo1dGDPGMTKw4Cu35uOdiDveKpl GGquot2ddG6QUKf/PPiUpTLHVkJlbGyLnPx77Lkh5zfb7Q4GmQSsYr//AkTnclxIxz Qu/iq5QGf0mFp73oAB+jfPy7DXScJ8naH8T9pyvo= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12555AsO128812 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Mar 2021 23:05:10 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) 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.1979.3; Thu, 4 Mar 2021 23:05:10 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 4 Mar 2021 23:05:10 -0600 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12554D9B116197; Thu, 4 Mar 2021 23:05:02 -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 v3 6/7] misc: pci_endpoint_test: Populate sriov_configure ops to configure SR-IOV device Date: Fri, 5 Mar 2021 10:34:09 +0530 Message-ID: <20210305050410.9201-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210305050410.9201-1-kishon@ti.com> References: <20210305050410.9201-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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); -- 2.17.1