PCI: conditional resource-reallocation through kernel parameter pci=realloc
Multiple attempts to dynamically reallocate pci resources have unfortunately lead to regressions. Though we continue to fix the regressions and fine tune the dynamic-reallocation behavior, we have not reached a acceptable state yet. This patch provides a interim solution. It disables dynamic reallocation by default, but adds the ability to enable it through pci=realloc kernel command line parameter. Tested-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
@@ -3483,6 +3483,8 @@ static int __init pci_setup(char *str)
|
||||
pci_no_msi();
|
||||
} else if (!strcmp(str, "noaer")) {
|
||||
pci_no_aer();
|
||||
} else if (!strncmp(str, "realloc", 7)) {
|
||||
pci_realloc();
|
||||
} else if (!strcmp(str, "nodomains")) {
|
||||
pci_no_domains();
|
||||
} else if (!strncmp(str, "cbiosize=", 9)) {
|
||||
|
Reference in New Issue
Block a user