[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [RFC 0/7] Proposal to make x86 IOMMU driver support configurable
This series aims to provide a means to render the iommu driver support for x86 configurable. Currently, irrespectively of the target platform, both AMD and Intel iommu drivers are built. This is the case because the existent Kconfig infrastructure does not provide any facilities for finer-grained configuration. The series adds two new Kconfig options, AMD_IOMMU and INTEL_VTD, that can be used to generate a tailored iommu configuration for a given platform. This series will be part of a broader effort to separate platform specific code and it is sent as an RFC to gather feedback regarding the way the separation should be performed. Xenia Ragiadakou (7): x86/iommu: make AMD-Vi and Intel VT-d support configurable x86/iommu: amd_iommu_perdev_intremap is AMD-Vi specific x86/iommu: iommu_igfx, iommu_qinval and iommu_snoop are VT-d specific x86/acpi: separate AMD-Vi and VT-d specific functions x86/iommu: the code addressing CVE-2011-1898 is VT-d specific x86/iommu: call pi_update_irte through an hvm_function callback x86/dpci: move hvm_dpci_isairq_eoi() to generic HVM code xen/arch/x86/hvm/vmx/vmx.c | 10 ++++ xen/arch/x86/include/asm/acpi.h | 14 ++++++ xen/arch/x86/include/asm/hvm/hvm.h | 22 ++++++++ xen/arch/x86/include/asm/hvm/io.h | 1 + xen/arch/x86/include/asm/hvm/vmx/vmx.h | 11 ++++ xen/arch/x86/include/asm/iommu.h | 5 +- xen/arch/x86/pv/hypercall.c | 2 + xen/arch/x86/x86_64/entry.S | 2 + xen/drivers/passthrough/Kconfig | 16 ++++++ xen/drivers/passthrough/Makefile | 4 +- xen/drivers/passthrough/amd/iommu_init.c | 2 + xen/drivers/passthrough/iommu.c | 7 ++- xen/drivers/passthrough/vtd/x86/Makefile | 1 - xen/drivers/passthrough/vtd/x86/hvm.c | 64 ------------------------ xen/drivers/passthrough/x86/hvm.c | 47 +++++++++++++++-- xen/include/xen/acpi.h | 3 -- xen/include/xen/iommu.h | 11 ++-- 17 files changed, 141 insertions(+), 81 deletions(-) delete mode 100644 xen/drivers/passthrough/vtd/x86/hvm.c -- 2.37.2
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |