summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-02 16:12:49 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-08-06 12:55:28 -0400
commita3c4f2fb26974b5134861af8f7593040ae61a1f4 (patch)
tree78b2667d31072cda4521967f623cf3eea1a88edf /arch/tile/kernel
parent90d9dd66957a744831146dbb1a9e4f96a9106100 (diff)
downloadop-kernel-dev-a3c4f2fb26974b5134861af8f7593040ae61a1f4.zip
op-kernel-dev-a3c4f2fb26974b5134861af8f7593040ae61a1f4.tar.gz
tile PCI RC: gentler warning for missing plug-in PCI
Besides using pr_info() to print the linkdown status for a plug-in slot, add extra indication that this is expected if the slot is empty. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel')
-rw-r--r--arch/tile/kernel/pci_gx.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c
index e0d6664..bf8c69d 100644
--- a/arch/tile/kernel/pci_gx.c
+++ b/arch/tile/kernel/pci_gx.c
@@ -729,8 +729,14 @@ int __init pcibios_init(void)
__gxio_mmio_read(trio_context->mmio_base_mac +
reg_offset);
if (!port_status.dl_up) {
- pr_err("PCI: link is down, MAC %d on TRIO %d\n",
- mac, trio_index);
+ if (pcie_ports[trio_index][mac].removable) {
+ pr_info("PCI: link is down, MAC %d on TRIO %d\n",
+ mac, trio_index);
+ pr_info("This is expected if no PCIe card"
+ " is connected to this link\n");
+ } else
+ pr_err("PCI: link is down, MAC %d on TRIO %d\n",
+ mac, trio_index);
continue;
}
OpenPOWER on IntegriCloud