Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2160923pxy; Mon, 2 Aug 2021 22:07:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIxs9YxlBtagHREnIzBLtI1B8SVaj8LASWQDQOI1XcMoJZjGrUHuvA541D/3XtnhR3/9/k X-Received: by 2002:a6b:4f16:: with SMTP id d22mr117146iob.15.1627967225615; Mon, 02 Aug 2021 22:07:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627967225; cv=none; d=google.com; s=arc-20160816; b=C19USuyGJpmOUQQQxbYzjVIhxJy3nfq5wttaEwy6g0gZ/1wWK7W62xEfDIM8UIlhyr v834JEOXeZvN+BNEiO5foIUcTvTQfiNnd5HCwqDl8jhKsJ2sTK4FfrJXjuuetJzSHniz yZn9VlClDarAzlPNn7DaSDFihED5LmEBQmpT31YofSRQM44XDdzPBru39wz+0tCVbkUA 0iIs6WzB4kwfEqjEvtnDyBg66PpCAIgt8zTTwvT5rFVghGIfTJRA092Lse2XpYOcNLQ4 JdmZO/2q/USbmUEAlnJgp59H2ySXg/OIWGtlBlzrUjbUX0LunacbUxNeL98CZTa+4hQZ 7QmA== 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=D0xpDyAAOw5af0PXfJsRz5+bzeEk6GRUJOoSTvzii2gbDVQRNbM5dnCnmJpnOAoDjw loVcCPqyroIzZShXQRHV1/bqP5idD85k5QwSpsfqAveWr4/yNgKRmIc1CcRsTZUKI8ml g+/rm7VNKDG26LM17J14yV88+dsqaR5UFN66KNEUQ9jKuPyYhmS7HMU/ofVMGMZWTBLR kJsoiK/uu4jpgiVHwGrHDTr2iqUpGZ161kedGdyQG70BHB6aWWdMG06vxnRX10adQYXj IkGpwf/nOZvzQ6ky3yJ2PvKCVUX77poJ57CvEYYPmdB8LuMl3GgYoz6Z/wv1j7uRU8zf cI8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FdwoYAM9; 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 g4si9117656jaj.83.2021.08.02.22.06.54; Mon, 02 Aug 2021 22:07:05 -0700 (PDT) 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=FdwoYAM9; 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 S234058AbhHCFFC (ORCPT + 99 others); Tue, 3 Aug 2021 01:05:02 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:42528 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233710AbhHCFFB (ORCPT ); Tue, 3 Aug 2021 01:05:01 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 17354T43073035; Tue, 3 Aug 2021 00:04:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1627967069; bh=we7tEI3t7CYiYHQjHpttOgbazqYJANHRmdU5X4Zij6w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FdwoYAM9Q1pt7oNQ5/0vXGyK92MjBIEEMJ6MN37z1k4ubw4JHQ5ewY87Rjfsso70g ZuIPmCtO5Kke//ukGS9MpS7/fw2KOy/1SYFT6Nw2hOquuctncSrFqeCwZiWsg5tmB5 zJCZDEVStEchInCqo0X8dQjOg3rzR63dIJceydQc= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 17354Twp007193 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 3 Aug 2021 00:04:29 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) 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.2176.2; Tue, 3 Aug 2021 00:04:28 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE108.ent.ti.com (157.170.170.38) 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; Tue, 3 Aug 2021 00:04:28 -0500 Received: from a0393678-ssd.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 17353BeW090231; Tue, 3 Aug 2021 00:04:15 -0500 From: Kishon Vijay Abraham I To: Lorenzo Pieralisi , Bjorn Helgaas , Rob Herring , Tom Joseph , Jingoo Han , Gustavo Pimentel , Marek Vasut , Yoshihiro Shimoda , Shawn Lin , Heiko Stuebner CC: Jonathan Corbet , Arnd Bergmann , Greg Kroah-Hartman , , , , , , , , , Lokesh Vutla Subject: [PATCH v7 6/7] misc: pci_endpoint_test: Populate sriov_configure ops to configure SR-IOV device Date: Tue, 3 Aug 2021 10:33:09 +0530 Message-ID: <20210803050310.27122-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210803050310.27122-1-kishon@ti.com> References: <20210803050310.27122-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