From: Bjorn Helgaas <helgaas@kernel.org>
To: Piotr Stankiewicz <piotr.stankiewicz@intel.com>
Cc: "Ulf Hansson" <ulf.hansson@linaro.org>,
"Igor Russkikh" <irusskikh@marvell.com>,
linux-doc@vger.kernel.org, "David Airlie" <airlied@linux.ie>,
linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org,
"Jim Gill" <jgill@vmware.com>,
netdev@vger.kernel.org,
"Kurt Schwemmer" <kurt.schwemmer@microsemi.com>,
"David Zhou" <David1.Zhou@amd.com>,
"Herbert Xu" <herbert@gondor.apana.org.au>,
linux-scsi@vger.kernel.org, "Jonathan Corbet" <corbet@lwn.net>,
linux-rdma@vger.kernel.org, amd-gfx@lists.freedesktop.org,
"Jason Gunthorpe" <jgg@ziepe.ca>,
"Doug Ledford" <dledford@redhat.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Yisen Zhuang" <yisen.zhuang@huawei.com>,
linux-media@vger.kernel.org,
"Tom Lendacky" <thomas.lendacky@amd.com>,
"Arnd Bergmann" <arnd@arndb.de>,
"Antoine Tenart" <antoine.tenart@bootlin.com>,
linux-kernel@vger.kernel.org,
"James E . J . Bottomley" <jejb@linux.ibm.com>,
"Salil Mehta" <salil.mehta@huawei.com>,
dmaengine@vger.kernel.org, "Brian King" <brking@us.ibm.com>,
"VMware PV-Drivers" <pv-drivers@vmware.com>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Dan Williams" <dan.j.williams@intel.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Jens Axboe" <axboe@kernel.dk>,
"Mike Marciniszyn" <mike.marciniszyn@intel.com>,
"Martin K . Petersen" <martin.petersen@oracle.com>,
"Gustavo Pimentel" <gustavo.pimentel@synopsys.com>,
"Dennis Dalessandro" <dennis.dalessandro@intel.com>,
linux-mmc@vger.kernel.org,
"Adrian Hunter" <adrian.hunter@intel.com>,
"David S . Miller" <davem@davemloft.net>,
"Vinod Koul" <vkoul@kernel.org>,
linux-crypto@vger.kernel.org, "Daniel Vetter" <daniel@ffwll.ch>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Alex Deucher" <alexander.deucher@amd.com>,
"Logan Gunthorpe" <logang@deltatee.com>,
"Christian König" <christian.koenig@amd.com>
Subject: Re: [PATCH 00/15] forward MSIx vector enable error code in pci_alloc_irq_vectors_affinity
Date: Tue, 2 Jun 2020 18:06:08 -0500 [thread overview]
Message-ID: <20200602230608.GA868767@bjorn-Precision-5520> (raw)
In-Reply-To: <20200602091617.31395-1-piotr.stankiewicz@intel.com>
On Tue, Jun 02, 2020 at 11:16:17AM +0200, Piotr Stankiewicz wrote:
> 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: add shorthand define for message signalled interrupt types
> PCI/MSI: forward MSIx vector enable error code in
> pci_alloc_irq_vectors_affinity
> 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 | 8 ++++----
> drivers/infiniband/hw/qib/qib_pcie.c | 2 +-
> 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 +-
> drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c | 4 +---
> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 3 +--
> drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 2 +-
> drivers/pci/msi.c | 4 ++--
> drivers/pci/pcie/portdrv_core.c | 4 ++--
> drivers/pci/switch/switchtec.c | 3 +--
> drivers/scsi/ipr.c | 2 +-
> drivers/scsi/vmw_pvscsi.c | 2 +-
> include/linux/pci.h | 4 ++--
> 20 files changed, 28 insertions(+), 34 deletions(-)
I think I'm OK with this, and since they all depend on the first PCI
patch, it will probably be easiest to merge them all through the PCI
tree. I'm happy to do that, but can you please:
- Update the subject lines so they start with a capital letter to
match the historical convention.
- Use "MSI-X" instead of "MSIx" so it matches the spec and other
usage in the kernel.
- Add "()" after function names, e.g.,
"pci_alloc_irq_vectors_affinity()" instead of
"pci_alloc_irq_vectors_affinity".
- Reorder them so the actual fix (02/15) is first and the cleanups
later.
- Post them all to linux-pci (I only saw the drivers/pci patches).
- If possible, post them with all the patches as replies to the
cover letter. These all appear to be unrelated messages, which
makes it a bit of a hassle to collect them all up.
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2020-06-02 23:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-02 9:16 [PATCH 00/15] forward MSIx vector enable error code in pci_alloc_irq_vectors_affinity Piotr Stankiewicz
2020-06-02 23:06 ` Bjorn Helgaas [this message]
2020-06-03 11:42 ` [PATCH v2 00/15] Forward MSI-X vector enable error code in pci_alloc_irq_vectors_affinity() Piotr Stankiewicz
2020-06-03 11:45 ` [PATCH v2 02/15] PCI: Add shorthand define for message signalled interrupt types Piotr Stankiewicz
2020-06-03 15:49 ` Logan Gunthorpe
2020-06-04 1:55 ` Luben Tuikov
2020-06-03 11:47 ` [PATCH v2 07/15] drm/amdgpu: Use PCI_IRQ_MSI_TYPES where appropriate Piotr Stankiewicz
2020-06-03 13:43 ` Alex Deucher
2020-06-09 9:11 ` [PATCH v3 00/15] Forward MSI-X vector enable error code in pci_alloc_irq_vectors_affinity() Piotr Stankiewicz
2020-06-09 9:15 ` [PATCH v3 02/15] PCI: Add macro for message signalled interrupt types Piotr Stankiewicz
2020-06-09 9:18 ` [PATCH v3 07/15] drm/amdgpu: Use PCI_IRQ_MSI_TYPES where appropriate Piotr Stankiewicz
2020-06-09 20:23 ` Alex Deucher
2020-06-16 7:49 ` Stankiewicz, Piotr
2020-06-16 8:42 ` [PATCH] drm/amdgpu: Simplify IRQ vector request logic Piotr Stankiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200602230608.GA868767@bjorn-Precision-5520 \
--to=helgaas@kernel.org \
--cc=David1.Zhou@amd.com \
--cc=adrian.hunter@intel.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=antoine.tenart@bootlin.com \
--cc=arnd@arndb.de \
--cc=axboe@kernel.dk \
--cc=bhelgaas@google.com \
--cc=brking@us.ibm.com \
--cc=christian.koenig@amd.com \
--cc=corbet@lwn.net \
--cc=dan.j.williams@intel.com \
--cc=daniel@ffwll.ch \
--cc=davem@davemloft.net \
--cc=dennis.dalessandro@intel.com \
--cc=dledford@redhat.com \
--cc=dmaengine@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=gustavo.pimentel@synopsys.com \
--cc=herbert@gondor.apana.org.au \
--cc=irusskikh@marvell.com \
--cc=jejb@linux.ibm.com \
--cc=jgg@ziepe.ca \
--cc=jgill@vmware.com \
--cc=kuba@kernel.org \
--cc=kurt.schwemmer@microsemi.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=logang@deltatee.com \
--cc=martin.petersen@oracle.com \
--cc=mchehab@kernel.org \
--cc=mike.marciniszyn@intel.com \
--cc=netdev@vger.kernel.org \
--cc=piotr.stankiewicz@intel.com \
--cc=pv-drivers@vmware.com \
--cc=salil.mehta@huawei.com \
--cc=thomas.lendacky@amd.com \
--cc=ulf.hansson@linaro.org \
--cc=vkoul@kernel.org \
--cc=yisen.zhuang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox