From: tip-bot for Arnd Bergmann <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: hpa@zytor.com, mingo@kernel.org, arnd@arndb.de,
jan.kiszka@siemens.com, tglx@linutronix.de,
linux-kernel@vger.kernel.org
Subject: [tip:x86/platform] x86/jailhouse: Add PCI dependency
Date: Mon, 15 Jan 2018 08:52:12 -0800 [thread overview]
Message-ID: <tip-abde587b61a3ddb2918385f95ef2b3ca37d5a017@git.kernel.org> (raw)
In-Reply-To: <20180115155150.51407-1-arnd@arndb.de>
Commit-ID: abde587b61a3ddb2918385f95ef2b3ca37d5a017
Gitweb: https://git.kernel.org/tip/abde587b61a3ddb2918385f95ef2b3ca37d5a017
Author: Arnd Bergmann <arnd@arndb.de>
AuthorDate: Mon, 15 Jan 2018 16:51:20 +0100
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 15 Jan 2018 17:46:59 +0100
x86/jailhouse: Add PCI dependency
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'
Add the missing Kconfig dependency.
Fixes: a0c01e4bb92d ("x86/jailhouse: Initialize PCI support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Link: https://lkml.kernel.org/r/20180115155150.51407-1-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 a936e29..390be2e 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -798,7 +798,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
prev parent reply other threads:[~2018-01-15 16:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-15 15:51 [PATCH] x86: jailhouse: add PCI dependency Arnd Bergmann
2018-01-15 16:52 ` tip-bot for Arnd Bergmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-abde587b61a3ddb2918385f95ef2b3ca37d5a017@git.kernel.org \
--to=tipbot@zytor.com \
--cc=arnd@arndb.de \
--cc=hpa@zytor.com \
--cc=jan.kiszka@siemens.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox