public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: jailhouse: add PCI dependency
@ 2018-01-15 15:51 Arnd Bergmann
  2018-01-15 16:52 ` [tip:x86/platform] x86/jailhouse: Add " tip-bot for Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2018-01-15 15:51 UTC (permalink / raw)
  To: Jan Kiszka, Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86
  Cc: Arnd Bergmann, linux-kernel

Building jailhouse support without PCI results in a link error:

arch/x86/kernel/jailhouse.o: In function `jailhouse_init_platform':
jailhouse.c:(.init.text+0x235): undefined reference to `pci_probe'
arch/x86/kernel/jailhouse.o: In function `jailhouse_pci_arch_init':
jailhouse.c:(.init.text+0x265): undefined reference to `pci_direct_init'
jailhouse.c:(.init.text+0x26c): undefined reference to `pcibios_last_bus'

This adds the missing Kconfig dependency.

Fixes: a0c01e4bb92d ("x86/jailhouse: Initialize PCI support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/x86/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 10fcb4d147be..0878ff57fec3 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -813,7 +813,7 @@ config PARAVIRT_CLOCK
 
 config JAILHOUSE_GUEST
 	bool "Jailhouse non-root cell support"
-	depends on X86_64
+	depends on X86_64 && PCI
 	select X86_PM_TIMER
 	---help---
 	  This option allows to run Linux as guest in a Jailhouse non-root
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-15 16:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-15 15:51 [PATCH] x86: jailhouse: add PCI dependency Arnd Bergmann
2018-01-15 16:52 ` [tip:x86/platform] x86/jailhouse: Add " tip-bot for Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox