vfio: ccw: VFIO CCW cleanup part1
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 5 repliesIn review
- v22 patches 0 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | vfio: ccw: Register mediated device once all structures are initializeddrivers/ | +4 | 0 replies | |
| 2/6 | vfio: ccw: Rework subchannel state on setupdrivers/ drivers/ drivers/ +1 more | +34 | 2 replies | |
| 3/6 | vfio: ccw: Rework subchannel state on removingdrivers/ drivers/ | +10 | 0 replies | |
| 4/6 | vfio: ccw: Rework subchannel state on sch_eventdrivers/ | +2 | 0 replies | |
| 5/6 | vfio: ccw: Documenting state transitionsDocumentation/ | +45 | 0 replies | |
| 6/6 | vfio: ccw: serialize the write system callsdrivers/ | +13 | 3 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Eric Farman |
|---|---|
| 1/6 | R-b |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/6] vfio: ccw: VFIO CCW cleanup part1
The goal of the patches of this serie is to clarify the code of state/event handling.
- First patch (already acked/applied) makes sure that every structures are initialized before the mediated device is registered.
(Only here to apply the serie on the main tree).
- vfio: ccw: Rework subchannel state on setup
makes sure that the device can not be used before a guest is ready to drive it.
- vfio: ccw: Rework subchannel state on removing could be squash with the previous: same kind of rewriting but for the removing/release callbacks.
- vfio: ccw: Rework subchannel state on sch_event sch_event handling seems quite poor to me.
Anyway, I do not understand why we hould have state change there.
- vfio: ccw: Documenting state transitions
- vfio: ccw: serialize the write system calls Quite independent of the previous patches, this makes sure that the entry in the driver is serialized.
Pierre Morel (6):
vfio: ccw: Register mediated device once all structures are
initialized
vfio: ccw: Rework subchannel state on setup
vfio: ccw: Rework subchannel state on removing
vfio: ccw: Rework subchannel state on sch_event
vfio: ccw: Documenting state transitions
vfio: ccw: serialize the write system calls
Documentation/s390/vfio-ccw.txt | 45 +++++++++++++++++++++++++ drivers/s390/cio/vfio_ccw_async.c | 11 +++++++ drivers/s390/cio/vfio_ccw_drv.c | 30 ++++------------- drivers/s390/cio/vfio_ccw_ops.c | 65 ++++++++++++++++++++++++------------- drivers/s390/cio/vfio_ccw_private.h | 1 + 5 files changed, 105 insertions(+), 47 deletions(-)
Signature · 19 lines
2.7.4 Changelog: from v2: - adaptation after Conny's hlt/clr patches - integration of Conny's comments - reworking of the state changes to make it clearer - added documentation - added serialization from v1: - change commit message - add reviewed-by from Eric (Really this time) from v0: - isolate these two patches from the previous serie - Added Reviewed-by Eric - Ortographic correction