Message ID | 20201112175358.2653-7-kishon@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:906:d156:0:0:0:0 with SMTP id br22csp902528ejb; Thu, 12 Nov 2020 09:55:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDjW2F9OgE6bOb1W4iDas0JlyF4pieCU9n0FYWZTFhMRNLENXn//gbcC5dN9k2i6iH5uBb X-Received: by 2002:aa7:d787:: with SMTP id s7mr971109edq.205.1605203704659; Thu, 12 Nov 2020 09:55:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605203704; cv=none; d=google.com; s=arc-20160816; b=c+AhaRIOGoyLFJvcrZOkzU43GEm+PDdJa7QTpC1GPXmUPzfEwADQBizV349Eus8U73 5ad+Zvrzss04nNuKyYomu+7tbCpewPGo8mfWQaL2Aj7IhcQnH+W4iV/A590ZpNhGwnc2 pxfRKQsSxCY2N27kjNCjyiDMQ6dDGsTnOv3MFCO9iRHL/tnCSmaoWGBWBMyLaIY9TQdr 8vuiK3+sy+/1aH/N57DQeLUyRGWLydpbuP0GB3R2DUM8EmZJML8U9DQd6fuAH+pZ858B VP8FHisWk9OJAOQJYS9n3PcWrZuJjOjNLbFJz6wJ7RCf4Td+m1IaYsRQyklv4pJ++Mw+ Fu8Q== 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=hhlQwmt4EPYQN4mQXbOT17AQNk15Oaks2dUNqKaxS9w=; b=IW3POzoT+QXdtOrFt5jgTucqO7Mar4AwtrKtJ5hWPEeMadVFm4WIxphhWX0Euv4Kiu YRfECSRDanv3dD1V/fRoPDpT/g+/YnCaXNUKi70PBp52o9PIX5gCMWAdU98NGwrqPRVV oX2SO9q5KKvB6pQWYL9f0X9ObHU9qSaaqpB5goeckwLUWNQxS2pvshxKeGef+1amDWdy dx416Sv2MGfJNR2j54gPA33p8NLOSG6zYI01XLnWdXiraMCG7cSXClQNfeqGtjSW9Ysl nh9pcY4RsWX095r/187RKEiCqQ+bNmD31mIurDUE6/fSH4BuBP6lTOX62+9NV3PVnqnd snkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WA0OhfL5; 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: <devicetree-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr8si4389348ejb.304.2020.11.12.09.55.04; Thu, 12 Nov 2020 09:55: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=WA0OhfL5; 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 S1726274AbgKLRzD (ORCPT <rfc822;patch@linaro.org> + 6 others); Thu, 12 Nov 2020 12:55:03 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:52490 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726344AbgKLRzD (ORCPT <rfc822; devicetree@vger.kernel.org>); Thu, 12 Nov 2020 12:55:03 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0ACHsiJ4055905; Thu, 12 Nov 2020 11:54:44 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1605203684; bh=hhlQwmt4EPYQN4mQXbOT17AQNk15Oaks2dUNqKaxS9w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WA0OhfL5F3FOD7sA6aICsqryltq+sqDHOiU1ziQUEtAqlWCcKipJW/Q8Ny+lvGvGK J8yM68t7VObpq9hLx2N2ysHqXnQuAuEC/h/alzNeihVbLDWjbOHcb2ihxlrco3nf0A y6RXnpxvZ24SMI3fftIsHVGI6x73Jul5ye3rS/4c= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0ACHsi7H119169 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 12 Nov 2020 11:54:44 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) 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.1979.3; Thu, 12 Nov 2020 11:54:43 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) 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 via Frontend Transport; Thu, 12 Nov 2020 11:54:43 -0600 Received: from a0393678-ssd.dal.design.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 0ACHrx9w094087; Thu, 12 Nov 2020 11:54:38 -0600 From: Kishon Vijay Abraham I <kishon@ti.com> To: Bjorn Helgaas <bhelgaas@google.com>, Rob Herring <robh+dt@kernel.org>, Kishon Vijay Abraham I <kishon@ti.com>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, Arnd Bergmann <arnd@arndb.de>, Tom Joseph <tjoseph@cadence.com>, Jingoo Han <jingoohan1@gmail.com>, Gustavo Pimentel <gustavo.pimentel@synopsys.com>, Marek Vasut <marek.vasut+renesas@gmail.com>, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>, Shawn Lin <shawn.lin@rock-chips.com>, Heiko Stuebner <heiko@sntech.de> CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, <linux-pci@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-renesas-soc@vger.kernel.org>, <linux-rockchip@lists.infradead.org>, <linux-arm-kernel@lists.infradead.org> Subject: [PATCH v2 6/6] misc: pci_endpoint_test: Populate sriov_configure ops to configure SR-IOV device Date: Thu, 12 Nov 2020 23:23:58 +0530 Message-ID: <20201112175358.2653-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201112175358.2653-1-kishon@ti.com> References: <20201112175358.2653-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: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
Series |
Add SR-IOV support in PCIe Endpoint Core
|
expand
|
diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index d4bdb937383f..29f2bb563e64 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -974,6 +974,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);
Populate sriov_configure ops with pci_sriov_configure_simple to configure SR-IOV device. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> --- drivers/misc/pci_endpoint_test.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1