From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gavin Shan Subject: [PATCH 01/22] powerpc: Introduce CONFIG_KVM_EEH Date: Mon, 5 May 2014 11:27:50 +1000 Message-ID: <1399253291-3975-2-git-send-email-gwshan@linux.vnet.ibm.com> References: <1399253291-3975-1-git-send-email-gwshan@linux.vnet.ibm.com> Cc: alex.williamson@redhat.com, benh@kernel.crashing.org, aik@ozlabs.ru, qiudayu@linux.vnet.ibm.com, Gavin Shan To: linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Return-path: In-Reply-To: <1399253291-3975-1-git-send-email-gwshan@linux.vnet.ibm.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org The patch introduces kernel configuration option KVM_EEH, which depends on KVM_BOOK3S_64, VFIO_IOMMU_SPAPR_TCE and EEH. The option is to enable emulating EEH RTAS services that required by EEH module in pSeries-based guest. Signed-off-by: Gavin Shan --- arch/powerpc/kvm/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig index 141b202..743d2d9 100644 --- a/arch/powerpc/kvm/Kconfig +++ b/arch/powerpc/kvm/Kconfig @@ -189,6 +189,14 @@ config KVM_XICS Specification) interrupt controller architecture used on IBM POWER (pSeries) servers. +config KVM_EEH + bool "KVM in-kernel EEH RTAS emulation" + depends on PPC_POWERNV && KVM_BOOK3S_64 && EEH && VFIO_IOMMU_SPAPR_TCE + default y + ---help--- + Enable support for emulating EEH RTAS services used on IBM + POWER (pSeries) servers. + source drivers/vhost/Kconfig endif # VIRTUALIZATION -- 1.8.3.2