Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp94215imm; Tue, 14 Aug 2018 14:45:59 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwO6ZMFPgitsv0z+RYVOsWYXa75UC23At6+JgFC8jIBnivVRaiD3mB7AvB1V3eR8FY1xcni X-Received: by 2002:a62:2e02:: with SMTP id u2-v6mr25044588pfu.134.1534283159330; Tue, 14 Aug 2018 14:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534283159; cv=none; d=google.com; s=arc-20160816; b=b5TJA0P1mfUB3XsJ5pFyFNt77KaqkxR5ay3f8gFQdPDKFKq+4Vv2JdHDnpoHrfo8B2 Ot9m+GmyI0Oc0U1aEoaGsgsdO/i1Uf3d/pQzunkRAxglQ+644chUlyO2yCfzIqFfEMBm NysGu2KmZAyxQHyItAelclIOJUmpVcbxcoaCE1bKVqbFm9O3HrBUZNaC47tiq0rlQ+3d YMqnIVBWNk8UfGPFEoDSLSiaj1jclYACm2/LCCEmAn34h1ixRmlgoxYJkENgj7zknwAa ZJPdENie5PjBCxBJYLHiRnA0SdwpKN7Oe2laE/wtDbv8B3/7f8Se8ofCGkwvgfm2MGga kWsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc :reply-to:to:from:dkim-signature:arc-authentication-results; bh=i1z+/VGxWydgSTIEPlWtxiZFvG8F5uopX5ArkMpeiII=; b=FccLka3qFFHsfhxN8Va7h8v1uk2DvqfkNHBc2oc9wTS6ajC4TIRcIJiexdB5E2bdFd WRzQYZD6+ZI2U18uF9ap6YiUXTwnzowyVu9MDzaq79jLV2f2r0Fp3IvLI+lUbYy7+PNd UJfqMJKRmKPNi8r/bJ3G2kvK+/Tuh46X7tsz/+wHLaQMr5yVhVTAfzcPNh4XeklkyYGi +/ei7qLzQnhYpynJifSFsdPOsOUGk+N+KQ10jCANV1eZJxchaLk2cmJEBBJFjBEyBZdD Ry35Ha4KywhNzJV+rznt77yXZi5dSDLcm9bF9bty1ysuIG6ae2E2Q6QpzY5mhg+zMGko 3IQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cern.onmicrosoft.com header.s=selector1-cern-ch header.b=LbsP74Hk; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h16-v6si20486022pgb.39.2018.08.14.14.45.44; Tue, 14 Aug 2018 14:45:59 -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; dkim=pass header.i=@cern.onmicrosoft.com header.s=selector1-cern-ch header.b=LbsP74Hk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730050AbeHOAeE (ORCPT + 99 others); Tue, 14 Aug 2018 20:34:04 -0400 Received: from mail-eopbgr80080.outbound.protection.outlook.com ([40.107.8.80]:65096 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727776AbeHOAeD (ORCPT ); Tue, 14 Aug 2018 20:34:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cern.onmicrosoft.com; s=selector1-cern-ch; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i1z+/VGxWydgSTIEPlWtxiZFvG8F5uopX5ArkMpeiII=; b=LbsP74HkPNgOk8QmwyTSpN93fVDgXX0trFyj2yitPPtqmggfJk1hZwSR/eb/WLyIhRGg7EllHH83QVEA6zRBLlZNl+0WaWwOqfZtr7Zo/5bRDxT3EHpKuDziCYG5J02Uwzu4tO2U9VMjghxYyKy+/uqN7YURERTbKkHo6XSwHV0= Received: from AM5PR06CA0004.eurprd06.prod.outlook.com (2603:10a6:206:2::17) by AM5PR0602MB3236.eurprd06.prod.outlook.com (2603:10a6:206:7::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.20; Tue, 14 Aug 2018 21:44:49 +0000 Received: from HE1EUR02FT012.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e05::201) by AM5PR06CA0004.outlook.office365.com (2603:10a6:206:2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1038.19 via Frontend Transport; Tue, 14 Aug 2018 21:44:49 +0000 Authentication-Results: spf=pass (sender IP is 188.184.36.50) smtp.mailfrom=cern.ch; kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=bestguesspass action=none header.from=cern.ch; Received-SPF: Pass (protection.outlook.com: domain of cern.ch designates 188.184.36.50 as permitted sender) receiver=protection.outlook.com; client-ip=188.184.36.50; helo=cernmxgwlb4.cern.ch; Received: from cernmxgwlb4.cern.ch (188.184.36.50) by HE1EUR02FT012.mail.protection.outlook.com (10.152.10.75) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256) id 15.20.1059.14 via Frontend Transport; Tue, 14 Aug 2018 21:44:47 +0000 Received: from cernfe05.cern.ch (188.184.36.45) by cernmxgwlb4.cern.ch (188.184.36.50) with Microsoft SMTP Server (TLS) id 14.3.399.0; Tue, 14 Aug 2018 23:44:43 +0200 Received: from harkonnen.localnet (178.196.40.127) by smtp.cern.ch (188.184.36.52) with Microsoft SMTP Server (TLS) id 14.3.399.0; Tue, 14 Aug 2018 23:44:43 +0200 From: Federico Vaga To: Alan Tull Reply-To: Federico Vaga CC: Moritz Fischer , Jonathan Corbet , "Randy Dunlap" , , , Subject: Re: [PATCH 0/8] fpga: Add managed create in FPGA API Date: Tue, 14 Aug 2018 23:44:44 +0200 Message-ID: <3975392.G1LtsYJEZq@harkonnen> Organization: CERN In-Reply-To: <20180814191526.3247-1-atull@kernel.org> References: <20180814191526.3247-1-atull@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [178.196.40.127] X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:188.184.36.50;IPV:NLI;CTRY:CH;EFV:NLI;SFV:NSPM;SFS:(10009020)(346002)(376002)(39860400002)(136003)(396003)(2980300002)(438002)(199004)(189003)(966005)(86362001)(33716001)(50466002)(106466001)(478600001)(97756001)(6306002)(356003)(7636002)(7736002)(8676002)(305945005)(246002)(229853002)(9686003)(5660300001)(4326008)(8936002)(6916009)(230700001)(3846002)(9576002)(6246003)(23726003)(36916002)(106002)(14444005)(16526019)(186003)(6116002)(26005)(74482002)(44832011)(2906002)(486006)(53546011)(66066001)(446003)(11346002)(476003)(47776003)(316002)(426003)(336012)(126002)(3450700001)(956004)(33896004)(54906003)(43066004)(786003)(76176011)(46406003)(39026011);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR0602MB3236;H:cernmxgwlb4.cern.ch;FPR:;SPF:Pass;LANG:en;PTR:cernmx11.cern.ch;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3fe354ad-b0ab-4602-aeed-08d6022f2868 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060)(7193020);SRVR:AM5PR0602MB3236; X-MS-TrafficTypeDiagnostic: AM5PR0602MB3236: X-Microsoft-Exchange-Diagnostics: 1;AM5PR0602MB3236;20:ehbKyvUZQLAM+cpyyUhlHk5aIOjLl3DHXX8JNtuX9b3nN0Ken+q1QkndbnQHChaNXkk1i2MEMJcYPBg+LuLDXndoUYgEp04Ki/WDAZlX30ytpD4wxvr3y1gWoYUXnamll0RxDd/yhgFY9L3CLTe5wLjGmwVpPuim+jivXO0nmgIKjPrez8eNXw83z2CNxWJ532aeH4Q1nQccXMatLPCCqv+qxSA8IO969mZe9JCxJk9dCSQbLonux3JZ2J8OCjivnW0sMbca2PHi9q5prF480b3oskk3zR8MnrTAcPjZqOv1yXsJcw+1WUKrn+DPCOUdGzzvHHrztzylGguWTjqhUAV9uRftauAf6f5q1R8m8jqC+hSN+LK3Uv7dXs3aYgIupCmOoJVH0b7S8EkgqXMcIN3E53GbNLR0SCBtAfE9elirO7cu/Z6ALA1Q0RwXKHrYPnGD9kz3Lgnob458hn9E48TgQIl0f4m7UrWGbDie+ChOjozZd4TDlwhIcOL0tSdR;4:eHXS6XHLtMS/j+HgAmm22epENIV26p+1//2eEHDV+Nq6XxTddy4BFt1ITijsRtqFap9kOZDA07TuzBT2lZubxZEpsZlEkhUGDCBklNGr3f1rRfyHbz2lv0LYpwXex5Z+VRcYoRwSTZONyf2JhJhC+YULZJD5OpPHGvzUZSiuuIoiC26O8jW20paHaI+9aeHv0PuSuY7ciWoOjI/3m7sOnRwHC8mQveV48kQbevpRnDIwXPobme4m7LF/hoq9xaUJ7xfFINPPPq9L6GK+ekAFZw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93004095)(10201501046)(3231311)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:AM5PR0602MB3236;BCL:0;PCL:0;RULEID:;SRVR:AM5PR0602MB3236; X-Forefront-PRVS: 0764C4A8CD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM5PR0602MB3236;23:4VWUKbKwTcDThnAQ2jabhDScZO//UvBq/BsgG46?= =?us-ascii?Q?n1UTH+iaSKo2kV1Seteh+1+/FsNA0YU/cfuw4Kmmj7X0M02/OUmyHfVW1FfG?= =?us-ascii?Q?0lq0aSw9znnvYAC0eldFtXOv7hFiHnIyJduA3Vnpf+o+9FwaPJDYv1Wti5OB?= =?us-ascii?Q?ISw1Ukf42EMYFvgGEEwtDGY+lFVHRbqNJE9ITtLAB2bHehe8L2P+4HjlhwXE?= =?us-ascii?Q?uj6rgYBh/jnFWj8v9yWHnbMXrJ2QlPgkER+Qfi8czvbIKc/PcgaBcOli3HWs?= =?us-ascii?Q?8SMdIheJwDiVJ3/EPx+L6zPxJ1FgHyCDR6M6oOGWrxsmypNsWLTafmG7X/t2?= =?us-ascii?Q?E0VMuc8W88zpUnRnvfoDUiBAPOMZo+unKS9b/NjrGnrE6Q0L9R7KtNjYRTFf?= =?us-ascii?Q?Vu6i2DIPOZJ4L2P2EbeiCYnpc7OItlkOdG9Fybsqn7XyWpAvy3Y/dj91jG+O?= =?us-ascii?Q?LnhXOaA5wsw2V/9dlN23CNip4bEDBPgYCodPiebEQA9qSbpDkPIvFLDP+akU?= =?us-ascii?Q?asPv2E542RH9PUHQoV6CEP9RBl1F9tvUO2VTJ676c0de32gbH0ALu/cZH87N?= =?us-ascii?Q?SK1dy/Jj2Pt3LMm5hQ5s3gLsilZv/VJxv03UeoKbId4X3rfpZrF9qjNDc69M?= =?us-ascii?Q?bcD9rLuCGcT17WutBzUeJ5ZPWuaFUgcToZKkTtJDkh8tbUHfQObl0fmB6qpX?= =?us-ascii?Q?NgKFy6ewkT3pT4DgFQxiGPkHu10ILeeKb07x1TgQ5aD0b7TK2yag/2+MO/iW?= =?us-ascii?Q?Kjw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-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2018 21:44:47.8546 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3fe354ad-b0ab-4602-aeed-08d6022f2868 X-MS-Exchange-CrossTenant-Id: c80d3499-4a40-4a8c-986e-abce017d6b19 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c80d3499-4a40-4a8c-986e-abce017d6b19;Ip=[188.184.36.50];Helo=[cernmxgwlb4.cern.ch] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0602MB3236 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, I think you forgot to add: Suggested-by: Federico Vaga on patches 2,3,4 which were suggested here https://lkml.org/lkml/2018/7/26/145 and patch 8 here: https://lkml.org/lkml/2018/7/18/959 On Tuesday, August 14, 2018 9:15:18 PM CEST Alan Tull wrote: > Fix one functional FPGA bug. > > Implement managed devm_fpga_(mgr|bridge|region)_create() functions. > > More documentation cleanup to make the documentation more helpful > and to emphasize the use of FPGA regions for FPGA programming. > > Fix a few minor documentation corrections. > > Alan Tull (8): > fpga: do not access region struct after fpga_region_unregister > fpga: mgr: add devm_fpga_mgr_create > fpga: bridge: add devm_fpga_bridge_create > fpga: add devm_fpga_region_create > dt-bindings: fpga: fix freeze controller compatible in region doc > fpga: bridge: fix obvious function documentation error > docs: fpga: document fpga manager flags > docs: fpga: document programming fpgas using regions > > .../devicetree/bindings/fpga/fpga-region.txt | 4 +- > Documentation/driver-api/fpga/fpga-bridge.rst | 37 ++----- > Documentation/driver-api/fpga/fpga-mgr.rst | 121 > +++------------------ Documentation/driver-api/fpga/fpga-programming.rst > | 103 ++++++++++++++++++ Documentation/driver-api/fpga/fpga-region.rst > | 91 ++++++++-------- Documentation/driver-api/fpga/index.rst > | 2 + > drivers/fpga/altera-cvp.c | 8 +- > drivers/fpga/altera-fpga2sdram.c | 8 +- > drivers/fpga/altera-freeze-bridge.c | 13 +-- > drivers/fpga/altera-hps2fpga.c | 7 +- > drivers/fpga/altera-pr-ip-core.c | 9 +- > drivers/fpga/altera-ps-spi.c | 11 +- > drivers/fpga/dfl-fme-br.c | 11 +- > drivers/fpga/dfl-fme-mgr.c | 11 +- > drivers/fpga/dfl-fme-region.c | 10 +- > drivers/fpga/dfl.c | 6 +- > drivers/fpga/fpga-bridge.c | 74 +++++++++++-- > drivers/fpga/fpga-mgr.c | 67 ++++++++++-- > drivers/fpga/fpga-region.c | 68 ++++++++++-- > drivers/fpga/ice40-spi.c | 10 +- > drivers/fpga/machxo2-spi.c | 11 +- > drivers/fpga/of-fpga-region.c | 9 +- > drivers/fpga/socfpga-a10.c | 5 +- > drivers/fpga/socfpga.c | 10 +- > drivers/fpga/ts73xx-fpga.c | 11 +- > drivers/fpga/xilinx-pr-decoupler.c | 4 +- > drivers/fpga/xilinx-spi.c | 12 +- > drivers/fpga/zynq-fpga.c | 5 +- > include/linux/fpga/fpga-bridge.h | 4 + > include/linux/fpga/fpga-mgr.h | 22 +++- > include/linux/fpga/fpga-region.h | 4 + > 31 files changed, 437 insertions(+), 331 deletions(-) > create mode 100644 Documentation/driver-api/fpga/fpga-programming.rst -- Federico Vaga [BE-CO-HT]