This patchset attempt to resolves Loongson's LS7A PCI problems: the first patch remove pci_disable_device() in pcie_portdrv_remove() to avoid poweroff/reboot failure; the second patch improves the mrrs quirk for LS7A chipset; V1 -> V2: 1, Update commit messages and comments. V2 -> V3: 1, Simply remove pci_disable_device() in pcie_port_device_remove() to solve poweroff/reboot failure. 2, Update commit messages and comments. V3 -> V4: 1, Just remove pci_disable_device() in pcie_portdrv_shutdown() and keep pcie_portdrv_remove() be the same logic as before. Huacai Chen, Tiezhu Yang and Jianmin Lv(2): PCI: Omit pci_disable_device() in .shutdown(). PCI: loongson: Improve the MRRS quirk for LS7A. Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx> Signed-off-by: Jianmin Lv <lvjianmin@xxxxxxxxxxx> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> --- drivers/pci/controller/pci-loongson.c | 44 ++++++++++++----------------------- drivers/pci/pci.c | 6 +++++ drivers/pci/pcie/portdrv.c | 16 +++++++++++-- include/linux/pci.h | 1 + 4 files changed, 36 insertions(+), 31 deletions(-) -- 2.27.0