AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/15] forward MSIx vector enable error code in pci_alloc_irq_vectors_affinity
@ 2020-06-02  9:16 Piotr Stankiewicz
  2020-06-02 23:06 ` Bjorn Helgaas
  0 siblings, 1 reply; 14+ messages in thread
From: Piotr Stankiewicz @ 2020-06-02  9:16 UTC (permalink / raw)
  To: Bjorn Helgaas, Jonathan Corbet, Jens Axboe, Kurt Schwemmer,
	Logan Gunthorpe, Antoine Tenart, Herbert Xu, David S . Miller,
	Gustavo Pimentel, Dan Williams, Vinod Koul, Alex Deucher,
	Christian König, David Zhou, David Airlie, Daniel Vetter,
	Dennis Dalessandro, Mike Marciniszyn, Doug Ledford,
	Jason Gunthorpe, Mauro Carvalho Chehab, Arnd Bergmann,
	Greg Kroah-Hartman, Adrian Hunter, Ulf Hansson, Tom Lendacky,
	Jakub Kicinski, Igor Russkikh, Yisen Zhuang, Salil Mehta,
	Brian King, James E . J . Bottomley, Martin K . Petersen,
	Jim Gill, VMware PV-Drivers
  Cc: amd-gfx, linux-scsi, linux-doc, linux-rdma, linux-pci, linux-mmc,
	linux-kernel, dri-devel, Piotr Stankiewicz, linux-crypto, netdev,
	dmaengine, linux-media

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(-)

-- 
2.17.2

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-06-16 15:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox