Skip to content

hw/vfio: Remove invalid uses of ram_addr_t type

Philippe Mathieu-Daudé qemu-devel 3 versions – Applied

Status from this message: Applied to vfio-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Rename variables as 'translated_addr' (Cédric)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4system/iommufd: Use uint64_t type for IOVA mapping sizebackends/iommufd.c include/system/iommufd.h+6 -60 replies
2/4hw/vfio: Reorder vfio_container_query_dirty_bitmap() trace formathw/vfio/trace-events+2 -21 reply
3/4hw/vfio: Avoid ram_addr_t in vfio_container_query_dirty_bitmap()hw/vfio/container.c hw/vfio/listener.c hw/vfio/trace-events +1 more+18 -160 replies
4/4hw/vfio: Use uint64_t for IOVA mapping size in vfio_container_dma_*maphw/vfio-user/container.c hw/vfio/container-legacy.c hw/vfio/container.c +4 more+18 -180 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchCédric Le Goater
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] hw/vfio: Remove invalid uses of ram_addr_t type

Replace ram_addr_t by either hwaddr or uint64_t types.

Since v2:
- Rename variables as 'translated_addr' (Cédric)

Philippe Mathieu-Daudé (4):
system/iommufd: Use uint64_t type for IOVA mapping size hw/vfio: Reorder vfio_container_query_dirty_bitmap() trace format hw/vfio: Avoid ram_addr_t in vfio_container_query_dirty_bitmap() hw/vfio: Use uint64_t for IOVA mapping size in vfio_container_dma_*map

 include/hw/vfio/vfio-container.h | 13 +++++++------
 include/hw/vfio/vfio-cpr.h       |  2 +-
 include/system/iommufd.h         |  6 +++---
 backends/iommufd.c               |  6 +++---
 hw/vfio-user/container.c         |  4 ++--
 hw/vfio/container-legacy.c       |  8 ++++----
 hw/vfio/container.c              | 15 ++++++++-------
 hw/vfio/cpr-legacy.c             |  2 +-
 hw/vfio/iommufd.c                |  6 +++---
 hw/vfio/listener.c               | 18 +++++++++---------
 hw/vfio/trace-events             |  6 +++---
 11 files changed, 44 insertions(+), 42 deletions(-)
Signature · 1 line
2.51.0