projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11f19ec
)
x86/jailhouse: Respect pci=lastbus command line settings
author
Jan Kiszka
<jan.kiszka@siemens.com>
Fri, 19 Jan 2018 10:06:30 +0000
(11:06 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sat, 20 Jan 2018 07:15:44 +0000
(08:15 +0100)
Limiting the scan width to the known last bus via the command line can
accelerate the boot noteworthy.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jailhouse <jailhouse-dev@googlegroups.com>
Link:
https://lkml.kernel.org/r/51f5fe62-ca8f-9286-5cdb-39df3fad78b4@siemens.com
arch/x86/kernel/jailhouse.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/jailhouse.c
b/arch/x86/kernel/jailhouse.c
index 2b7ebbe9043d8b7a2fd8ee486ad4ddfc69afa1e2..b68fd895235ace042d11210bc0d8147e3a9842c2 100644
(file)
--- a/
arch/x86/kernel/jailhouse.c
+++ b/
arch/x86/kernel/jailhouse.c
@@
-119,8
+119,10
@@
static int __init jailhouse_pci_arch_init(void)
/*
* There are no bridges on the virtual PCI root bus under Jailhouse,
* thus no other way to discover all devices than a full scan.
+ * Respect any overrides via the command line, though.
*/
- pcibios_last_bus = 0xff;
+ if (pcibios_last_bus < 0)
+ pcibios_last_bus = 0xff;
return 0;
}