From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755044AbdC3Ua6 (ORCPT ); Thu, 30 Mar 2017 16:30:58 -0400 Received: from mail.kernel.org ([198.145.29.136]:43790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754898AbdC3Ua5 (ORCPT ); Thu, 30 Mar 2017 16:30:57 -0400 MIME-Version: 1.0 In-Reply-To: <1490875696-15145-12-git-send-email-hao.wu@intel.com> References: <1490875696-15145-1-git-send-email-hao.wu@intel.com> <1490875696-15145-12-git-send-email-hao.wu@intel.com> From: Alan Tull Date: Thu, 30 Mar 2017 15:30:11 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 11/16] fpga: intel: fme: add partial reconfiguration sub feature support To: Wu Hao Cc: Moritz Fischer , linux-fpga@vger.kernel.org, linux-kernel , luwei.kang@intel.com, yi.z.zhang@intel.com, Tim Whisonant , Enno Luebbers , Shiva Rao , Christopher Rauer , Alan Tull , Xiao Guangrong Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 30, 2017 at 7:08 AM, Wu Hao wrote: > From: Kang Luwei > > Partial Reconfiguration (PR) is the most important function for FME. It > allows reconfiguration for given Port/Accelerated Function Unit (AFU). > > This patch adds support for PR sub feature. In this patch, it registers > a fpga_mgr and implements fpga_manager_ops, and invoke fpga_mgr_buf_load > for PR operation once PR request received via ioctl. Below user space > interfaces are exposed by this sub feature. > > Sysfs interface: > * /sys/class/fpga///interface_id > Read-only. Indicate the hardware interface information. Userspace > applications need to check this interface to select correct green > bitstream format before PR. > > Ioctl interface: > * FPGA_FME_PORT_PR > Do partial reconfiguration per information from userspace, including > target port(AFU), buffer size and address info. It returns the PR status > (PR error code if failed) to userspace. > > Signed-off-by: Tim Whisonant > Signed-off-by: Enno Luebbers > Signed-off-by: Shiva Rao > Signed-off-by: Christopher Rauer > Signed-off-by: Alan Tull Hi Wu Hao, Thanks for submitting your patches. I think there's been a misunderstanding of the meaning of 'Signed-off-by' [1]. I have not signed off on this code or had a hand in its development. But I'm happy to get to review it now. It will take a bit of time; I expect to be replying next week. Alan Tull [1] linux/Documentation/process/5.Posting.rst > Signed-off-by: Kang Luwei > Signed-off-by: Xiao Guangrong > Signed-off-by: Wu Hao