[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/7] VT-d: PT (passthrough) mode support and misc
From: |
Peter Xu |
Subject: |
[Qemu-devel] [PATCH v2 0/7] VT-d: PT (passthrough) mode support and misc fixes |
Date: |
Mon, 17 Apr 2017 19:32:03 +0800 |
v2:
- resending v1 since my patch script had a regression, which failed to
send the patches to the list... trying again. sorry for the noise!
This series is for 2.10, and based on following series:
[PATCH v8 0/9] VT-d: vfio enablement and misc enhances
This series add support for per-device passthrough mode for VT-d
emulation, along with some tweaks on existing codes.
Patches 1-2 are memory related cleanups.
Patches 3-6 are VT-d cleanups.
Patch 7 add support for passthrough.
todo:
- vhost: when pt is specified for vhost-enabled device, kernel can
avoid translating the message and fallback to no-iommu mode.
Please review. Thanks.
Peter Xu (7):
memory: tune last param of iommu_ops.translate()
memory: remove the last param in memory_region_iommu_replay()
x86-iommu: use DeviceClass properties
intel_iommu: renaming context entry helpers
intel_iommu: provide vtd_ce_get_type()
intel_iommu: use IOMMU_ACCESS_FLAG()
intel_iommu: support passthrough (PT)
exec.c | 6 +-
hw/alpha/typhoon.c | 2 +-
hw/dma/rc4030.c | 2 +-
hw/i386/amd_iommu.c | 4 +-
hw/i386/intel_iommu.c | 146 +++++++++++++++++++++++++++++++----------
hw/i386/intel_iommu_internal.h | 1 +
hw/i386/trace-events | 1 +
hw/i386/x86-iommu.c | 48 +++-----------
hw/pci-host/apb.c | 2 +-
hw/ppc/spapr_iommu.c | 2 +-
hw/s390x/s390-pci-bus.c | 2 +-
hw/s390x/s390-pci-inst.c | 2 +-
hw/vfio/common.c | 2 +-
include/exec/memory.h | 15 +++--
include/hw/i386/x86-iommu.h | 1 +
memory.c | 7 +-
16 files changed, 146 insertions(+), 97 deletions(-)
--
2.7.4
- [Qemu-devel] [PATCH v2 0/7] VT-d: PT (passthrough) mode support and misc fixes,
Peter Xu <=
- [Qemu-devel] [PATCH v2 1/7] memory: tune last param of iommu_ops.translate(), Peter Xu, 2017/04/17
- [Qemu-devel] [PATCH v2 2/7] memory: remove the last param in memory_region_iommu_replay(), Peter Xu, 2017/04/17
- [Qemu-devel] [PATCH v2 3/7] x86-iommu: use DeviceClass properties, Peter Xu, 2017/04/17
- [Qemu-devel] [PATCH v2 4/7] intel_iommu: renaming context entry helpers, Peter Xu, 2017/04/17
- [Qemu-devel] [PATCH v2 5/7] intel_iommu: provide vtd_ce_get_type(), Peter Xu, 2017/04/17
- [Qemu-devel] [PATCH v2 6/7] intel_iommu: use IOMMU_ACCESS_FLAG(), Peter Xu, 2017/04/17
- [Qemu-devel] [PATCH v2 7/7] intel_iommu: support passthrough (PT), Peter Xu, 2017/04/17