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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1347,6 +1347,9 @@ again:
		goto enable_and_dump;

	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);
		goto enable_and_dump;
	}