Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-23 Thread Pierre Morel
On 22/05/2018 17:38, Cornelia Huck wrote: [still backlog processing...] On Thu, 3 May 2018 14:06:51 +0200 Pierre Morel wrote: On 30/04/2018 17:30, Cornelia Huck wrote: On Wed, 25 Apr 2018 15:52:19 +0200 Pierre Morel wrote: On

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-23 Thread Pierre Morel
On 22/05/2018 17:38, Cornelia Huck wrote: [still backlog processing...] On Thu, 3 May 2018 14:06:51 +0200 Pierre Morel wrote: On 30/04/2018 17:30, Cornelia Huck wrote: On Wed, 25 Apr 2018 15:52:19 +0200 Pierre Morel wrote: On 25/04/2018 10:41, Cornelia Huck wrote: On Thu, 19 Apr 2018

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-23 Thread Cornelia Huck
On Wed, 23 May 2018 09:50:00 +0200 Pierre Morel wrote: > On 22/05/2018 17:41, Cornelia Huck wrote: > > On Fri, 4 May 2018 13:02:36 +0200 > > Pierre Morel wrote: > > > >> On 04/05/2018 03:19, Dong Jia Shi wrote: > >>> * Pierre Morel

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-23 Thread Cornelia Huck
On Wed, 23 May 2018 09:50:00 +0200 Pierre Morel wrote: > On 22/05/2018 17:41, Cornelia Huck wrote: > > On Fri, 4 May 2018 13:02:36 +0200 > > Pierre Morel wrote: > > > >> On 04/05/2018 03:19, Dong Jia Shi wrote: > >>> * Pierre Morel [2018-05-03 16:26:29 +0200]: > >>> > On

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-23 Thread Pierre Morel
On 22/05/2018 17:41, Cornelia Huck wrote: On Fri, 4 May 2018 13:02:36 +0200 Pierre Morel wrote: On 04/05/2018 03:19, Dong Jia Shi wrote: * Pierre Morel [2018-05-03 16:26:29 +0200]: On 02/05/2018 09:46, Dong Jia Shi wrote: * Cornelia

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-23 Thread Pierre Morel
On 22/05/2018 17:41, Cornelia Huck wrote: On Fri, 4 May 2018 13:02:36 +0200 Pierre Morel wrote: On 04/05/2018 03:19, Dong Jia Shi wrote: * Pierre Morel [2018-05-03 16:26:29 +0200]: On 02/05/2018 09:46, Dong Jia Shi wrote: * Cornelia Huck [2018-04-30 17:33:05 +0200]: On Thu, 26 Apr

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-22 Thread Cornelia Huck
On Fri, 4 May 2018 13:02:36 +0200 Pierre Morel wrote: > On 04/05/2018 03:19, Dong Jia Shi wrote: > > * Pierre Morel [2018-05-03 16:26:29 +0200]: > > > >> On 02/05/2018 09:46, Dong Jia Shi wrote: > >>> * Cornelia Huck

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-22 Thread Cornelia Huck
On Fri, 4 May 2018 13:02:36 +0200 Pierre Morel wrote: > On 04/05/2018 03:19, Dong Jia Shi wrote: > > * Pierre Morel [2018-05-03 16:26:29 +0200]: > > > >> On 02/05/2018 09:46, Dong Jia Shi wrote: > >>> * Cornelia Huck [2018-04-30 17:33:05 +0200]: > >>> > On Thu, 26 Apr 2018 15:48:06

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-22 Thread Cornelia Huck
[still backlog processing...] On Thu, 3 May 2018 14:06:51 +0200 Pierre Morel wrote: > On 30/04/2018 17:30, Cornelia Huck wrote: > > On Wed, 25 Apr 2018 15:52:19 +0200 > > Pierre Morel wrote: > > > >> On 25/04/2018 10:41, Cornelia Huck

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-22 Thread Cornelia Huck
[still backlog processing...] On Thu, 3 May 2018 14:06:51 +0200 Pierre Morel wrote: > On 30/04/2018 17:30, Cornelia Huck wrote: > > On Wed, 25 Apr 2018 15:52:19 +0200 > > Pierre Morel wrote: > > > >> On 25/04/2018 10:41, Cornelia Huck wrote: > >>> On Thu, 19 Apr 2018 16:48:07 +0200 > >>>

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-04 Thread Pierre Morel
On 04/05/2018 03:19, Dong Jia Shi wrote: * Pierre Morel [2018-05-03 16:26:29 +0200]: On 02/05/2018 09:46, Dong Jia Shi wrote: * Cornelia Huck [2018-04-30 17:33:05 +0200]: On Thu, 26 Apr 2018 15:48:06 +0800 Dong Jia Shi

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-04 Thread Pierre Morel
On 04/05/2018 03:19, Dong Jia Shi wrote: * Pierre Morel [2018-05-03 16:26:29 +0200]: On 02/05/2018 09:46, Dong Jia Shi wrote: * Cornelia Huck [2018-04-30 17:33:05 +0200]: On Thu, 26 Apr 2018 15:48:06 +0800 Dong Jia Shi wrote: * Dong Jia Shi [2018-04-26 15:30:54 +0800]: [...] @@

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-03 Thread Pierre Morel
On 02/05/2018 09:46, Dong Jia Shi wrote: * Cornelia Huck [2018-04-30 17:33:05 +0200]: On Thu, 26 Apr 2018 15:48:06 +0800 Dong Jia Shi wrote: * Dong Jia Shi [2018-04-26 15:30:54 +0800]: [...] @@ -179,7 +160,7

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-03 Thread Pierre Morel
On 02/05/2018 09:46, Dong Jia Shi wrote: * Cornelia Huck [2018-04-30 17:33:05 +0200]: On Thu, 26 Apr 2018 15:48:06 +0800 Dong Jia Shi wrote: * Dong Jia Shi [2018-04-26 15:30:54 +0800]: [...] @@ -179,7 +160,7 @@ static int fsm_irq(struct vfio_ccw_private *private, if

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-03 Thread Pierre Morel
On 30/04/2018 17:30, Cornelia Huck wrote: On Wed, 25 Apr 2018 15:52:19 +0200 Pierre Morel wrote: On 25/04/2018 10:41, Cornelia Huck wrote: On Thu, 19 Apr 2018 16:48:07 +0200 Pierre Morel wrote: diff --git

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-03 Thread Pierre Morel
On 30/04/2018 17:30, Cornelia Huck wrote: On Wed, 25 Apr 2018 15:52:19 +0200 Pierre Morel wrote: On 25/04/2018 10:41, Cornelia Huck wrote: On Thu, 19 Apr 2018 16:48:07 +0200 Pierre Morel wrote: diff --git a/drivers/s390/cio/vfio_ccw_private.h b/drivers/s390/cio/vfio_ccw_private.h index

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-02 Thread Cornelia Huck
On Wed, 2 May 2018 15:46:22 +0800 Dong Jia Shi wrote: > * Cornelia Huck [2018-04-30 17:33:05 +0200]: > > > On Thu, 26 Apr 2018 15:48:06 +0800 > > Dong Jia Shi wrote: > > > > > * Dong Jia Shi

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-02 Thread Cornelia Huck
On Wed, 2 May 2018 15:46:22 +0800 Dong Jia Shi wrote: > * Cornelia Huck [2018-04-30 17:33:05 +0200]: > > > On Thu, 26 Apr 2018 15:48:06 +0800 > > Dong Jia Shi wrote: > > > > > * Dong Jia Shi [2018-04-26 15:30:54 +0800]: > > > > > > [...] > > > > > > > > @@ -179,7 +160,7 @@ static int

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-04-30 Thread Cornelia Huck
On Thu, 26 Apr 2018 15:48:06 +0800 Dong Jia Shi wrote: > * Dong Jia Shi [2018-04-26 15:30:54 +0800]: > > [...] > > > > @@ -179,7 +160,7 @@ static int fsm_irq(struct vfio_ccw_private *private, > > > if (private->io_trigger) > > >

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-04-30 Thread Cornelia Huck
On Thu, 26 Apr 2018 15:48:06 +0800 Dong Jia Shi wrote: > * Dong Jia Shi [2018-04-26 15:30:54 +0800]: > > [...] > > > > @@ -179,7 +160,7 @@ static int fsm_irq(struct vfio_ccw_private *private, > > > if (private->io_trigger) > > > eventfd_signal(private->io_trigger, 1); > > > > > >

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-04-30 Thread Cornelia Huck
On Wed, 25 Apr 2018 15:52:19 +0200 Pierre Morel wrote: > On 25/04/2018 10:41, Cornelia Huck wrote: > > On Thu, 19 Apr 2018 16:48:07 +0200 > > Pierre Morel wrote: > >> diff --git a/drivers/s390/cio/vfio_ccw_private.h > >>

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-04-30 Thread Cornelia Huck
On Wed, 25 Apr 2018 15:52:19 +0200 Pierre Morel wrote: > On 25/04/2018 10:41, Cornelia Huck wrote: > > On Thu, 19 Apr 2018 16:48:07 +0200 > > Pierre Morel wrote: > >> diff --git a/drivers/s390/cio/vfio_ccw_private.h > >> b/drivers/s390/cio/vfio_ccw_private.h > >> index 3284e64..93aab87 100644

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-04-25 Thread Cornelia Huck
On Thu, 19 Apr 2018 16:48:07 +0200 Pierre Morel wrote: > This patch simplifies the IO request handling to handle the only > implemented request: SSCH. I *really* need to post my halt/clear patches soon, I think. > Other request are invalid and get a return value of

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-04-25 Thread Cornelia Huck
On Thu, 19 Apr 2018 16:48:07 +0200 Pierre Morel wrote: > This patch simplifies the IO request handling to handle the only > implemented request: SSCH. I *really* need to post my halt/clear patches soon, I think. > Other request are invalid and get a return value of -EINVAL. This is an user

[PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-04-19 Thread Pierre Morel
This patch simplifies the IO request handling to handle the only implemented request: SSCH. Other request are invalid and get a return value of -EINVAL. This patch change the event name to VFIO_CCW_EVENT_SSCH_REQ to reflect what is done and prepare for future implementation of other requests.

[PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-04-19 Thread Pierre Morel
This patch simplifies the IO request handling to handle the only implemented request: SSCH. Other request are invalid and get a return value of -EINVAL. This patch change the event name to VFIO_CCW_EVENT_SSCH_REQ to reflect what is done and prepare for future implementation of other requests.