[PATCH v4 4/4] PCI: MCFG: Add the MCFG entry parse log message

From: Xuesong Chen
Date: Wed Oct 27 2021 - 04:14:04 EST


To make it to be consistent with x86's MMCONFIG and ease the
disection of PCI MCFG entry parse process.

Signed-off-by: Xuesong Chen <xuesong.chen@xxxxxxxxxxxxxxxxx>
---
drivers/acpi/pci_mcfg.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/acpi/pci_mcfg.c b/drivers/acpi/pci_mcfg.c
index b5ab866..99c9bf5 100644
--- a/drivers/acpi/pci_mcfg.c
+++ b/drivers/acpi/pci_mcfg.c
@@ -290,6 +290,9 @@ static __init int pci_mcfg_parse(struct acpi_table_header *header)
e->res.end = e->address + PCI_MMCFG_BUS_OFFSET(e->end_bus + 1) - 1;
e->res.flags = IORESOURCE_MEM | IORESOURCE_BUSY;
list_add(&e->list, &pci_mmcfg_list);
+ pr_info("MCFG entry for domain %04x [bus %02x-%02x] at %pR "
+ "(base %#lx)\n", e->segment, e->start_bus,
+ e->end_bus, &e->res, (unsigned long)e->address);
}

#ifdef CONFIG_PCI_QUIRKS
--
1.8.3.1