Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp496192imm; Thu, 31 May 2018 04:29:37 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJK5OS5VnejL0/Kd7mMsDonVLWYkxFabnb/s+Jedz2RNMs6N2kwKkYDpJCOXfQP4HAiis13 X-Received: by 2002:a17:902:8d8d:: with SMTP id v13-v6mr6567829plo.362.1527766176971; Thu, 31 May 2018 04:29:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527766176; cv=none; d=google.com; s=arc-20160816; b=owmIkjgm5bHr4CEtTZdZqPgNtlxEEl/ObtTfeRXbtQRuDB8IKbFimAaYJqTJDW05US ejZLUyJ84iweQI5DXSqNOlwxrlQt75rsoxeTnfpLAx1Ns+woA7ZdQblkt5HX9pTAbAkl Z/l2Wfq4dPh53/UeyXGN//wgPIpXGpjvXqu/zp9+N+oH/qA9Egw5/LZ3yROy2zS5W+Gr D+R7/yPmiGmhluZ9o8+QxmeX+PTZ/8gvIAjNXum7MGy8FbcrjAhLr6zzGfwE+3xd3G/J ewMTp/coJpLvcowDwAyWJfOY40Q1GokWI/nyDO5r7dYxM2vixtP81S4JlT6bxWjlB5z5 AeKg== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=C7I5ScaaivpEOpdaScrsSI6L9GblkGR6V4p96C2epSc=; b=EerW86lQ5uorjKgwbbyKvEXGwilRO+ZR5mk5hpMIElscUtW4RR1tr6hMRrsrCBhg+S ouqTg5wW5Jsd7t8WSW5k5QgxudvCw8OtcZ1owPwkyzYzj5ULn7ABCa2+STgopATsRkPz rN6DwkpaAypsq3g1HjvO78XmJ+QdMSiAcL3tPhOGTR/RYkww0yxFXlWXUtgohHvIm8IZ TccTARsoaDBjpWQO5ujVzbNODxtk/Y3s5bJtcTnxsLu1GgQvfXs+VCjdcgyX554+5fag qowxsKIHf90pvaifCCNh+iix9dwIzK2kpObIskmlfE4guun4AYUWLuaqMXZIdF5BPoGm y8xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nDJwU9qC; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j84-v6si37159111pfk.203.2018.05.31.04.29.22; Thu, 31 May 2018 04:29:36 -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=@ti.com header.s=ti-com-17Q1 header.b=nDJwU9qC; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755088AbeEaL2B (ORCPT + 99 others); Thu, 31 May 2018 07:28:01 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:47570 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754779AbeEaL14 (ORCPT ); Thu, 31 May 2018 07:27:56 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4VBRinw015071; Thu, 31 May 2018 06:27:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1527766064; bh=C7I5ScaaivpEOpdaScrsSI6L9GblkGR6V4p96C2epSc=; h=Subject:To:References:CC:From:Date:In-Reply-To; b=nDJwU9qCDh6VLi2n+6s0GEi7KWwU9w8GTk+KPrh94raJ+L5O/MRXaqX0QYT6mcOMT TqHbwoDHoCNRnB3JwY1UYlF8XS9ULP9QQTqcljUeyj2BCW6V89i7o8iQ1ijNvdOkAh AUM6Wok7k6M5h3S+Jtcwh+t7G9CnKJTm/M0ZVCzQ= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4VBRiFZ000739; Thu, 31 May 2018 06:27:44 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 31 May 2018 06:27:44 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 31 May 2018 06:27:44 -0500 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4VBReiR016659; Thu, 31 May 2018 06:27:41 -0500 Subject: Re: [PATCH v2 6/7] misc: pci_endpoint_test: Add MSI-X support To: Gustavo Pimentel , , , , , , References: <30034b904a27c405b894a34922e59315dcae68ab.1526576613.git.gustavo.pimentel@synopsys.com> CC: , , From: Kishon Vijay Abraham I Message-ID: <2f56cd19-f7a5-c99f-e74f-83a4dbeb0248@ti.com> Date: Thu, 31 May 2018 16:57:39 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <30034b904a27c405b894a34922e59315dcae68ab.1526576613.git.gustavo.pimentel@synopsys.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thursday 17 May 2018 10:39 PM, Gustavo Pimentel wrote: > Add MSI-X support and update driver documentation accordingly. > > Add new driver parameter to allow interruption type selection. > > Add 2 new IOCTL commands: > - Allow to reconfigure driver IRQ type in runtime. > - Allow to retrieve current driver IRQ type configured. > > Change Legacy/MSI/MSI-X test process, by having in a BAR: > - Interrupt type triggered (added). > - Interrupt ID number (moved from the command section). > > Signed-off-by: Gustavo Pimentel It's better to change the subject to pci-epf-test/pci_endpoint_test: Add MSI-X support IMO this patch should be split into multiple patches *) Cleanup PCI_ENDPOINT_TEST memspace (by moving the interrupt number away from command section) *) Using irq_type module param *) Adding MSI-X support *) adding 2 ioctl commands (I'm not convinced on adding new ioctls though) Thanks Kishon