lkml.org 
[lkml]   [2022]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v19 14/20] s390/vfio-ap: reset queues after adapter/domain unassignment
From
On 4/4/22 18:10, Tony Krowiak wrote:
> When an adapter or domain is unassigned from an mdev attached to a KVM
> guest, one or more of the guest's queues may get dynamically removed. Since
> the removed queues could get re-assigned to another mdev, they need to be
> reset. So, when an adapter or domain is unassigned from the mdev, the
> queues that are removed from the guest's AP configuration (APCB) will be
> reset.
>
> Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com>
> ---
> drivers/s390/crypto/vfio_ap_ops.c | 152 +++++++++++++++++++-------
> drivers/s390/crypto/vfio_ap_private.h | 2 +
> 2 files changed, 114 insertions(+), 40 deletions(-)


Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com>

\
 
 \ /
  Last update: 2022-06-02 17:01    [W:0.477 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site