From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gavin Shan Date: Fri, 09 May 2014 07:49:33 +0000 Subject: [PATCH 01/10] drivers/vfio: Introduce CONFIG_VFIO_EEH Message-Id: <1399621782-23281-2-git-send-email-gwshan@linux.vnet.ibm.com> List-Id: References: <1399621782-23281-1-git-send-email-gwshan@linux.vnet.ibm.com> In-Reply-To: <1399621782-23281-1-git-send-email-gwshan@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org Cc: aik@ozlabs.ru, alex.williamson@redhat.com, qiudayu@linux.vnet.ibm.com, Gavin Shan The patch introduces CONFIG_VFIO_EEH for more IOCTL commands on tce_iommu_driver_ops to support EEH funtionality for PCI devices that are passed through from host to guest. Signed-off-by: Gavin Shan --- drivers/vfio/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig index af7b204..4f3293b 100644 --- a/drivers/vfio/Kconfig +++ b/drivers/vfio/Kconfig @@ -8,11 +8,17 @@ config VFIO_IOMMU_SPAPR_TCE depends on VFIO && SPAPR_TCE_IOMMU default n +config VFIO_EEH + tristate + depends on EEH && VFIO_IOMMU_SPAPR_TCE + default n + menuconfig VFIO tristate "VFIO Non-Privileged userspace driver framework" depends on IOMMU_API select VFIO_IOMMU_TYPE1 if X86 select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES) + select VFIO_EEH if PPC_POWERNV select ANON_INODES help VFIO provides a framework for secure userspace device drivers. -- 1.8.3.2