Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754800AbdDFU1M (ORCPT ); Thu, 6 Apr 2017 16:27:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45126 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751180AbdDFU1D (ORCPT ); Thu, 6 Apr 2017 16:27:03 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6EACD2EF19A Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jglisse@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 6EACD2EF19A Date: Thu, 6 Apr 2017 16:27:00 -0400 From: Jerome Glisse To: Wu Hao Cc: atull@kernel.org, moritz.fischer@ettus.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, luwei.kang@intel.com, yi.z.zhang@intel.com Subject: Re: [PATCH 00/16] Intel FPGA Device Drivers Message-ID: <20170406202700.GA3674@redhat.com> References: <1490875696-15145-1-git-send-email-hao.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1490875696-15145-1-git-send-email-hao.wu@intel.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 06 Apr 2017 20:27:03 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1873 Lines: 43 On Thu, Mar 30, 2017 at 08:08:00PM +0800, Wu Hao wrote: > Hi All, > > Here is a patch-series adding drivers for Intel FPGA devices. > > The Intel FPGA driver provides interfaces for userspace applications to > configure, enumerate, open, and access FPGA accelerators on platforms > equipped with Intel(R) FPGA solutions and enables system level management > functions such as FPGA partial reconfiguration, power management and > virtualization. > > This patch series only adds the basic functions for FPGA accelerators and > partial reconfiguration. Patches for more functions, e.g power management > and virtualization, will be submitted after this series gets reviewed. > > Patch 1: add a document for Intel FPGA driver overview, including the HW > architecture, driver organization, device enumeration, virtualization and > opens. > > Patch 2: introduce a fpga-dev class. It's used in below Intel FPGA PCIe > device driver, to represent a FPGA device on the system, and all actual > feature devices should be registered as child nodes of this container > fpga-dev device. > > Patch 3-7: implement Intel FPGA PCIe device driver. It walks through the > 'Device Feature List' in the PCI Bar, creates the container fpga-dev as > parent and platform devices as children for the feature devices it found. > > Patch 8-11: implement Intel FPGA Management Engine (FME) driver. It's a > platform driver matching with the FME platform device created by above > PCIe driver. Sysfs and device file ioctls are exposed as user interfaces > to allow partial reconfiguration to Accelerated Function Units (AFUs) from > user space applications. Do we have an open source toolchain to generate the FPGA configuration (bitstream) ? As it is required for the GPU sub-system that any driver API must comes with open source userspace. Or are FPGA given a free pass ? Cheers, J?r?me