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 (4): intel_iommu: fix VTD_PAGE_MASK intel_iommu: let iotlb size tunable intel_iommu: use access_flags for iotlb intel_iommu: implement mru list for iotlb hw/i386/intel_iommu.c | 103 +++++++++++++++++++++++++---------------- hw/i386/intel_iommu_internal.h | 11 +---- hw/i386/trace-events | 1 - include/hw/i386/intel_iommu.h | 10 ++-- 4 files changed, 71 insertions(+), 54 deletions(-) -- 2.7.4