Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2283475ybl; Sun, 18 Aug 2019 22:50:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLWQrKbd4B3L6zUMinQs763rfS8BGm3yMKzLpdsvt68VXuzZN0tcaxk2N8VVGrmXblVU0Q X-Received: by 2002:a17:902:ff05:: with SMTP id f5mr20161316plj.116.1566193814499; Sun, 18 Aug 2019 22:50:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566193814; cv=none; d=google.com; s=arc-20160816; b=WwwRlapObNN17Hijx1en8ym/7ubXS4H6kvany9EAT9B8FPtLAUz39hTxIkiU5BL/T0 BHQ2CukWPxfWYrb/nYr2BIPUR6odoXxmfRci+DDlc/ieQYiXrw85dSjjw9AQawsVKAdS XXlJ9YEjuuNGNb0obY+0Fmr7pNO7qEf9zWashH8GlB8FdWzy++PdOPXgNrGhm1WIM1js OQGZFZt5dPHsfTAcqQF25xZPoD7A+rI5Yc/G2DriWuIlLBBXaigFok1trigYFrn4Ji3u kKipBvNvsrza83QmS9yUdpFGvP28tAQC1gk4oTxCAPNj28J85AoSYIFRevQzblVykUQb PvhQ== 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; bh=B7+ShEoz1ScECPiwB4GoPKfSE9Yo/3xjtmYMsy4q8GE=; b=dffvE7lwUBpOh8/iT/3QUiu0QeZ9UGPeeMM+XTibeVlYwFY7c2iGINUILAqoRhg959 tzwKNBs2KIvpw4N3mLj5u6UhEIj+1zr2cxHMXG4SFjXakztkwSBvuGd0hRZlM3tb7v1a 8uusSV9a+Mc/22CINcSbp2mP3mspn4iHpiFxkaI+9WZfsIo46R6/JLmExy/4j2dhUv63 6ZvKBaQSX9lirWxF2OdNlaDQLX/jejQWtW2d8sJ47tRdxGuOjtNEL6ytAs98nxBQWU3H tzWA28ojlELEt3rMx2PmoiwFhdeAi5zIs92ZdrKxpf7hNWa6I3F2lxwpZWcdzQ96dsIa Ng8w== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v37si9174543pga.219.2019.08.18.22.49.59; Sun, 18 Aug 2019 22:50:14 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726642AbfHSFsx (ORCPT + 99 others); Mon, 19 Aug 2019 01:48:53 -0400 Received: from mga17.intel.com ([192.55.52.151]:30107 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725536AbfHSFsx (ORCPT ); Mon, 19 Aug 2019 01:48:53 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Aug 2019 22:48:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,403,1559545200"; d="scan'208";a="206898449" Received: from hao-dev.bj.intel.com (HELO localhost) ([10.238.157.65]) by fmsmga002.fm.intel.com with ESMTP; 18 Aug 2019 22:48:51 -0700 Date: Mon, 19 Aug 2019 13:31:33 +0800 From: Wu Hao To: gregkh@linuxfoundation.org, mdf@kernel.org, linux-fpga@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-doc@vger.kernel.org, atull@kernel.org Subject: Re: [PATCH v5 0/9] FPGA DFL updates Message-ID: <20190819053133.GA31244@hao-dev> References: <1565578204-13969-1-git-send-email-hao.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1565578204-13969-1-git-send-email-hao.wu@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 12, 2019 at 10:49:55AM +0800, Wu Hao wrote: > Hi Greg, > > This is v5 patchset which adds more features to FPGA DFL. Marjor changes > against v4 are sysfs related code rework to address comments on v4. > > Please help to take a look. Thanks! Hi Greg, Did you get a chance to take a look at this new version patchset? :) Thanks Hao > > Main changes from v4: > - convert code to use dev_groups for sysfs entries (#2, #3, #4, #6, #8). > - clean up for empty init function after remove sysfs add/remove (#1). > - introduce is_visible for sysfs groups (#3, #4, #6, #8). > - remove revision sysfs entries (#4, #6, #8). > - improve naming on shared functions (#5). > - reorganize sysfs entries for port and fme error reporting (#6, #8). > > Main changes from v3: > - drop avx512 partail reconfiguration patch for now. > - split dfl_fpga_cdev_config_port to 2 functions *_release/assign_port > (#1). > - split __dfl_fpga_cdev_config_port_vf into 2 functions with locking > added (#2). > - improve description in sysfs doc to avoid misunderstanding (#3). > - switch to boolean in sysfs entry store function (#3). > - remove dev_dbg in init/uinit callback function (#7, #9, #11). > - remove uinit callback which does does nothing (#8, #9) > > Main changes from v2: > - update kernel version/date in sysfs doc (patch #4, #5, #8, #10, #11). > - add back Documentation patch (patch #12). > > Main changes from v1: > - remove DRV/MODULE_VERSION modifications. (patch #1, #3, #4, #6) > - remove argsz from new ioctls. (patch #2) > - replace sysfs_create/remove_* with device_add/remove_* for sysfs entries. > (patch #5, #8, #11) > > Wu Hao (9): > fpga: dfl: make init callback optional > fpga: dfl: fme: convert platform_driver to use dev_groups > fpga: dfl: afu: convert platform_driver to use dev_groups > fpga: dfl: afu: add userclock sysfs interfaces. > fpga: dfl: afu: expose __afu_port_enable/disable function. > fpga: dfl: afu: add error reporting support. > fpga: dfl: afu: add STP (SignalTap) support > fpga: dfl: fme: add global error reporting support > Documentation: fpga: dfl: add descriptions for virtualization and new > interfaces. > > Documentation/ABI/testing/sysfs-platform-dfl-fme | 62 ++++ > Documentation/ABI/testing/sysfs-platform-dfl-port | 53 ++++ > Documentation/fpga/dfl.rst | 105 +++++++ > drivers/fpga/Makefile | 3 +- > drivers/fpga/dfl-afu-error.c | 230 ++++++++++++++ > drivers/fpga/dfl-afu-main.c | 230 +++++++++++--- > drivers/fpga/dfl-afu.h | 9 + > drivers/fpga/dfl-fme-error.c | 359 ++++++++++++++++++++++ > drivers/fpga/dfl-fme-main.c | 42 +-- > drivers/fpga/dfl-fme.h | 3 + > drivers/fpga/dfl.c | 10 +- > drivers/fpga/dfl.h | 9 + > 12 files changed, 1041 insertions(+), 74 deletions(-) > create mode 100644 drivers/fpga/dfl-afu-error.c > create mode 100644 drivers/fpga/dfl-fme-error.c > > -- > 1.8.3.1