Skip to content

Commit 0111d60

Browse files
jlintonarmbjorn-helgaas
authored andcommitted
PCI: of: Reduce severity of missing of_root error message
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
1 parent 6de23f8 commit 0111d60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pci/of.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ void of_pci_make_host_bridge_node(struct pci_host_bridge *bridge)
775775

776776
/* Check if there is a DT root node to attach the created node */
777777
if (!of_root) {
778-
pr_err("of_root node is NULL, cannot create PCI host bridge node\n");
778+
pr_debug("of_root node is NULL, cannot create PCI host bridge node\n");
779779
return;
780780
}
781781

0 commit comments

Comments
 (0)