Skip to content

Improve MSI detection v5

Brice Goglin lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Merge existing MSI disabling quirksdrivers/pci/quirks.c+16 -130 replies
2/7Factorize common MSI detection code from pci_enable_msi() and msix()drivers/pci/msi.c+26 -200 replies
3/7Check root chipset no_msi flag instead of all parent busses flagsdrivers/pci/msi.c drivers/pci/quirks.c+14 -117 replies
4/7Rename PCI_CAP_ID_HT_IRQCONF into PCI_CAP_ID_HTarch/powerpc/sysdev/mpic.c drivers/infiniband/hw/ipath/ipath_ht400.c include/linux/pci_regs.h+4 -50 replies
5/7Blacklist PCI-E chipsets depending on Hypertransport MSI capabilitydrivers/pci/quirks.c include/linux/pci_ids.h+56 -00 replies
6/7Drop pci_msi_quirkdrivers/pci/msi.c drivers/pci/pci.h drivers/pci/quirks.c+0 -150 replies
7/7Drop pci bus_flagsdrivers/pci/probe.c include/linux/pci.h+0 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/7] Improve MSI detection v5

Here's another set of patches to cleanup MSI detection to replace the patchset that is currently in Greg's tree.

After -mm5 breakage due to some root chipsets not having a subordinate bus, we now use the dev->no_msi flag to disable MSI on a chipset instead of the subordinate bus flag (see #3).

Other changes include a TTL in the pci_find_next_capability() loop to find MSI HT cap (see #5), and changing the ipath driver to use the common PCI_CAP_ID_HT (see #4).

#1 - Merge existing MSI disabling quirks
#2 - Factorize common MSI detection code from pci_enable_msi() and msix() #3 - Check root chipset no_msi flag instead of all parent busses flags #4 - Rename PCI_CAP_ID_HT_IRQCONF into PCI_CAP_ID_HT
#5 - Blacklist PCI-E chipsets depending on Hypertransport MSI capability #6 - Drop pci_msi_quirk
#7 - Drop pci bus_flags

These patches are against 2.6.17-git20.

Brice Goglin