OSDN Git Service

x86/jailhouse: Allow to use PCI_MMCONFIG without ACPI
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 7 Mar 2018 07:39:17 +0000 (08:39 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 8 Mar 2018 11:30:39 +0000 (12:30 +0100)
commit8364e1f8379c7f9d3e63f127a585f889906b3e10
tree8f3491c80b27722cd407a9dafb998cbec93ba607
parentb45c9f3656b691ab7324c7eaefb3416bea0326d8
x86/jailhouse: Allow to use PCI_MMCONFIG without ACPI

Jailhouse does not use ACPI, but it does support MMCONFIG. Make sure the
latter can be built without having to enable ACPI as well. Primarily, its
required to make the AMD mmconf-fam10h_64 depend upon MMCONFIG and
ACPI, instead of just the former.

Saves some bytes in the Jailhouse non-root kernel.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: jailhouse-dev@googlegroups.com
Cc: linux-pci@vger.kernel.org
Cc: virtualization@lists.linux-foundation.org
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lkml.kernel.org/r/788bbd5325d1922235e9562c213057425fbc548c.1520408357.git.jan.kiszka@siemens.com
arch/x86/Kconfig
arch/x86/kernel/Makefile
arch/x86/kernel/cpu/amd.c