[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/9] intel-iommu: nested vIOMMU, cleanups, bug fi
From: |
Peter Xu |
Subject: |
[Qemu-devel] [PATCH v4 0/9] intel-iommu: nested vIOMMU, cleanups, bug fixes |
Date: |
Fri, 18 May 2018 15:25:08 +0800 |
Upstream repo: https://github.com/xzpeter/qemu/tree/fix-vtd-dma
This version contains little functional changes, mostly comment-wise
and patch squashings. I squashed the last 4 patches since they are
solving the same problem, meanwhile the old patch 9 itself might
brought some problem if without patch 12 so I just squashed them all.
I re-wrote the commit message for that patch (and it simplifies me to
write the SECURITY part since all those four patches are solving the
single problem). Reviewers can go to previous version 3 and have a
look at patches 9-12 since the contents are totally the same (and I
suppose that one might be easier for reviewers).
V3: http://lists.gnu.org/archive/html/qemu-devel/2018-05/msg04009.html
I made bold to have Jintack's Reported-by and Tested-by for the last
big patch already, after I did some smoke test for this new version.
v4:
- rename: notifiers_list to vtd_as_with_notifiers,
vtd_as_notify_mappings to vtd_as_has_map_notifier [Eric]
- tune the comments in misc patches [Eric]
- add missing places to take iommu lock [Eric]
- for each patch: cc stable, add "SECURITY IMPLICATION" at the
beginning of commit where necessary
- merge patch 9-12
Please review. Thanks.
Peter Xu (9):
intel-iommu: send PSI always even if across PDEs
intel-iommu: remove IntelIOMMUNotifierNode
intel-iommu: add iommu lock
intel-iommu: only do page walk for MAP notifiers
intel-iommu: introduce vtd_page_walk_info
intel-iommu: pass in address space when page walk
intel-iommu: trace domain id during page walk
util: implement simple iova tree
intel-iommu: rework the page walk logic
include/hw/i386/intel_iommu.h | 19 +-
include/qemu/iova-tree.h | 134 ++++++++++++
hw/i386/intel_iommu.c | 396 +++++++++++++++++++++++++---------
util/iova-tree.c | 114 ++++++++++
MAINTAINERS | 6 +
hw/i386/trace-events | 5 +-
util/Makefile.objs | 1 +
7 files changed, 566 insertions(+), 109 deletions(-)
create mode 100644 include/qemu/iova-tree.h
create mode 100644 util/iova-tree.c
--
2.17.0
- [Qemu-devel] [PATCH v4 0/9] intel-iommu: nested vIOMMU, cleanups, bug fixes,
Peter Xu <=
- [Qemu-devel] [PATCH v4 1/9] intel-iommu: send PSI always even if across PDEs, Peter Xu, 2018/05/18
- [Qemu-devel] [PATCH v4 2/9] intel-iommu: remove IntelIOMMUNotifierNode, Peter Xu, 2018/05/18
- [Qemu-devel] [PATCH v4 3/9] intel-iommu: add iommu lock, Peter Xu, 2018/05/18
- [Qemu-devel] [PATCH v4 4/9] intel-iommu: only do page walk for MAP notifiers, Peter Xu, 2018/05/18
- [Qemu-devel] [PATCH v4 5/9] intel-iommu: introduce vtd_page_walk_info, Peter Xu, 2018/05/18
- [Qemu-devel] [PATCH v4 6/9] intel-iommu: pass in address space when page walk, Peter Xu, 2018/05/18
- [Qemu-devel] [PATCH v4 7/9] intel-iommu: trace domain id during page walk, Peter Xu, 2018/05/18
- [Qemu-devel] [PATCH v4 8/9] util: implement simple iova tree, Peter Xu, 2018/05/18
- [Qemu-devel] [PATCH v4 9/9] intel-iommu: rework the page walk logic, Peter Xu, 2018/05/18