aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/Kconfig
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2018-06-17 10:22:57 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2018-06-21 17:17:50 +0100
commit37b65db85f9b2fc98267eee4a18d7506492e6e8c (patch)
treecba5b439e42e25cfb41296df2f20631e371e6641 /virt/kvm/Kconfig
parentKVM: Enforce error in ioctl for compat tasks when !KVM_COMPAT (diff)
downloadlinux-dev-37b65db85f9b2fc98267eee4a18d7506492e6e8c.tar.xz
linux-dev-37b65db85f9b2fc98267eee4a18d7506492e6e8c.zip
KVM: arm64: Prevent KVM_COMPAT from being selected
There is very little point in trying to support the 32bit KVM/arm API on arm64, and this was never an anticipated use case. Let's make it clear by not selecting KVM_COMPAT. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm/Kconfig')
-rw-r--r--virt/kvm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig
index 72143cfaf6ec..ea434ddc8499 100644
--- a/virt/kvm/Kconfig
+++ b/virt/kvm/Kconfig
@@ -47,7 +47,7 @@ config KVM_GENERIC_DIRTYLOG_READ_PROTECT
config KVM_COMPAT
def_bool y
- depends on KVM && COMPAT && !S390
+ depends on KVM && COMPAT && !(S390 || ARM64)
config HAVE_KVM_IRQ_BYPASS
bool