This patchset add two quirks to resolves Loongson's LS7A problems: the first patch improves the mrrs quirk for LS7A chipset; The second patch add a new quirk for LS7A chipset to avoid poweroff/reboot failure. V1 -> V2: 1, Update commit messages and comments. 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 | 61 ++++++++++++++++++----------------- drivers/pci/pci.c | 6 ++++ drivers/pci/pcie/portdrv.c | 21 ++++++++++-- include/linux/pci.h | 2 ++ 4 files changed, 59 insertions(+), 31 deletions(-) -- 2.27.0