Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2592817imm; Thu, 16 Aug 2018 12:04:16 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzZIZ+T+EVldtnEP5lxAt8T/75IHIBnIG4ZCwIKZwvoWsuuzBMlfL0UTteqJS2zNuBAYRBO X-Received: by 2002:a17:902:7896:: with SMTP id q22-v6mr30202323pll.47.1534446256828; Thu, 16 Aug 2018 12:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534446256; cv=none; d=google.com; s=arc-20160816; b=Z+nPTAJLyrthA4VY2L+a9fYPFgIFtd+2+rtT+4pIpch+1DTkrYqgC5w4Wo3Wzt/0SQ agRNif6czPTROqtrVqwdUhp3+SMODnM0g1AaEZOCwTNdAMm9TUTojh4Tnk6iAV7myHCz JVvfuqs6JZorwM86Luh6IOedeaiHf2SaUP8sF81G+DOmpPDhFabTwWJ9PwdammOHVfPN 7YEXyZG+8bMdZn/URR3uqwknrHri09nRRyFyf5GcjgGlU/nr0tbcXnmlXoILrcyguWO+ 7yfLfKwzMcd62h+W+1YL+eh5trx/BzbAj9aETmSLPsuLsPn6PxQDTMCk3ar5zllEDv33 nXnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=djKNDuekVLyr38epOlSq3wP9TgAafepG8mJSzmhFlTs=; b=x/Ww8zoV83VPhB4m1wUUTAKnP3X8hIqr17kICNVNImNeFY7oMfnnr/tumaRJUB2w+1 NgrCZG4iIQcVTv67/Fe+00NL61zRZB0FxxZquCNGdEEAkbZw/TXYb63e/L152XC+4tD+ z3HHMc+xVcA/4TfyAPnkAi/Q67N0aGUjtY4VB0+bbLxDT7tg7CekZaAu+ZBoztDRk0vT BH7gp03s/1KyRszCdW0ALXie3GHvom8bXR/O4N7by5Ae+OZCU5tO4CgrsdK2jaR+iD8C SsrN8DVQrRiqrVkHjkWhoevhdplKddlBqS9pmJb3FqFswG2ILi3DYv4nHibCEvoLr04U wXnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o21-v6si19347pgk.337.2018.08.16.12.04.01; Thu, 16 Aug 2018 12:04:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726304AbeHPWDI (ORCPT + 99 others); Thu, 16 Aug 2018 18:03:08 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:33381 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbeHPWDH (ORCPT ); Thu, 16 Aug 2018 18:03:07 -0400 Received: by mail-pl0-f68.google.com with SMTP id b90-v6so2530445plb.0 for ; Thu, 16 Aug 2018 12:02:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=djKNDuekVLyr38epOlSq3wP9TgAafepG8mJSzmhFlTs=; b=irl71JZr4Xy6c9XCDIix1SvmsVvvYTIaRz6kbAWIwFTkyiKwCSlX4uzkkgAozFtouA 8XAWDzQ/3NUwp8M30YRFsq+xBSFs6PoNwXDFPsM5S/6LOp0UsxhGxj6ombZHXIlMpL7u FyxuUMZ60pSjmpRx+yWH8t6fRslkEZGXm3mHXtbYXnoFhkGUSqAKc1ug7kfVivez35U5 UpIi6LHrQMVsq2g62SbqYyZhO6feDZNe5QClAbeIBWowZ9X5qu1YEFKgIdDejDu3m2jm pYNSrLvVF098edwXKEnac3pKH+numpxukMZIlWRYFdxpYj7FAbibieR0LUwODnWyW5Vg DXmA== X-Gm-Message-State: AOUpUlFhjUDf5CndKRxVj2moaGsSvLJVFPnJbvZJHjfjHe8c9HXPvKEq eaoMVdRy2Be55LTjRQcNZRRNOQ== X-Received: by 2002:a17:902:b28:: with SMTP id 37-v6mr30031666plq.337.1534446174013; Thu, 16 Aug 2018 12:02:54 -0700 (PDT) Received: from localhost ([207.114.172.147]) by smtp.gmail.com with ESMTPSA id l27-v6sm41537pfi.180.2018.08.16.12.02.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Aug 2018 12:02:53 -0700 (PDT) Date: Thu, 16 Aug 2018 12:02:52 -0700 From: Moritz Fischer To: Alan Tull Cc: Moritz Fischer , Jonathan Corbet , Randy Dunlap , linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH 7/8] docs: fpga: document fpga manager flags Message-ID: <20180816190252.GB3932@archbook> References: <20180814191526.3247-1-atull@kernel.org> <20180814191526.3247-8-atull@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180814191526.3247-8-atull@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, On Tue, Aug 14, 2018 at 02:15:25PM -0500, Alan Tull wrote: > Add flags #defines to kerneldoc documentation in a > useful place. > > Signed-off-by: Alan Tull > --- > Documentation/driver-api/fpga/fpga-mgr.rst | 5 +++++ > include/linux/fpga/fpga-mgr.h | 18 ++++++++++++------ > 2 files changed, 17 insertions(+), 6 deletions(-) > > diff --git a/Documentation/driver-api/fpga/fpga-mgr.rst b/Documentation/driver-api/fpga/fpga-mgr.rst > index 431556d..db8885e 100644 > --- a/Documentation/driver-api/fpga/fpga-mgr.rst > +++ b/Documentation/driver-api/fpga/fpga-mgr.rst > @@ -183,6 +183,11 @@ API for implementing a new FPGA Manager driver > API for programming an FPGA > --------------------------- > > +FPGA Manager flags > + > +.. kernel-doc:: include/linux/fpga/fpga-mgr.h > + :doc: FPGA Manager flags > + > .. kernel-doc:: include/linux/fpga/fpga-mgr.h > :functions: fpga_image_info > > diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h > index 1ca02ce..777c502 100644 > --- a/include/linux/fpga/fpga-mgr.h > +++ b/include/linux/fpga/fpga-mgr.h > @@ -53,12 +53,18 @@ enum fpga_mgr_states { > FPGA_MGR_STATE_OPERATING, > }; > > -/* > - * FPGA Manager flags > - * FPGA_MGR_PARTIAL_RECONFIG: do partial reconfiguration if supported > - * FPGA_MGR_EXTERNAL_CONFIG: FPGA has been configured prior to Linux booting > - * FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first We are actually missing the ENCRYPTED flag here, can you add that while we're at it? I must've forgotten to add that back then ... derp. > - * FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed > +/** > + * DOC: FPGA Manager flags > + * > + * Flags used in the &fpga_image_info->flags field > + * > + * %FPGA_MGR_PARTIAL_RECONFIG: do partial reconfiguration if supported > + * > + * %FPGA_MGR_EXTERNAL_CONFIG: FPGA has been configured prior to Linux booting > + * > + * %FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first > + * > + * %FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed > */ > #define FPGA_MGR_PARTIAL_RECONFIG BIT(0) > #define FPGA_MGR_EXTERNAL_CONFIG BIT(1) > -- > 2.7.4 > Thanks, Moritz