]> git.baikalelectronics.ru Git - kernel.git/commit
xen: Remove Xen PVH/PVHVM dependency on PCI
authorJason Andryuk <jandryuk@gmail.com>
Wed, 14 Oct 2020 17:53:40 +0000 (13:53 -0400)
committerJuergen Gross <jgross@suse.com>
Wed, 16 Dec 2020 06:55:05 +0000 (07:55 +0100)
commit34aff14580d1b02971adfd63be994f9c045919aa
treeac30c73ee98c711ebc3323d63c78b7c153cb44f8
parente34ff4cda2322e42d4815e042d5a3b46b51c41c4
xen: Remove Xen PVH/PVHVM dependency on PCI

A Xen PVH domain doesn't have a PCI bus or devices, so it doesn't need
PCI support built in.  Currently, XEN_PVH depends on XEN_PVHVM which
depends on PCI.

Introduce XEN_PVHVM_GUEST as a toplevel item and change XEN_PVHVM to a
hidden variable.  This allows XEN_PVH to depend on XEN_PVHVM without PCI
while XEN_PVHVM_GUEST depends on PCI.

In drivers/xen, compile platform-pci depending on XEN_PVHVM_GUEST since
that pulls in the PCI dependency for linking.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20201014175342.152712-2-jandryuk@gmail.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/Kconfig
drivers/xen/Makefile