[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240111151718.5d32e747.pasic@linux.ibm.com>
Date: Thu, 11 Jan 2024 15:17:18 +0100
From: Halil Pasic <pasic@...ux.ibm.com>
To: Tony Krowiak <akrowiak@...ux.ibm.com>
Cc: linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org, jjherne@...ux.ibm.com, borntraeger@...ibm.com,
pbonzini@...hat.com, frankja@...ux.ibm.com, imbrenda@...ux.ibm.com,
alex.williamson@...hat.com, kwankhede@...dia.com,
stable@...r.kernel.org, Halil Pasic <pasic@...ux.ibm.com>
Subject: Re: [PATCH v2 6/6] s390/vfio-ap: do not reset queue removed from
host config
On Tue, 12 Dec 2023 16:25:17 -0500
Tony Krowiak <akrowiak@...ux.ibm.com> wrote:
> When a queue is unbound from the vfio_ap device driver, it is reset to
> ensure its crypto data is not leaked when it is bound to another device
> driver. If the queue is unbound due to the fact that the adapter or domain
> was removed from the host's AP configuration, then attempting to reset it
> will fail with response code 01 (APID not valid) getting returned from the
> reset command. Let's ensure that the queue is assigned to the host's
> configuration before resetting it.
>
> Signed-off-by: Tony Krowiak <akrowiak@...ux.ibm.com>
Reviewed-by: Halil Pasic <pasic@...ux.ibm.com>
Powered by blists - more mailing lists