Move vfio_ccw to the new mdev API
Status from this message: Applied to vfio next branch for v5.16. Thanks,
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 1 replyApplied
- v310 patches 6 repliesSuperseded
- v29 patches 28 repliesSuperseded
Changes in v4 from the cover letter
- Rebase to vfio-next (9cef73918), no change
- Add acks
v3: https://lore.kernel.org/r/[email protected]
- Rebase to Christoph's group work & rc3; use vfio_register_emulated_iommu_dev()
- Remove GFP_DMA
- Order mdev_unregister_driver() symmetrically with init
- Rework what is considered a BROKEN event in fsm_close()
- NOP both CCW_EVENT_OPEN/CLOSE
- Documentation updates
- Remane goto label to err_init vfio_ccw_mdev_probe()
- Fix NULL pointer deref in mdev_device_create()
v2: https://lore.kernel.org/r/[email protected]
- Clean up the lifecycle in ccw with 7 new patches
- Rebase
v1: https://lore.kernel.org/all/[email protected]
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | vfio/ccw: Remove unneeded GFP_DMAdrivers/ | +1 | 0 replies | |
| 2/4 | vfio/ccw: Use functions for alloc/free of the vfio_ccw_privatedrivers/ | +78 | 0 replies | |
| 3/4 | vfio/ccw: Pass vfio_ccw_private not mdev_device to various functionsdrivers/ | +15 | 0 replies | |
| 4/4 | vfio/ccw: Convert to use vfio_register_emulated_iommu_dev()drivers/ drivers/ drivers/ | +85 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Matthew Rosato | Eric Farman | Christoph Hellwig | Cornelia Huck |
|---|---|---|---|---|
| 1/4 | R-b | R-b | ||
| 2/4 | R-b | |||
| 3/4 | R-b | R-b | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v4 0/4] Move vfio_ccw to the new mdev API
This is the first 4 patches of the v3 series which only change CCW to use the new VFIO API for mdevs and leaves the lifetime model as-is.
As agreed, we will go ahead with this set and IBM can take the remaining patches of cleanup when they want. (I won't resend them)
Alex: as Eric has now ack'd them please take them to the VFIO tree for this upcoming merge window
This is on github: https://github.com/jgunthorpe/linux/commits/vfio_ccw
Thanks,
Jason
v4:
- Rebase to vfio-next (9cef73918), no change
- Add acks
v3: https://lore.kernel.org/r/[email protected]
- Rebase to Christoph's group work & rc3; use vfio_register_emulated_iommu_dev()
- Remove GFP_DMA
- Order mdev_unregister_driver() symmetrically with init
- Rework what is considered a BROKEN event in fsm_close()
- NOP both CCW_EVENT_OPEN/CLOSE
- Documentation updates
- Remane goto label to err_init vfio_ccw_mdev_probe()
- Fix NULL pointer deref in mdev_device_create()
v2: https://lore.kernel.org/r/[email protected]
- Clean up the lifecycle in ccw with 7 new patches
- Rebase
v1: https://lore.kernel.org/all/[email protected]
Jason Gunthorpe (4):
vfio/ccw: Remove unneeded GFP_DMA
vfio/ccw: Use functions for alloc/free of the vfio_ccw_private vfio/ccw: Pass vfio_ccw_private not mdev_device to various functions vfio/ccw: Convert to use vfio_register_emulated_iommu_dev()
drivers/s390/cio/vfio_ccw_drv.c | 158 ++++++++++++++++------------ drivers/s390/cio/vfio_ccw_ops.c | 142 ++++++++++++++----------- drivers/s390/cio/vfio_ccw_private.h | 5 + 3 files changed, 177 insertions(+), 128 deletions(-)
base-commit: 9cef73918e15d2284e71022291a8a07901e80bad
Signature · 1 line
2.33.0