From patchwork Mon Jan 15 15:51:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 124536 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp711989lje; Mon, 15 Jan 2018 07:53:25 -0800 (PST) X-Google-Smtp-Source: ACJfBosU/ZZfb/6aHcGPEnlSs/cPlqLAT/AkzDJsJXRTIiehFVEh6DU1Mj1xGcYH0368ExZz6OG+ X-Received: by 10.98.7.207 with SMTP id 76mr7600468pfh.130.1516031605452; Mon, 15 Jan 2018 07:53:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516031605; cv=none; d=google.com; s=arc-20160816; b=LzxB6ISiYbAdXgUPGtWcYmHNTH5nN2wvT5JUATL0AjbvaFxnN/c3lmWkCb+ANQEy1w duwyHMKa9MhXDmEjAx4rH55A27etv3i4uQ+KlQp5t0CbXDdUKr2fAAI1Z3u89KMcHCkF EbYItQz7aU0ZIGMwRe+Dn1aBx2BvyJvy9O1z5BbVZwV0wXSWh/7INdpRpg/vKROdEYD0 FrvoHT3q/EU3k1EFG4VEcvOu1akPXnx4hkUR0/+87KgS43/14UI+uxwYsDYWFY1XPawL 6p/oWV++LvEk/XBFklpellvFg40bKlnFtCXXjxff649fVSHnLIAIY7I2Rh0vr4F6pcag nSJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=2hszn8bFHVnTdGUx7S3Kgg2nf/CH+R+sb7d4qbf0u3c=; b=X3k0Eag4hopFsKcqHgxRmMYorqaN+VpbCfhifmoMHYbWAZ8sZtHYzbszEu1Da10i/K 0NTkiVCP1yR9cJIbaFVpOsEnqouCTVHiAbBFTB3qn/MOAuQsoCONot00gN4xXnNhlmgo Pnc/ZKLKJ9/DNg5dEBwu08eC2TKUCq3w4bKVQvgM+qWm7DOdju000et2oSoLiNanBPS/ 2/DfGmoqg5v+UharlWYE+1qPgJjQOdNYRGkY+uTH83er1MxSFdiYt8Rp5BUJ/k0sI9qR oTvmBmTx7lOc/hGOfAZREKMPwQPsP0/z6aJpSeUgTIGjKoCpgKQpL13oBRtxG2jVmmQG /JHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si8312869pfj.60.2018.01.15.07.53.25; Mon, 15 Jan 2018 07:53:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755525AbeAOPxX (ORCPT + 28 others); Mon, 15 Jan 2018 10:53:23 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:60818 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754612AbeAOPxV (ORCPT ); Mon, 15 Jan 2018 10:53:21 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lwzrl-1ev1cH1Yxl-016ivO; Mon, 15 Jan 2018 16:51:52 +0100 From: Arnd Bergmann To: Jan Kiszka , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH] x86: jailhouse: add PCI dependency Date: Mon, 15 Jan 2018 16:51:20 +0100 Message-Id: <20180115155150.51407-1-ar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o5UE86qHlHP2D3qlJvPrwtp5sRVXw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 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