Message ID | 20210305050410.9201-7-kishon@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp120068jai; Thu, 4 Mar 2021 21:05:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWDSkpbQNF16uWF6Rkbrq1Vg/kiRZjasDcOgjucYzH9tub57JNiGdSeu/5y9YC+Vr8r3d4 X-Received: by 2002:aa7:d588:: with SMTP id r8mr7563593edq.88.1614920737212; Thu, 04 Mar 2021 21:05:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614920737; cv=none; d=google.com; s=arc-20160816; b=Um6rVhpO4Z4IL3CXQUuYUdRmm+2OHkK/1XI8Z/rnTEVPXq0sDYOPZd/g4uWDX7pvDt NqpS0hoF/lCZi3CSOfFYm4fJemFyvbJ249AIcxPkZoiy1+Mw2ijwQzi5C3nKRZ4lSSac biCqbCVgp4094O5NjF+KCxPwkoqNhUxUdAc0dXOxWxO/6MEUwjR1blzdE0bO+kPcWCJ8 NnMTejaRf50XAP9XW3mOB/dlEdpISHgGtwi7hqsvHNTqC5kP9h7SlbRH+MMb60Jn0piw zGe9ReQ7AdOZof3k3cYqaMqQqjI/NqKxLpOF0irhg2WsuZre0Hurhqot38ojKvARVDvn lSeg== 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=X8WFM9KHyfj2LCU0krkLSVVvX3/JxKcy5fPpkfilxZZZFR/Qi6CNyaMSYOxN6xSCpo fM6bHhjgGPQttuU4hdnZadQ2FVUhodjofpOEUg+RCkvvS9UkiYf1ZVaJ6/SBEisLDIOb PNYoTieCZe74QqP0cuLpi3GB07qRi7cvmdcxUtov+obcyg+dycywOnhcdNDLIuioweyp DX7jSgOxwsJf1wXp+yzLk4yjMHdln5rhgPCmfXBsmbIlVqi8dQREYOdjFDwdsR2CbeiV 8JtXhzMx3kbpFFC4kMSWR2DNnLlx+dNflRASqGB27ScDQgyNhL3oaF/WWlzlZd3oMH36 9gRg== 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 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 s17si913034edd.576.2021.03.04.21.05.37; Thu, 04 Mar 2021 21:05:37 -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=m9eX13b6; 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 S229560AbhCEFFf (ORCPT <rfc822;semen.protsenko@linaro.org> + 6 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 <rfc822; devicetree@vger.kernel.org>); 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 <kishon@ti.com> To: Kishon Vijay Abraham I <kishon@ti.com>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, Bjorn Helgaas <bhelgaas@google.com>, Jonathan Corbet <corbet@lwn.net>, Rob Herring <robh+dt@kernel.org>, 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>, Nadeem Athani <nadeem@cadence.com> CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, <linux-pci@vger.kernel.org>, <linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-renesas-soc@vger.kernel.org>, <linux-rockchip@lists.infradead.org>, Lokesh Vutla <lokeshvutla@ti.com> 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: <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 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);
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