This patchset is to optimize the interrupt vector allocation strategy in pcie_port_enable_irq_vec() and add #defines for the AER and DPC Interrupt Message Number masks. v3->v4: - Optimize the interrupt vector allocation strategy in pcie_port_enable_irq_vec(). - add #defines for the AER and DPC Interrupt Message Number masks. v2->v3: - Use a 12-character SHA1 commit id. - Rebase on v4.14-rc4. v1->v2: - Fix comments on PATCH v1. - Simplify implementation. Dongdong Liu (2): PCI/portdrv: Fix MSI/MSI-X bug for PCIe port service drivers PCI/portdrv: Add #defines for the AER and DPC Interrupt Message Number masks drivers/pci/pcie/portdrv_core.c | 49 ++++++++++++++--------------------------- include/uapi/linux/pci_regs.h | 2 ++ 2 files changed, 18 insertions(+), 33 deletions(-) -- 1.9.1