From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5710CC433E1 for ; Tue, 9 Jun 2020 13:39:37 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 31F2420760 for ; Tue, 9 Jun 2020 13:39:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 31F2420760 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=amd-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E373C6E02D; Tue, 9 Jun 2020 13:39:34 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id B7233899D5; Tue, 9 Jun 2020 09:12:23 +0000 (UTC) IronPort-SDR: PV76c7Rex84e0mCWJs+Hu+piaJ/F0QH7aqAQA9Uo3J9Pl9x+0XXFycbiNkeQOgyQ5TaiNosJmG 2yorGypLw/GA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2020 02:12:23 -0700 IronPort-SDR: qGJGbkP6jIjb06yFErHeRABfowARu5mYzAUtOXYGw11Yc0sLPVFLbgrHJYpz0pR5pOnUg+Kqew W6B/kl9/AsNg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,491,1583222400"; d="scan'208";a="306121697" Received: from gklab-125-110.igk.intel.com ([10.91.125.110]) by fmsmga002.fm.intel.com with ESMTP; 09 Jun 2020 02:12:14 -0700 From: Piotr Stankiewicz To: Bjorn Helgaas , linux-pci@vger.kernel.org Subject: [PATCH v3 00/15] Forward MSI-X vector enable error code in pci_alloc_irq_vectors_affinity() Date: Tue, 9 Jun 2020 11:11:48 +0200 Message-Id: <20200609091148.32749-1-piotr.stankiewicz@intel.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20200603114212.12525-1-piotr.stankiewicz@intel.com> References: <20200603114212.12525-1-piotr.stankiewicz@intel.com> X-Mailman-Approved-At: Tue, 09 Jun 2020 13:39:33 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulf Hansson , Igor Russkikh , linux-doc@vger.kernel.org, David Airlie , dri-devel@lists.freedesktop.org, Jim Gill , netdev@vger.kernel.org, Kurt Schwemmer , David Zhou , Herbert Xu , linux-scsi@vger.kernel.org, Jonathan Corbet , linux-rdma@vger.kernel.org, amd-gfx@lists.freedesktop.org, Jason Gunthorpe , Doug Ledford , Jakub Kicinski , Yisen Zhuang , linux-media@vger.kernel.org, Tom Lendacky , Arnd Bergmann , Antoine Tenart , linux-kernel@vger.kernel.org, "James E . J . Bottomley" , Salil Mehta , dmaengine@vger.kernel.org, Brian King , Piotr Stankiewicz , Dan Williams , Mauro Carvalho Chehab , Jens Axboe , Mike Marciniszyn , "Martin K . Petersen" , Gustavo Pimentel , Dennis Dalessandro , linux-mmc@vger.kernel.org, Adrian Hunter , "David S . Miller" , Vinod Koul , linux-crypto@vger.kernel.org, Daniel Vetter , Greg Kroah-Hartman , Alex Deucher , Logan Gunthorpe , =?UTF-8?q?Christian=20K=C3=B6nig?= MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" The primary objective of this patch series is to change the behaviour of pci_alloc_irq_vectors_affinity() such that it forwards the MSI-X enable error code when appropriate. In the process, though, it was pointed out that there are multiple places in the kernel which check/ask for message signalled interrupts (MSI or MSI-X), which spawned the first patch adding PCI_IRQ_MSI_TYPES. Finally the rest of the chain converts all users to take advantage of PCI_IRQ_MSI_TYPES or PCI_IRQ_ALL_TYPES, as appropriate. Piotr Stankiewicz (15): PCI/MSI: Forward MSI-X vector enable error code in pci_alloc_irq_vectors_affinity() PCI: Add macro for message signalled interrupt types PCI: Use PCI_IRQ_MSI_TYPES where appropriate ahci: Use PCI_IRQ_MSI_TYPES where appropriate crypto: inside-secure - Use PCI_IRQ_MSI_TYPES where appropriate dmaengine: dw-edma: Use PCI_IRQ_MSI_TYPES where appropriate drm/amdgpu: Use PCI_IRQ_MSI_TYPES where appropriate IB/qib: Use PCI_IRQ_MSI_TYPES where appropriate media: ddbridge: Use PCI_IRQ_MSI_TYPES where appropriate vmw_vmci: Use PCI_IRQ_ALL_TYPES where appropriate mmc: sdhci: Use PCI_IRQ_MSI_TYPES where appropriate amd-xgbe: Use PCI_IRQ_MSI_TYPES where appropriate aquantia: atlantic: Use PCI_IRQ_ALL_TYPES where appropriate net: hns3: Use PCI_IRQ_MSI_TYPES where appropriate scsi: Use PCI_IRQ_MSI_TYPES and PCI_IRQ_ALL_TYPES where appropriate Documentation/PCI/msi-howto.rst | 5 +++-- drivers/ata/ahci.c | 2 +- drivers/crypto/inside-secure/safexcel.c | 2 +- drivers/dma/dw-edma/dw-edma-pcie.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 11 +--------- drivers/infiniband/hw/qib/qib_pcie.c | 6 +++-- drivers/media/pci/ddbridge/ddbridge-main.c | 2 +- drivers/misc/vmw_vmci/vmci_guest.c | 3 +-- drivers/mmc/host/sdhci-pci-gli.c | 3 +-- drivers/mmc/host/sdhci-pci-o2micro.c | 3 +-- drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 2 +- .../ethernet/aquantia/atlantic/aq_pci_func.c | 4 +--- .../hisilicon/hns3/hns3pf/hclge_main.c | 3 +-- .../hisilicon/hns3/hns3vf/hclgevf_main.c | 3 +-- drivers/pci/msi.c | 22 ++++++++----------- drivers/pci/pcie/portdrv_core.c | 4 ++-- drivers/pci/switch/switchtec.c | 3 +-- drivers/scsi/ipr.c | 5 +++-- drivers/scsi/vmw_pvscsi.c | 2 +- include/linux/pci.h | 4 ++-- 20 files changed, 37 insertions(+), 54 deletions(-) -- 2.17.2 _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx