Skip to content
Snippets Groups Projects
Commit eb572e7c authored by Yinghai Lu's avatar Yinghai Lu Committed by Jesse Barnes
Browse files

PCI: print out suggestion about using pci=realloc


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

-v2: update suggestion text.

Suggested-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent b55438fd
No related branches found
No related tags found
No related merge requests found
...@@ -1347,6 +1347,9 @@ pci_assign_unassigned_resources(void) ...@@ -1347,6 +1347,9 @@ pci_assign_unassigned_resources(void)
goto enable_and_dump; goto enable_and_dump;
if (tried_times >= pci_try_num) { if (tried_times >= pci_try_num) {
if (pci_realloc_enable == undefined)
printk(KERN_INFO "Some PCI device resources are unassigned, try booting with pci=realloc\n");
free_list(&fail_head); free_list(&fail_head);
goto enable_and_dump; goto enable_and_dump;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment