qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] VT-d: some enhancements on iotlb
@ 2017-07-12  7:36 Peter Xu
  2017-07-12  7:36 ` [Qemu-devel] [PATCH v2 1/4] intel_iommu: fix VTD_PAGE_MASK Peter Xu
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Peter Xu @ 2017-07-12  7:36 UTC (permalink / raw)
  To: qemu-devel; +Cc: Michael S . Tsirkin, peterx, Jason Wang

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-12  8:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-12  7:36 [Qemu-devel] [PATCH v2 0/4] VT-d: some enhancements on iotlb Peter Xu
2017-07-12  7:36 ` [Qemu-devel] [PATCH v2 1/4] intel_iommu: fix VTD_PAGE_MASK Peter Xu
2017-07-12  7:36 ` [Qemu-devel] [PATCH v2 2/4] intel_iommu: let iotlb size tunable Peter Xu
2017-07-12  7:36 ` [Qemu-devel] [PATCH v2 3/4] intel_iommu: use access_flags for iotlb Peter Xu
2017-07-12  7:36 ` [Qemu-devel] [PATCH v2 4/4] intel_iommu: implement mru list " Peter Xu
2017-07-12  7:47 ` [Qemu-devel] [PATCH v2 0/4] VT-d: some enhancements on iotlb no-reply
2017-07-12  8:13   ` Peter Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).