- removed patch 2 (x-iotlb-size patch) and patch 4 (mru list for
- used VTD_PAGE_SIZE_4K for patch 1 [Jason]
- fix issue reported by patchew on style
- 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(-)