Linux ACPI
 help / color / mirror / Atom feed
* [PATCH] PCI/ACPI: Increase the number of Loongson's PCI host up to 8
@ 2024-07-26  9:29 Huacai Chen
  2024-08-01 23:05 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Huacai Chen @ 2024-07-26  9:29 UTC (permalink / raw)
  To: Bjorn Helgaas, Rafael J . Wysocki, Len Brown
  Cc: linux-pci, linux-acpi, Jianmin Lv, Xuefeng Li, Huacai Chen,
	Jiaxun Yang, Huacai Chen, Haowei Zheng

Begin with Loongson-3C6000, the number of PCI host can be as many as 8
for multi-chip machines. To support these machines we also increase the
number of entries in mcfg_quirks up to 8.

Signed-off-by: Haowei Zheng <zhenghaowei@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
---
 drivers/acpi/pci_mcfg.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/acpi/pci_mcfg.c b/drivers/acpi/pci_mcfg.c
index 860014b89b8e..58e10a980114 100644
--- a/drivers/acpi/pci_mcfg.c
+++ b/drivers/acpi/pci_mcfg.c
@@ -181,6 +181,18 @@ static struct mcfg_fixup mcfg_quirks[] = {
 	LOONGSON_ECAM_MCFG("LOONGSON", 0),
 	LOONGSON_ECAM_MCFG("\0", 1),
 	LOONGSON_ECAM_MCFG("LOONGSON", 1),
+	LOONGSON_ECAM_MCFG("\0", 2),
+	LOONGSON_ECAM_MCFG("LOONGSON", 2),
+	LOONGSON_ECAM_MCFG("\0", 3),
+	LOONGSON_ECAM_MCFG("LOONGSON", 3),
+	LOONGSON_ECAM_MCFG("\0", 4),
+	LOONGSON_ECAM_MCFG("LOONGSON", 4),
+	LOONGSON_ECAM_MCFG("\0", 5),
+	LOONGSON_ECAM_MCFG("LOONGSON", 5),
+	LOONGSON_ECAM_MCFG("\0", 6),
+	LOONGSON_ECAM_MCFG("LOONGSON", 6),
+	LOONGSON_ECAM_MCFG("\0", 7),
+	LOONGSON_ECAM_MCFG("LOONGSON", 7),
 #endif /* LOONGARCH */
 };
 
-- 
2.43.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-01 23:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-26  9:29 [PATCH] PCI/ACPI: Increase the number of Loongson's PCI host up to 8 Huacai Chen
2024-08-01 23:05 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox