From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752630AbdLDU05 (ORCPT ); Mon, 4 Dec 2017 15:26:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:52958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752034AbdLDU04 (ORCPT ); Mon, 4 Dec 2017 15:26:56 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 37CF4217C1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=atull@kernel.org X-Google-Smtp-Source: AGs4zMYihknqDtPvf4pe6ssL5+wvzUzaZo4fOA1rgKfbzYTwZ7iUdfFqihBDwbxYMCS3/beppOPjOCpSxSMi0cH3e7U= MIME-Version: 1.0 In-Reply-To: <20171129061107.w62q5tk5dplq2zmr@us-aus-ras-130-164-29-6.amer.corp.natinst.com> References: <1511764948-20972-1-git-send-email-hao.wu@intel.com> <1511764948-20972-3-git-send-email-hao.wu@intel.com> <20171129061107.w62q5tk5dplq2zmr@us-aus-ras-130-164-29-6.amer.corp.natinst.com> From: Alan Tull Date: Mon, 4 Dec 2017 14:26:14 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 02/21] fpga: mgr: add region_id to fpga_image_info To: Moritz Fischer Cc: Wu Hao , linux-fpga@vger.kernel.org, linux-kernel , linux-api@vger.kernel.org, "Kang, Luwei" , "Zhang, Yi Z" 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 Wed, Nov 29, 2017 at 12:11 AM, Moritz Fischer wrote: > Hi Hao, > > On Mon, Nov 27, 2017 at 02:42:09PM +0800, Wu Hao wrote: >> This patch adds region_id to fpga_image_info data structure, it >> allows driver to pass region id information to fpga-mgr via >> fpga_image_info for fpga reconfiguration function. >> >> Signed-off-by: Wu Hao > Acked-by: Moritz Fischer Acked-by: Alan Tull >> ---- >> v3: add one line comment for region_id >> --- >> include/linux/fpga/fpga-mgr.h | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h >> index 1ad4822..6e98b66 100644 >> --- a/include/linux/fpga/fpga-mgr.h >> +++ b/include/linux/fpga/fpga-mgr.h >> @@ -88,6 +88,7 @@ enum fpga_mgr_states { >> * @sgt: scatter/gather table containing FPGA image >> * @buf: contiguous buffer containing FPGA image >> * @count: size of buf >> + * @region_id: id of target region >> * @dev: device that owns this >> * @overlay: Device Tree overlay >> */ >> @@ -100,6 +101,7 @@ struct fpga_image_info { >> struct sg_table *sgt; >> const char *buf; >> size_t count; >> + int region_id; >> struct device *dev; >> #ifdef CONFIG_OF >> struct device_node *overlay; >> -- >> 1.8.3.1 >> > > Moritz