On Thu, Jul 14, 2022 at 08:42:09PM +0800, Huacai Chen wrote: > This patchset improves Loongson PCI controller driver and resolves some > problems: LS2K/LS7A's PCI config space supports 1/2/4-bytes access, so > the first patch use pci_generic_config_read()/pci_generic_config_write() > for them; the second patch add ACPI init support which will be used by > LoongArch; the third patch improves the mrrs quirk for LS7A chipset; The > fourth patch add a new quirk for LS7A chipset to avoid poweroff/reboot > failure, and the fifth patch add a new quirk for LS7A chipset to fix the > multifunction devices' irq pin mappings. > ... > Huacai Chen, Tiezhu Yang and Jianmin Lv(6): > PCI/ACPI: Guard ARM64-specific mcfg_quirks > PCI: loongson: Use generic 8/16/32-bit config ops on LS2K/LS7A. > PCI: loongson: Add ACPI init support. > PCI: loongson: Don't access non-existant devices. > PCI: Add quirk for multifunction devices of LS7A. I applied the above to pci/ctrl/loongson to get them out of the way. > PCI: loongson: Improve the MRRS quirk for LS7A. > PCI: Add quirk for LS7A to avoid reboot failure. These touch core code in some sort of ugly ways and I'm still thinking about them.