powerpc/pci: Reduce log level of PCI I/O space warning
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 22 Jun 2016 07:23:07 +0000 (17:23 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 24 Jun 2016 05:26:31 +0000 (15:26 +1000)
If a PHB has no I/O space, there's no need to make it look like
something bad happened, a pr_debug() is plenty enough since this
is the case of all our modern POWER chips.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/pci-common.c

index be9e51516ac0467eaa9c09d35b91a6abc086b84f..d1f91e1a813b87807e965eacf38d52553ee96a41 100644 (file)
@@ -1497,9 +1497,9 @@ static void pcibios_setup_phb_resources(struct pci_controller *hose,
        res = &hose->io_resource;
 
        if (!res->flags) {
-               pr_info("PCI: I/O resource not set for host"
-                      " bridge %s (domain %d)\n",
-                      hose->dn->full_name, hose->global_number);
+               pr_debug("PCI: I/O resource not set for host"
+                        " bridge %s (domain %d)\n",
+                        hose->dn->full_name, hose->global_number);
        } else {
                offset = pcibios_io_space_offset(hose);