From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Thu, 1 Feb 2018 13:11:07 +0800 From: Wu Hao Subject: Re: [PATCH v3 12/21] fpga: dfl: fme: add FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support Message-ID: <20180201051107.GB10273@hao-dev> References: <1511764948-20972-1-git-send-email-hao.wu@intel.com> <1511764948-20972-13-git-send-email-hao.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Alan Tull Cc: Moritz Fischer , linux-fpga@vger.kernel.org, linux-kernel , linux-api@vger.kernel.org, "Kang, Luwei" , "Zhang, Yi Z" , Tim Whisonant , Enno Luebbers , Shiva Rao , Christopher Rauer , Xiao Guangrong List-ID: On Wed, Jan 31, 2018 at 09:31:59AM -0600, Alan Tull wrote: > On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: > > Hi Hao, > > One fix again, otherwise please add my ack to subsequent versions. Sure. Thanks for the review. > > > FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common ones which > > need to be supported by all feature devices drivers including FME and AFU. > > Userspace application can use these ioctl interfaces to get the API info > > and check if specific extension is supported or not in current driver. > > > > This patch implements above 2 ioctls in FPGA Management Engine (FME) > > driver. > > > > Signed-off-by: Tim Whisonant > > Signed-off-by: Enno Luebbers > > Signed-off-by: Shiva Rao > > Signed-off-by: Christopher Rauer > > Signed-off-by: Xiao Guangrong > > Signed-off-by: Wu Hao > > Acked-by: Alan Tull > > > diff --git a/include/uapi/linux/fpga-dfl.h b/include/uapi/linux/fpga-dfl.h > > new file mode 100644 > > index 0000000..b46d124 > > --- /dev/null > > +++ b/include/uapi/linux/fpga-dfl.h > > @@ -0,0 +1,50 @@ > > +/* > > + * Header File for FPGA DFL User API > > + * > > + * Copyright (C) 2017 Intel Corporation, Inc. > > + * > > + * Authors: > > + * Kang Luwei > > + * Zhang Yi > > + * Wu Hao > > + * Xiao Guangrong > > + * > > + * This work is licensed under the terms of the GNU GPL version 2. > > Please remove above line. My understanding is that we are supposed to > not combine SPDX with other license statements. > > > + * SPDX-License-Identifier: GPL-2.0 > > + */ > > // SPDX-License-Identifier: GPL-2.0 > > As first line of file. Sure, I will fix this in the next version. Thanks Hao > > Thanks, > Alan