[PATCH 8/9] PCI: print out suggestion about using pci=realloc

From: Yinghai Lu
Date: Sun Feb 05 2012 - 01:55:45 EST


let user know they could try if pci=realloc could help.

Suggested-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
---
drivers/pci/setup-bus.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 22454c5..9526038 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -1346,6 +1346,9 @@ again:
goto enable_and_dump;

if (tried_times >= pci_try_num) {
+ if (pci_realloc_enable == enable_not_set)
+ printk(KERN_INFO "Some pci devices resources are not assigned, please try to boot with pci=realloc\n");
+
free_list(&fail_head);
goto enable_and_dump;
}
--
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/