]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
PCI: of: Reduce severity of missing of_root error message
authorJeremy Linton <jeremy.linton@arm.com>
Mon, 9 Mar 2026 04:59:30 +0000 (23:59 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 9 Mar 2026 22:21:11 +0000 (17:21 -0500)
Arm64 kernels are frequently built dual ACPI/DT, and then boot in ACPI
mode. In this case, there won't be an of_root, except for rare DT described
PCIe boards.

As a result, users in the common case see this high priority worrying
message, despite the machine working as expected.

Reduce this message to pr_debug() to avoid unnecessary noise.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260309045930.21531-1-jeremy.linton@arm.com
drivers/pci/of.c

index 9f8eb5df279ed28db7a3b2fd29c65da9975c2efa..0eba56e0ebcdefadf99feba3a85caeb63cbdf342 100644 (file)
@@ -775,7 +775,7 @@ void of_pci_make_host_bridge_node(struct pci_host_bridge *bridge)
 
        /* Check if there is a DT root node to attach the created node */
        if (!of_root) {
-               pr_err("of_root node is NULL, cannot create PCI host bridge node\n");
+               pr_debug("of_root node is NULL, cannot create PCI host bridge node\n");
                return;
        }