intel-iommu: nested vIOMMU, cleanups, bug fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest9 patches 2 repliesIn review
- v312 patches 14 repliesSuperseded
- v210 patches 28 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 10 patches | 40 replies | Superseded |
Changes in v4 from the cover letter
- 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
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | intel-iommu: send PSI always even if across PDEshw/ | +30 | 0 replies | |
| 2/9 | intel-iommu: remove IntelIOMMUNotifierNodehw/ include/ | +13 | 0 replies | |
| 3/9 | intel-iommu: add iommu lockhw/ include/ | +53 | 0 replies | |
| 4/9 | intel-iommu: only do page walk for MAP notifiershw/ include/ | +41 | 0 replies | |
| 5/9 | intel-iommu: introduce vtd_page_walk_infohw/ | +52 | 0 replies | |
| 6/9 | intel-iommu: pass in address space when page walkhw/ | +4 | 0 replies | |
| 7/9 | intel-iommu: trace domain id during page walkhw/ hw/ | +11 | 0 replies | |
| 8/9 | util: implement simple iova treeMAINTAINERS include/ util/ +1 more | +255 | 0 replies | |
| 9/9 | intel-iommu: rework the page walk logichw/ hw/ include/ | +159 | 2 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Jason Wang | Jintack Lim |
|---|---|---|
| 1/9 | A-b | |
| 2/9 | ||
| 3/9 | ||
| 4/9 | ||
| 5/9 | ||
| 6/9 | ||
| 7/9 | ||
| 8/9 | ||
| 9/9 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v4 0/9] intel-iommu: nested vIOMMU, cleanups, bug fixes
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
Signature · 1 line
2.17.0