Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1543338imm; Fri, 6 Jul 2018 01:58:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcB98ruGwH5fbUJK9nURpVBFc84x8uQXtEhJSgXl6aHDr1dknBD7FhzJ7z4wYXXCnemJy1n X-Received: by 2002:a17:902:904c:: with SMTP id w12-v6mr9435434plz.34.1530867494688; Fri, 06 Jul 2018 01:58:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530867494; cv=none; d=google.com; s=arc-20160816; b=MXwus3e+mo1qxvITmhQO92JDms5opUb51EA5EOj3v0XMCTza2IIIEpelvEHwPEY8m7 W9GoQq5m2/m0g9j36ajB6kaZ0if9lKkodLqDOOwHfEZD8Y3yHGddRUex1QOEb3h9IasY XF5u5jMHzWp1Ik36UWp8YEdVs1ZU8MklpwaUWNxNcADHrosh/MTED3GTC1hLyfiHAvxv wa7pyaUBU/J7b8jDms5FRHYbAHlnwXlkQjZH4Rus+bEVvHx23hOq7qDhbuAWjYcaRvc6 jTXw6zEWEG1RAx1ZZxxzdxVAnJwH/pbHtp0PfmHylSamLsxWgFzkhMyMApRXtHTv/HuS IJiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=9uldQtcxu2Ozni+dIDnKWDpzpx6aSWExyVNyQR/Ktro=; b=RpFN+uNh8RzMs6gCEeRvf7IkD52p6MXjtaQkoWTqv057J9ySz27U1ibpsLIwnbLAZK UakHg1ebu9ObGs6PtfIrRrLFUFNLVb013L6ZRIHlmfHolmS4XcwOk5/Ur4uxvdsbX7Hm czjBlJzvsK4UU8jqE4zggBHLycjdiST18+QXc0mnaSdYT8y1ErQ/rwbu91kUkJ+dTr77 aDmDUJbIJLpkKAdu1BxdBnRwjG/ugcKvHgtSFtu/IV6i0VFFIc1UbqVt8RSat4wWWygX femGd8GV68d1UKgMUNESpf7OYxmsSlJwh8kMl65TuAeBVwrTD3q6QZWFAHYsxY39t7Kl uqhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=RmFzY+kv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x68-v6si7951440pfc.239.2018.07.06.01.57.59; Fri, 06 Jul 2018 01:58: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; dkim=pass header.i=@synopsys.com header.s=mail header.b=RmFzY+kv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753695AbeGFI5A (ORCPT + 99 others); Fri, 6 Jul 2018 04:57:00 -0400 Received: from smtprelay4.synopsys.com ([198.182.47.9]:58836 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753630AbeGFI44 (ORCPT ); Fri, 6 Jul 2018 04:56:56 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 8237C24E21CD; Fri, 6 Jul 2018 01:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1530867416; bh=rKWMu6AeIYfwXpM8nAPrQFEOX/tzPQngQBIqlro33Bs=; h=Subject:To:CC:References:From:Date:In-Reply-To:From; b=RmFzY+kvCVRUeuXBTYHOa7ZbFayPy+bFf9rVQ4Ogv6TzspZk9SvIhY0GFNOzLo4sg 336Sawm+q7r8H1BtV+MtDRbFuIwyWq+QBoCTBslbVafFzI0Mym3J15AQVOEqvm8O16 qxVQDglf/NtDVu3sxnmjU/4TxpoxRjSu8M2LCBYQVBgeycR+Ki6yN5Rlb9OTWo5XI1 WPwZza0JGYbpWfVc7r/Im3VqwQLeZk9TzO06r+BBIUOEMuXl8imDntrRxg9frK0eTN 5ekT5Mb9ABt/nvad13gqAH03KToQ9RlfuBGve6E//h/79NEMRw6KrV44pENi59VSP9 Q+4hfRSSL4T5g== Received: from us01wehtc1.internal.synopsys.com (us01wehtc1-vip.internal.synopsys.com [10.12.239.236]) by mailhost.synopsys.com (Postfix) with ESMTP id A85523C47; Fri, 6 Jul 2018 01:56:54 -0700 (PDT) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by us01wehtc1.internal.synopsys.com (10.12.239.235) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 6 Jul 2018 01:56:54 -0700 Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by DE02WEHTCA.internal.synopsys.com (10.225.19.92) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 6 Jul 2018 10:56:52 +0200 Received: from [10.107.25.102] (10.107.25.102) by DE02WEHTCB.internal.synopsys.com (10.225.19.80) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 6 Jul 2018 10:56:51 +0200 Subject: Re: [PATCH v6 00/11] Add MSI-X support on pcitest tool To: "bhelgaas@google.com" , "lorenzo.pieralisi@arm.com" , "Joao.Pinto@synopsys.com" , "jingoohan1@gmail.com" , "kishon@ti.com" , "adouglas@cadence.com" , "jesper.nilsson@axis.com" , "shawn.lin@rock-chips.com" CC: "linux-pci@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: From: Gustavo Pimentel Message-ID: <77139978-65cc-b954-bc61-bebf3bcc67ac@synopsys.com> Date: Fri, 6 Jul 2018 09:54:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.107.25.102] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Just a gentle reminder. Thanks. On 21/06/2018 17:01, Gustavo Pimentel wrote: > Patch series made against Lorenzo's master branch. > > 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 (11): > 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/ioctl/ioctl-number.txt | 1 + > Documentation/misc-devices/pci-endpoint-test.txt | 6 + > drivers/misc/pci_endpoint_test.c | 259 ++++++++++++++++------ > drivers/pci/controller/dwc/pci-dra7xx.c | 2 +- > drivers/pci/controller/dwc/pcie-artpec6.c | 2 +- > drivers/pci/controller/dwc/pcie-designware-ep.c | 205 +++++++++++++++-- > drivers/pci/controller/dwc/pcie-designware-plat.c | 7 +- > 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 | 81 +++++-- > drivers/pci/endpoint/pci-ep-cfs.c | 24 ++ > drivers/pci/endpoint/pci-epc-core.c | 68 +++++- > include/linux/pci-epc.h | 15 +- > include/linux/pci-epf.h | 1 + > include/uapi/linux/pcitest.h | 3 + > tools/pci/pcitest.c | 51 ++++- > tools/pci/pcitest.sh | 15 ++ > 18 files changed, 644 insertions(+), 132 deletions(-) >