Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2427726pxj; Mon, 17 May 2021 01:00:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGpnBovGDgIJ/L8wixEEvYaG27Dp/WmogC63WyQcZJwVln/tA1+RW43q/4CyabUy6PIaVC X-Received: by 2002:a17:906:2596:: with SMTP id m22mr62173029ejb.175.1621238442690; Mon, 17 May 2021 01:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621238442; cv=none; d=google.com; s=arc-20160816; b=y2FlY5ZaP5uwUQZjFVHE5K3DFBcyRc+lrBQGY8HF/qlPs4+KKstOMPAY5VahxWvT8w tVEr8Wz5gB0qtyackyfu4mLyGvN7jeabYFM7QyD2BgiH4i/2dILPHuH/ZAJ9X/ogjEm/ HYXjG68eYdVOCHRm+mZbwmGJM/amvuRV4kyAKtmDzPE2TP7q2/8xz18JP7UoYojvE2v3 3P6StY4lDQZOlEBg+m8DeUlhkuhNfoQkT8CA49Qyu+wiAn8h7UeWWBDwljMlzduM0YyX XDS5ASF90w4Gp3CPjRahfSP1o60fsOd4Sjvw8qLfAkTJgxsZ7vi50ZOUMXIBCgGFax8K 8VQA== 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=iehak13SuIRIOG+3MzlC1VwDrF8eouXbw0t6LnE/V0yiVr23Sz+3xyY0V83YFKPw0r LS2Y+QucaMdNz2PKn93mBhCZq4/XDbJ2lx7lbV8GagRXEHqHIZv3IfwawWLNozQloxkf LqHXULyNvg4358DtpD1ApRv1ZoCcCCO9bSRVhiNcllDCnNRVRdRlFiVcU2zY3bsxISdt NabP3oqYOQOK+rrXPxIuSAnxjJDHxzAId3jyueq6UzcxdJ84XubWhlr7TkE//3hNQu2f 4T08aIjfiSEbhcE2BG8iLMBN8G/NI9pexs2+n6/rbgmluwev1AdugGytqv7L+b/xbkwg aZ7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=l4TKFOy+; 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 q29si11595414edb.218.2021.05.17.01.00.19; Mon, 17 May 2021 01:00:42 -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=l4TKFOy+; 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 S235471AbhEQHuO (ORCPT + 99 others); Mon, 17 May 2021 03:50:14 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:46936 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235488AbhEQHuF (ORCPT ); Mon, 17 May 2021 03:50:05 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14H7mTsT074318; Mon, 17 May 2021 02:48:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1621237709; bh=we7tEI3t7CYiYHQjHpttOgbazqYJANHRmdU5X4Zij6w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=l4TKFOy+HpgfQpYdC5tgPmH93jQ9EWNZmgbBKRj5w6kzM3Ch1/Sikw8ua51e2q/MO HOG6DX7IRlTUiWX8XLDKEa2y9ffvYBNhuDPVuQxi3bx/syEmDDryMdRN40Eg0qQLnR k5BK58ME4VJn7WugxBsnXIpQM+wuzNPdeU1y9WFc= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14H7mTBH127008 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 17 May 2021 02:48:29 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 17 May 2021 02:48:28 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE113.ent.ti.com (10.64.6.34) 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; Mon, 17 May 2021 02:48:29 -0500 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 14H7lOcj007607; Mon, 17 May 2021 02:48:21 -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 , , , , , , , , Kishon Vijay Abraham I , Lokesh Vutla Subject: [PATCH v6 6/7] misc: pci_endpoint_test: Populate sriov_configure ops to configure SR-IOV device Date: Mon, 17 May 2021 13:17:22 +0530 Message-ID: <20210517074723.10212-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210517074723.10212-1-kishon@ti.com> References: <20210517074723.10212-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