Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp787226imm; Fri, 13 Jul 2018 06:24:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdmrvycSWKB8Fr3v6soOlDOaJX1jcoocMQ8RYKbxZJaF96mgETGYnJZBRqhsY5j2LYVqThH X-Received: by 2002:a63:9311:: with SMTP id b17-v6mr6130648pge.261.1531488249660; Fri, 13 Jul 2018 06:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531488249; cv=none; d=google.com; s=arc-20160816; b=lJVsecxoRy0EUUz2zg06m0B78+6Qx7h4KxfH38icuX0Z20JmRm6jM1Of7TVN/DsiF6 BOH2tSq+eatX92UXUu/vELhN5Y6dnEhqeTwEGp2ybbK9a0JCGOo6fdEgnSW4AsuFLzUm PcKzCV+yT7I3qKI1luX0li7DZFFS2/93VbcYQOBqE5roDQhS1yCeLiIPjEyfJ4caMgvn o/RWOjOmOk61Ee3WqyWSbMRiwezWzvepRHGzak3Qn+hw/Hr3m88/bLpcSEliuUdvTcBu mLIzsDvcfVqYNYp2gTRHqTcHAmYe8NfZTYhLv459h54ZRyYXa6zWDjmqmdYPSFOdO2lr EoVQ== 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=vHXSU8uixr0uDTEcZmOT5rdgpMDHea8vkCtHSL7SpxE=; b=p0mBxvnaAuNbbfQm2puw7+k6zvRAKidlXFTeac5Wwzm9s6yUZ0ZUgdUlkPQX/CtYSQ 1T/AGuAvajocVhJDhaluRcUK2lU3yod93GcN2YgFaY6FtKdYqNiaZqS5b09QIfe550t0 WGMW/63TcO2kpbfewffm3cqPw4XeymPorlPOoQL5yQ74K890UTjywKfQud9OWnis25V3 lbIvS3b5agxIlXG25Resq0VRzTwijtCQNK2JRK3RsbTRvlTM9/X7NICOZt+bULKRwNYX cUdlDljbOwNeDBTRJvSwVCilHwXj/3NRKguWe6YgVamNwaqq15we7gcYH3luD8LQZrEZ XRqg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q68-v6si26235496pfl.317.2018.07.13.06.23.53; Fri, 13 Jul 2018 06:24:09 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729768AbeGMNh4 (ORCPT + 99 others); Fri, 13 Jul 2018 09:37:56 -0400 Received: from foss.arm.com ([217.140.101.70]:35192 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728140AbeGMNh4 (ORCPT ); Fri, 13 Jul 2018 09:37:56 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A052A80D; Fri, 13 Jul 2018 06:23:17 -0700 (PDT) Received: from red-moon (unknown [10.1.206.55]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8F3353F318; Fri, 13 Jul 2018 06:23:15 -0700 (PDT) Date: Fri, 13 Jul 2018 14:25:13 +0100 From: Lorenzo Pieralisi To: Gustavo Pimentel , kishon@ti.com Cc: bhelgaas@google.com, Joao.Pinto@synopsys.com, jingoohan1@gmail.com, kishon@ti.com, adouglas@cadence.com, jesper.nilsson@axis.com, shawn.lin@rock-chips.com, linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 00/12] Add MSI-X support on pcitest tool Message-ID: <20180713132513.GD18515@red-moon> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 09, 2018 at 06:42:38PM +0100, Gustavo Pimentel wrote: > Patch series made against Lorenzo's master branch. > > Fix EP link notification implementation. > > Add MSI-X support on pcitest tool. > > Add new callbacks methods and handlers to trigger the MSI-X interrupts > on the EP DesignWare IP driver. > > Allow to set/get MSI-X EP maximum capability number. > > Rework on set/get and triggering MSI methods on EP DesignWare IP driver. > > Add a new input parameter (msix) to pcitest tool to test MSI-X feature. > > Update the pcitest.sh script to support MSI-X feature tests. > > Gustavo Pimentel (12): > PCI: dwc: Fix EP link notification implementation > PCI: endpoint: Add MSI-X interfaces > PCI: Update xxx_pcie_ep_raise_irq() and pci_epc_raise_irq() signatures > PCI: dwc: Add MSI-X callbacks handler > PCI: dwc: Rework MSI callbacks handler > PCI: dwc: Add legacy interrupt callback handler > pci-epf-test/pci_endpoint_test: Cleanup PCI_ENDPOINT_TEST memspace > pci-epf-test/pci_endpoint_test: Use irq_type module parameter > pci-epf-test/pci_endpoint_test: Add MSI-X support > pci_endpoint_test: Add 2 ioctl commands > tools: PCI: Add MSI-X support > PCI: endpoint: Add MSI set maximum restriction > > Documentation/PCI/endpoint/pci-test-function.txt | 8 +- > Documentation/ioctl/ioctl-number.txt | 1 + > Documentation/misc-devices/pci-endpoint-test.txt | 6 + > drivers/misc/pci_endpoint_test.c | 260 ++++++++++++++++------ > drivers/pci/controller/dwc/pci-dra7xx.c | 2 +- > drivers/pci/controller/dwc/pcie-artpec6.c | 2 +- > drivers/pci/controller/dwc/pcie-designware-ep.c | 217 ++++++++++++++++-- > drivers/pci/controller/dwc/pcie-designware-plat.c | 11 +- > drivers/pci/controller/dwc/pcie-designware.h | 31 ++- > drivers/pci/controller/pcie-cadence-ep.c | 3 +- > drivers/pci/controller/pcie-rockchip-ep.c | 2 +- > drivers/pci/endpoint/functions/pci-epf-test.c | 86 +++++-- > drivers/pci/endpoint/pci-ep-cfs.c | 24 ++ > drivers/pci/endpoint/pci-epc-core.c | 68 +++++- > include/linux/pci-epc.h | 16 +- > include/linux/pci-epf.h | 1 + > include/uapi/linux/pcitest.h | 3 + > tools/pci/pcitest.c | 51 ++++- > tools/pci/pcitest.sh | 15 ++ > 19 files changed, 664 insertions(+), 143 deletions(-) Gustavo, Kishon, it seems like this series has been thoroughly reviewed and it is ready to go, please let me know if there is any pending change. Lorenzo