Re: [PATCH v10 13/26] s390: vfio-ap: zeroize the AP queues

2018-09-24 Thread Tony Krowiak
On 09/24/2018 09:22 AM, Harald Freudenberger wrote: On 24.09.2018 14:16, Halil Pasic wrote: On 09/24/2018 01:36 PM, Cornelia Huck wrote: (...) ...and here, we return the last error of any of the resets. Two questions: - Does it make sense to continue if we get -EIO? IOW, does "really br

Re: [PATCH v10 13/26] s390: vfio-ap: zeroize the AP queues

2018-09-24 Thread Harald Freudenberger
On 24.09.2018 14:16, Halil Pasic wrote: > > On 09/24/2018 01:36 PM, Cornelia Huck wrote: >> On Wed, 12 Sep 2018 15:43:03 -0400 >> Tony Krowiak wrote: >> >>> From: Tony Krowiak >>> >>> Let's call PAPQ(ZAPQ) to zeroize a queue for each queue configured >>> for a mediated matrix device when it is re

Re: [PATCH v10 13/26] s390: vfio-ap: zeroize the AP queues

2018-09-24 Thread Cornelia Huck
On Mon, 24 Sep 2018 14:16:42 +0200 Halil Pasic wrote: > On 09/24/2018 01:36 PM, Cornelia Huck wrote: > > On Wed, 12 Sep 2018 15:43:03 -0400 > > Tony Krowiak wrote: > >> diff --git a/drivers/s390/crypto/vfio_ap_ops.c > >> b/drivers/s390/crypto/vfio_ap_ops.c > >> index f8b276a..48b1b78 100644 >

Re: [PATCH v10 13/26] s390: vfio-ap: zeroize the AP queues

2018-09-24 Thread Halil Pasic
On 09/24/2018 01:36 PM, Cornelia Huck wrote: > On Wed, 12 Sep 2018 15:43:03 -0400 > Tony Krowiak wrote: > >> From: Tony Krowiak >> >> Let's call PAPQ(ZAPQ) to zeroize a queue for each queue configured >> for a mediated matrix device when it is released. >> >> Zeroizing a queue resets the queu

Re: [PATCH v10 13/26] s390: vfio-ap: zeroize the AP queues

2018-09-24 Thread Cornelia Huck
On Wed, 12 Sep 2018 15:43:03 -0400 Tony Krowiak wrote: > From: Tony Krowiak > > Let's call PAPQ(ZAPQ) to zeroize a queue for each queue configured > for a mediated matrix device when it is released. > > Zeroizing a queue resets the queue, clears all pending > messages for the queue entries and

[PATCH v10 13/26] s390: vfio-ap: zeroize the AP queues

2018-09-12 Thread Tony Krowiak
From: Tony Krowiak Let's call PAPQ(ZAPQ) to zeroize a queue for each queue configured for a mediated matrix device when it is released. Zeroizing a queue resets the queue, clears all pending messages for the queue entries and disables adapter interruptions associated with the queue. Signed-off-