summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-08-11 16:25:30 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-10-13 16:12:17 +0200
commit42cf2a633d5dc2b5abc440d61b6c1c5fb7dddbbb (patch)
treec68243b57d8076ad8f0648356f47bfff6cb2898c
parentPCI: vmd: Do not disable MSI-X remapping if interrupt remapping is enabled by... (diff)
downloadlinux-42cf2a633d5dc2b5abc440d61b6c1c5fb7dddbbb.tar.xz
linux-42cf2a633d5dc2b5abc440d61b6c1c5fb7dddbbb.zip
PCI: vmd: depend on !UML
With UML having enabled (simulated) PCI on UML, VMD breaks allyesconfig/allmodconfig compilation because it assumes it's running on X86_64 bare metal, and has hardcoded API use of ARCH=x86. Make it depend on !UML to fix this. Link: https://lore.kernel.org/r/20210811162530.affe26231bc3.I131b3c1e67e3d2ead6e98addd256c835fbef9a3e@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Jon Derrick <jonathan.derrick@intel.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
-rw-r--r--drivers/pci/controller/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index 326f7d13024f..9ae1ff198e57 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -254,7 +254,7 @@ config PCIE_MEDIATEK_GEN3
MediaTek SoCs.
config VMD
- depends on PCI_MSI && X86_64 && SRCU
+ depends on PCI_MSI && X86_64 && SRCU && !UML
tristate "Intel Volume Management Device Driver"
help
Adds support for the Intel Volume Management Device (VMD). VMD is a