Skip to content

Commit 1f35a0c

Browse files
chenhuacaibjorn-helgaas
authored andcommitted
PCI/ACPI: Increase Loongson max PCI hosts to 8
Beginning with Loongson-3C6000, there can be up to 8 PCI hosts for multi-chip machines. To support these machines, increase the number of entries in mcfg_quirks to 8. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Haowei Zheng <[email protected]> Signed-off-by: Huacai Chen <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 8400291 commit 1f35a0c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/acpi/pci_mcfg.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,18 @@ static struct mcfg_fixup mcfg_quirks[] = {
181181
LOONGSON_ECAM_MCFG("LOONGSON", 0),
182182
LOONGSON_ECAM_MCFG("\0", 1),
183183
LOONGSON_ECAM_MCFG("LOONGSON", 1),
184+
LOONGSON_ECAM_MCFG("\0", 2),
185+
LOONGSON_ECAM_MCFG("LOONGSON", 2),
186+
LOONGSON_ECAM_MCFG("\0", 3),
187+
LOONGSON_ECAM_MCFG("LOONGSON", 3),
188+
LOONGSON_ECAM_MCFG("\0", 4),
189+
LOONGSON_ECAM_MCFG("LOONGSON", 4),
190+
LOONGSON_ECAM_MCFG("\0", 5),
191+
LOONGSON_ECAM_MCFG("LOONGSON", 5),
192+
LOONGSON_ECAM_MCFG("\0", 6),
193+
LOONGSON_ECAM_MCFG("LOONGSON", 6),
194+
LOONGSON_ECAM_MCFG("\0", 7),
195+
LOONGSON_ECAM_MCFG("LOONGSON", 7),
184196
#endif /* LOONGARCH */
185197
};
186198

0 commit comments

Comments
 (0)