mbox series

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

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

Message

陈华才 June 25, 2021, 9:30 a.m. UTC
From: Huacai Chen <chenhc@lemote.com>

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@lemote.com/

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;

Huacai Chen, Tiezhu Yang and Jianmin Lv(4):
 PCI/portdrv: Don't disable device during shutdown.
 PCI: Move loongson pci quirks to quirks.c.
 PCI: Improve the MRRS quirk for LS7A.
 PCI: Add quirk for multifunction devices of LS7A.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Jianmin Lv <lvjianmin@loongson.cn> 
---
 drivers/pci/controller/pci-loongson.c | 69 ---------------------------
 drivers/pci/pci.c                     |  5 ++
 drivers/pci/pcie/portdrv.h            |  2 +-
 drivers/pci/pcie/portdrv_core.c       |  6 ++-
 drivers/pci/pcie/portdrv_pci.c        | 15 +++++-
 drivers/pci/quirks.c                  | 89 +++++++++++++++++++++++++++++++++++
 include/linux/pci.h                   |  2 +
 include/linux/pci_ids.h               | 10 ++++
 8 files changed, 124 insertions(+), 74 deletions(-)
--
2.27.0