[RFC v2 0/5] Some vfio-ccw fixes

Farhan Ali
2019-07-08T20:10:44Z

Hi,

While trying to chase down the problem regarding the stacktraces,
I have also found some minor problems in the code.

Would appreciate any review or feedback regarding them.

Thanks
Farhan

ChangeLog
---------
v1 -> v2
- Update docs for csch/hsch since we can support those
instructions now (patch 5)
- Fix the memory leak where we fail to free a ccwchain (patch 2)
- Add fixes tag where appropriate.
- Fix comment instead of the order when setting orb.cmd.c64 (patch 1)

Farhan Ali (5):
vfio-ccw: Fix misleading comment when setting orb.cmd.c64
vfio-ccw: Fix memory leak and don't call cp_free in cp_init
vfio-ccw: Set pa_nr to 0 if memory allocation fails for pa_iova_pfn
vfio-ccw: Don't call cp_free if we are processing a channel program
vfio-ccw: Update documentation for csch/hsch

Documentation/s390/vfio-ccw.rst | 31 ++++++++++++++++++++++++++++---
drivers/s390/cio/vfio_ccw_cp.c | 19 ++++++++++++-------
drivers/s390/cio/vfio_ccw_drv.c | 2 +-
3 files changed, 41 insertions(+), 11 deletions(-)

--
2.7.4