mbox series

[V6,0/4] PCI: Loongson-related pci quirks

Message ID 20210701074458.1809532-1-chenhuacai@loongson.cn
Headers show
Series PCI: Loongson-related pci quirks | expand

Message

陈华才 July 1, 2021, 7:44 a.m. UTC
This patchset resolve some Loongson-related pci problems: The first
patch improve the mrrs quirk for LS7A chipset. The second patch move
some LS7A quirks to quirks.c, where can be shared by multi archi-
tectures. The third patch add a new quirk for LS7A chipset to avoid
poweroff/reboot failure, and the fourth patch add a new quirk for LS7A
chipset to fix multifunction devices' irq pin mappings.

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.

V5 -> V6:
1, Rework the 1st patch;
2, Adjust the order of the series.

Huacai Chen, Tiezhu Yang and Jianmin Lv(4):
 PCI: Improve the MRRS quirk for LS7A.
 PCI: Move loongson pci quirks to quirks.c.
 PCI: Add quirk for LS7A to avoid reboot failure.
 PCI: Add quirk for multifunction devices of LS7A.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Jianmin Lv <lvjianmin@loongson.cn> 
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 drivers/pci/controller/pci-loongson.c |  69 -----------------------
 drivers/pci/pci.c                     |   6 ++
 drivers/pci/pcie/portdrv_core.c       |   6 +-
 drivers/pci/quirks.c                  | 102 ++++++++++++++++++++++++++++++++++
 include/linux/pci.h                   |   2 +
 include/linux/pci_ids.h               |  11 ++++
 6 files changed, 126 insertions(+), 70 deletions(-)
--
2.27.0