summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/Kconfig
diff options
context:
space:
mode:
authorSuresh Warrier <warrier@linux.vnet.ibm.com>2016-08-19 07:35:47 +0200
committerPaul Mackerras <paulus@ozlabs.org>2016-09-09 08:26:19 +0200
commit9576730d0e6e301343c5aead5418ad53fcecfd14 (patch)
tree119b6569f3771f48248207e459924c0c47aae44b /arch/powerpc/kvm/Kconfig
parentKVM: PPC: Book3S HV: Convert kvmppc_read_intr to a C function (diff)
downloadlinux-9576730d0e6e301343c5aead5418ad53fcecfd14.tar.xz
linux-9576730d0e6e301343c5aead5418ad53fcecfd14.zip
KVM: PPC: select IRQ_BYPASS_MANAGER
Select IRQ_BYPASS_MANAGER for PPC when CONFIG_KVM is set. Add the PPC producer functions for add and del producer. [paulus@ozlabs.org - Moved new functions from book3s.c to powerpc.c so booke compiles; added kvm_arch_has_irq_bypass implementation.] Signed-off-by: Suresh Warrier <warrier@linux.vnet.ibm.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/Kconfig')
-rw-r--r--arch/powerpc/kvm/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig
index c0a2478a8a2c..029be26b5a17 100644
--- a/arch/powerpc/kvm/Kconfig
+++ b/arch/powerpc/kvm/Kconfig
@@ -23,6 +23,8 @@ config KVM
select HAVE_KVM_EVENTFD
select SRCU
select KVM_VFIO
+ select IRQ_BYPASS_MANAGER
+ select HAVE_KVM_IRQ_BYPASS
config KVM_BOOK3S_HANDLER
bool