From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Tull Subject: Re: [PATCH v6 07/29] fpga: dfl: add chardev support for feature devices Date: Tue, 12 Jun 2018 10:55:00 -0500 Message-ID: References: <1528798243-2029-1-git-send-email-hao.wu@intel.com> <1528798243-2029-8-git-send-email-hao.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <1528798243-2029-8-git-send-email-hao.wu@intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Wu Hao 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: linux-api@vger.kernel.org On Tue, Jun 12, 2018 at 5:10 AM, Wu Hao wrote: > For feature devices drivers, both the FPGA Management Engine (FME) and > Accelerated Function Unit (AFU) driver need to expose user interfaces via > the device file, for example, mmap and ioctls. > > This patch adds chardev support in the dfl driver for feature devices, > FME and AFU. It reserves the chardev regions for FME and AFU, and provide > interfaces for FME and AFU driver to register their device file operations. > > Signed-off-by: Tim Whisonant > Signed-off-by: Enno Luebbers > Signed-off-by: Shiva Rao > Signed-off-by: Christopher Rauer > Signed-off-by: Zhang Yi > Signed-off-by: Xiao Guangrong > Signed-off-by: Wu Hao Acked-by: Alan Tull > --- > v2: rebased > v3: move chardev support to fpga-dfl framework > v4: rebase, and add more comments in code. > v5: rebase, and add dfl_ prefix to APIs and data structures. > v6: add index in dfl_devs to link to dfl_chrdevs. > improve naming on APIs.