This patchset resolve some Loongson-related pci problems (however, some of them affect not only Loongon platform). The first patch has been sent before, and nearly all reviewers' questions had been answered at that time [1]. The second patch move some LS7A quirks to quirks.c, where can be shared by multi architectures. The third patch improve the mrrs quirk for LS7A chipset, and the fourth patch add a new quirk for LS7A chipset. [1] http://patchwork.ozlabs.org/project/linux-pci/patch/1600680138-10949-1-git-send-email-chenhc@xxxxxxxxxx/ V1 -> V2: 1, Rework the 4th patch; 2, Improve commit messages; 3, Remove the last patch since there is better solutions. V2 -> V3: 1, Add more affected device ids for the 4th patch; 2, Improve commit messages to describe root causes. V3 -> V4: 1, Rework the MRRS quirk patch; 2, Improve commit messages to describe root causes, again. V4 -> V5: 1, Improve the MRRS quirk patch; 2, Change the order of 2nd and 3rd patch; 3, Improve commit messages to describe root causes, again. Huacai Chen, Tiezhu Yang and Jianmin Lv(4): PCI/portdrv: Don't disable device during shutdown. PCI: Improve the MRRS quirk for LS7A. PCI: Move loongson pci quirks to quirks.c. PCI: Add quirk for multifunction devices of LS7A. Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> Signed-off-by: Jianmin Lv <lvjianmin@xxxxxxxxxxx> --- drivers/pci/controller/pci-loongson.c | 69 ----------------------------- drivers/pci/pci.c | 6 +++ drivers/pci/pcie/portdrv.h | 2 +- drivers/pci/pcie/portdrv_core.c | 6 ++- drivers/pci/pcie/portdrv_pci.c | 15 ++++++- drivers/pci/quirks.c | 81 +++++++++++++++++++++++++++++++++++ include/linux/pci.h | 1 + include/linux/pci_ids.h | 11 +++++ 8 files changed, 117 insertions(+), 74 deletions(-) -- 2.27.0