Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp955945imm; Fri, 13 Jul 2018 09:03:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfXSrcWvoQv84/fJQSiUpJhKmkxVi5yzPplF9G9WQ8NaQ1lHKi3F7LYemWEc0L5/tWmjOfm X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr6892642plb.297.1531497796526; Fri, 13 Jul 2018 09:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531497796; cv=none; d=google.com; s=arc-20160816; b=WcopR7glexDhKgRbW6KQgOQLc/M9Y5b3vGfDG69mShbPd/IymnNZUVXnm30iuNYzRg 39GGnuwLSYUTDk6vaNDjr/hvjGHiH57QCgtz7VPdIMGCHrLw/lIhWidY8z2ryMeL15I+ yeX/C3E2JLOc01jeTxMmQlNg3sPlylZxSnhSxsGIHCJKZHuJEV48DoGzcGPw/J0Qqzrj +ThDe+Gr1/v/HcC2VVyV3NEy2am1R+vg9qxX+NFynVZABZ/uJ0kl8bZ9i6G7tsbrxiSf jAROKSk6gmniAMaMBUZGbWm1eB83yHQmDRf/PprEQrytRN0CTWU7lcQyUAsvg/nGDs9N wQbQ== 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=k2zEFUWL5TsaoX6IUzPekozs+S5pxuXKmtXq4C4EA78=; b=POpyJyIA6eQyozfMLqUy+8w9+Ecrl39OIjZHmoURqiosgpMmkW4K+yr0e/RQ+1LRJe bfu39zIGyaH3eKSpCvwSqFF1GDSxpUp5drcMM3lIYIEK6ADjoH0N4uOeG9oZvi95oSrC 4lTTe1eCwcqfr37+JaaH8/JVpyB+MbXAcAbSGRjrL8wtXatYRJUT6pUKifag4MllRZZr TwHOeYzZsMrGHAewEezpSMNq8/qSsusuOYhuHOTA+5mfwFp9ggHk9+4BgDpaT7N7MJSE HbBv7T7BS0jCl+8KV1/NUy8Qfn+JAu00mMMv077n1Uv5ExoR8gaic4h56/ov5xisv5y6 mmlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=aIiVB+cQ; 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 g9-v6si12398376plb.103.2018.07.13.09.03.01; Fri, 13 Jul 2018 09:03:16 -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=aIiVB+cQ; 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 S1730822AbeGMQRl (ORCPT + 99 others); Fri, 13 Jul 2018 12:17:41 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:35193 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729770AbeGMQRl (ORCPT ); Fri, 13 Jul 2018 12:17:41 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 1784010C1A38; Fri, 13 Jul 2018 09:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1531497747; bh=/RJyx4VYfKq3BLS6JJuv53CwHgmQ1oEygzz2/MySoTk=; h=Subject:To:CC:References:From:Date:In-Reply-To:From; b=aIiVB+cQPfwYOQ8QRn/nTBSjLJofiJIBE+HNcI0ymlUT4lSPwUPrU/Uy6LKSmFt91 rZWiVdzd0dKWTCzIE7sNFFA0uyoxaD5DueeueHu5G5ecnL/rmOPhkSK3xd0c34uDV4 NGKBTV5kPZGd983vAPdCj+5wFimmCrLczJmfs3eGU2NFqo07gljX9ac7T7L+mnZjbg 7n+J9ofa7u8sdcRMF3paga8wczLfof/RetWYMSp+Y7tkx2vlCPI06uam2l3QK48yO3 nsNOOYTI6BSyl0GVLW6GQWMHDbAX3TOEvxjuewHHFCLLSDygzaSIVGDKQnONKk6qUk QKwSH+RCaOe7A== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id BF56E3D25; Fri, 13 Jul 2018 09:02:14 -0700 (PDT) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 13 Jul 2018 09:02:13 -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, 13 Jul 2018 18:02:11 +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, 13 Jul 2018 18:02:10 +0200 Subject: Re: [PATCH v9 00/12] Add MSI-X support on pcitest tool To: Lorenzo Pieralisi , Gustavo Pimentel , "kishon@ti.com" CC: "bhelgaas@google.com" , "Joao.Pinto@synopsys.com" , "jingoohan1@gmail.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" References: <20180713132513.GD18515@red-moon> From: Gustavo Pimentel Message-ID: Date: Fri, 13 Jul 2018 16:59:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <20180713132513.GD18515@red-moon> 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 Lorenzo, On 13/07/2018 14:25, Lorenzo Pieralisi wrote: > 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. I just sent the patch # 10 based on Kishon's latest review. For me it's nearly perfect. :) Gustavo > > Lorenzo >