Re: [PATCH v4 2/8] vfio-ccw: Register a chp_event callback for vfio-ccw

Cornelia Huck
2020-05-06T13:18:44Z

On Tue, 5 May 2020 14:27:39 +0200
Eric Farman <farman@linux.ibm.com> wrote:

> From: Farhan Ali <alifm@linux.ibm.com>
>
> Register the chp_event callback to receive channel path related
> events for the subchannels managed by vfio-ccw.
>
> Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
> Signed-off-by: Eric Farman <farman@linux.ibm.com>
> ---
>
> Notes:
> v3->v4:
> - Check schib.lpum before calling cio_cancel_halt_clear [CH]
>
> v2->v3:
> - Add a call to cio_cancel_halt_clear() for CHP_VARY_OFF [CH]
>
> v1->v2:
> - Move s390dbf before cio_update_schib() call [CH]
>
> v0->v1: [EF]
> - Add s390dbf trace
>
> drivers/s390/cio/vfio_ccw_drv.c | 47 +++++++++++++++++++++++++++++++++
> 1 file changed, 47 insertions(+)
>

Reviewed-by: Cornelia Huck <cohuck@redhat.com>