From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH v2 03/22] PCI: endpoint: Introduce configfs entry for configuring EP functions To: Bjorn Helgaas , Jingoo Han , Joao Pinto References: <1487325042-28227-1-git-send-email-kishon@ti.com> <1487325042-28227-4-git-send-email-kishon@ti.com> CC: , , , , , , From: Kishon Vijay Abraham I Message-ID: <58A6E609.9070709@ti.com> Date: Fri, 17 Feb 2017 17:31:13 +0530 MIME-Version: 1.0 In-Reply-To: <1487325042-28227-4-git-send-email-kishon@ti.com> Content-Type: text/plain; charset="windows-1252" Sender: linux-kernel-owner@vger.kernel.org List-ID: Hi, On Friday 17 February 2017 03:20 PM, Kishon Vijay Abraham I wrote: > Introduce a new configfs entry to configure the EP function (like > configuring the standard configuration header entries) and to > bind the EP function with EP controller. > > Signed-off-by: Kishon Vijay Abraham I > --- > drivers/pci/endpoint/Kconfig | 14 +- > drivers/pci/endpoint/Makefile | 1 + > drivers/pci/endpoint/pci-ep-cfs.c | 427 +++++++++++++++++++++++++++++++++++++ > 3 files changed, 440 insertions(+), 2 deletions(-) > create mode 100644 drivers/pci/endpoint/pci-ep-cfs.c > > diff --git a/drivers/pci/endpoint/Kconfig b/drivers/pci/endpoint/Kconfig > index 7eb1c79..8470f0b 100644 > --- a/drivers/pci/endpoint/Kconfig > +++ b/drivers/pci/endpoint/Kconfig > @@ -6,7 +6,6 @@ menu "PCI Endpoint" > > config PCI_ENDPOINT > bool "PCI Endpoint Support" > - select CONFIGFS_FS > help > Enable this configuration option to support configurable PCI > endpoint. This should be enabled if the platform has a PCI > @@ -14,8 +13,19 @@ config PCI_ENDPOINT > > Enabling this option will build the endpoint library, which > includes endpoint controller library and endpoint function > - library. > + library. This will also enable the configfs entry required to > + configure the endpoint function and used to bind the > + function with a endpoint controller. This chunk shouldn't be added. I've missed removing this (it's added below). I'll wait to get other review comments before sending a new revision. Thanks Kishon