[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/2] VT-d: some enhancements on iotlb
From: |
Peter Xu |
Subject: |
[Qemu-devel] [PATCH v4 0/2] VT-d: some enhancements on iotlb |
Date: |
Mon, 17 Jul 2017 17:02:28 +0800 |
v4:
- removed patch 2 (x-iotlb-size patch) and patch 4 (mru list for
iotlb) [mst]
- used VTD_PAGE_SIZE_4K for patch 1 [Jason]
v3:
- fix issue reported by patchew on style
v2:
- rebase to master
- removed all "info iommu" patches for now
(is it bad to introduce new HMP commands without QMP? I thought not,
but in case I missed anything, please kindly let me know...)
Patch 1: fixes a very rare PT path issue on iova value. It didn't
break anything since it's merely not touched (only if when IOMMU
enabled, then set one device to PT), but still better fix it.
Patch 2: introduce "x-iotlb-size" to tune iotlb size, or to turn it
off (e.g., when we want to measure how iotlb affects one payload).
Patch 3: some refine on iotlb entry.
Patch 4: implemented MRU list algorithm for iotlb.
Please review. Thanks,
Peter Xu (2):
intel_iommu: fix iova for pt
intel_iommu: use access_flags for iotlb
hw/i386/intel_iommu.c | 19 +++++++++----------
hw/i386/intel_iommu_internal.h | 1 -
include/hw/i386/intel_iommu.h | 3 +--
3 files changed, 10 insertions(+), 13 deletions(-)
--
2.7.4
- [Qemu-devel] [PATCH v4 0/2] VT-d: some enhancements on iotlb,
Peter Xu <=