From patchwork Fri Jun 28 00:49:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moritz Fischer X-Patchwork-Id: 11020879 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3ED6E13B4 for ; Fri, 28 Jun 2019 00:50:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C65028481 for ; Fri, 28 Jun 2019 00:50:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1989828727; Fri, 28 Jun 2019 00:50:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD58C28481 for ; Fri, 28 Jun 2019 00:50:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726595AbfF1AuQ (ORCPT ); Thu, 27 Jun 2019 20:50:16 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:33288 "EHLO mail-pg1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726647AbfF1AuP (ORCPT ); Thu, 27 Jun 2019 20:50:15 -0400 Received: by mail-pg1-f171.google.com with SMTP id m4so1790994pgk.0 for ; Thu, 27 Jun 2019 17:50:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/2sb9hYyfsw8WeSVT5nzjFqwXBw7n6CAVVqtEtqe5yo=; b=Jgr6U6QDSXTZtF7CqkRbf7Lc+HctSjV6c/RqIrriVWGGKTZ9sWJM+je7ZaWc7kzMuG zeHvEKDENPT4yC7cm6Zg+eFMFLcmgt/8pmAn86BpT6Bk8SGTrOd6vQGnYIHaR4SQu0Z5 UsK+EZ06EkKy+05UfzK35+BZAbahJh8NTZ9EExJuxNXlRtCLiejjPQqsnepG6JUDucrb uitUWOWk7jcyrPRz5nPC9Qjv+7aABhHeSZgvRLs9lyjjUo/lGgShdf3xHPF9Qwy7+SJc 9nPpRO0Itoc2l8DD3xEj7nVVk7q8ViJbgqonNGWYoguEyX/um8u6hHhPGQANjtWTL01Q 3jGg== X-Gm-Message-State: APjAAAVgvht9QfIBQnooQsn11DN/bfSHD9bk8umv/LSiMqEfqLHQVBLk n/oiBGLM475HZ+z6z0gdbvYGdMp7N2k= X-Google-Smtp-Source: APXvYqxgwYFE0x/C7FEGII/7g2GTw0w2jtCjz9Dt3boSx0JghIsMGG6LzP+pgOPkeurX1/r+fwbtKg== X-Received: by 2002:a63:593:: with SMTP id 141mr5704119pgf.78.1561683014046; Thu, 27 Jun 2019 17:50:14 -0700 (PDT) Received: from localhost (c-76-21-109-208.hsd1.ca.comcast.net. [76.21.109.208]) by smtp.gmail.com with ESMTPSA id n7sm280544pff.59.2019.06.27.17.50.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 27 Jun 2019 17:50:12 -0700 (PDT) From: Moritz Fischer To: linux-fpga@vger.kernel.org, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Moritz Fischer Subject: [PATCH 00/15] FPGA DFL updates Date: Thu, 27 Jun 2019 17:49:36 -0700 Message-Id: <20190628004951.6202-1-mdf@kernel.org> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Sender: linux-fpga-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Greg, can you please take the following patches. They're mostly new features and some cleanup of the DFL internals. They've been on the mailing list and have been reviewed. Note: I've seen that Mauro touched Documentation/fpga/dfl.rst in linux-next commit c220a1fae6c5d ("docs: fpga: convert docs to ReST and rename to *.rst") and fixed up PATCH 05/15 to apply on top of that. If you prefer the original series against char-misc-next let me know, and I'll resubmit. Thanks, Moritz Wu Hao (15): fpga: dfl-fme-mgr: fix FME_PR_INTFC_ID register address. fpga: dfl: fme: remove copy_to_user() in ioctl for PR fpga: dfl: fme: align PR buffer size per PR datawidth fpga: dfl: fme: support 512bit data width PR Documentation: fpga: dfl: add descriptions for virtualization and new interfaces. fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support. fpga: dfl: pci: enable SRIOV support. fpga: dfl: afu: add AFU state related sysfs interfaces fpga: dfl: afu: add userclock sysfs interfaces. fpga: dfl: add id_table for dfl private feature driver fpga: dfl: afu: export __port_enable/disable function. fpga: dfl: afu: add error reporting support. fpga: dfl: afu: add STP (SignalTap) support fpga: dfl: fme: add capability sysfs interfaces fpga: dfl: fme: add global error reporting support .../ABI/testing/sysfs-platform-dfl-fme | 98 +++++ .../ABI/testing/sysfs-platform-dfl-port | 104 +++++ Documentation/fpga/dfl.rst | 100 +++++ drivers/fpga/Makefile | 3 +- drivers/fpga/dfl-afu-error.c | 225 ++++++++++ drivers/fpga/dfl-afu-main.c | 330 ++++++++++++++- drivers/fpga/dfl-afu.h | 7 + drivers/fpga/dfl-fme-error.c | 385 ++++++++++++++++++ drivers/fpga/dfl-fme-main.c | 120 +++++- drivers/fpga/dfl-fme-mgr.c | 117 +++++- drivers/fpga/dfl-fme-pr.c | 65 +-- drivers/fpga/dfl-fme.h | 7 +- drivers/fpga/dfl-pci.c | 40 ++ drivers/fpga/dfl.c | 169 +++++++- drivers/fpga/dfl.h | 54 ++- include/uapi/linux/fpga-dfl.h | 32 ++ 16 files changed, 1776 insertions(+), 80 deletions(-) create mode 100644 drivers/fpga/dfl-afu-error.c create mode 100644 drivers/fpga/dfl-fme-error.c