Support IOMMU for DMA device
Status from this message: Applied to dpdk-next-virtio/main.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest2 patches 5 repliesApplied
- v62 patches 4 repliesSuperseded
- v52 patches 2 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 2 patches | 0 replies | Superseded | |
| v3 | 2 patches | 2 replies | Superseded | |
| v2 | 2 patches | 6 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Changes in v7 from the cover letter
* Fix an operator error.
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vfio: allow partially unmapping adjacent memorylib/ | +228 | 2 replies | |
| 2/2 | vhost: enable IOMMU for async vhostlib/ lib/ | +118 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Yvonne Yang | Maxime Coquelin |
|---|---|---|
| 1/2 | T-b | R-b |
| 2/2 | T-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v7 0/2] Support IOMMU for DMA device
This series supports DMA device to use vfio in async vhost.
The first patch extends the capability of current vfio dma mapping API to allow partial unmapping for adjacent memory if the platform does not support partial unmapping. The second patch involves the IOMMU programming for guest memory in async vhost.
v7:
* Fix an operator error.
v6:
* Fix a potential memory leak.
v5:
* Fix issue of a pointer be freed early.
v4:
* Fix a format issue.
v3:
* Move the async_map_status flag to virtio_net structure to avoid ABI breaking.
v2:
* Add rte_errno filtering for some devices bound in the kernel driver.
* Add a flag to check the status of region mapping.
* Fix one typo.
Xuan Ding (2):
vfio: allow partially unmapping adjacent memory
vhost: enable IOMMU for async vhost
lib/eal/linux/eal_vfio.c | 338 ++++++++++++++++++++++++++------------- lib/vhost/vhost.h | 4 + lib/vhost/vhost_user.c | 116 +++++++++++++- 3 files changed, 346 insertions(+), 112 deletions(-)
Signature · 1 line
2.17.1