Re: [PATCH v2 0/2] s390/vfio-ap: do not open code locks for

From: Tony Krowiak
Date: Fri Aug 27 2021 - 09:43:17 EST




On 8/26/21 6:20 PM, Alex Williamson wrote:
On Mon, 23 Aug 2021 17:20:45 -0400
Tony Krowiak <akrowiak@xxxxxxxxxxxxx> wrote:

The subject line does not necessarily encompass both patches of this
two-patch series, but I left it as versions 1 and 2 used this subject
line and I didn't want to confuse those who reviewed those patches.

Change log v1->v2:
-----------------
* Both of these patches were rebased on Alex's linux-vfio-next tree taken
from https://github.com/awilliam/linux-vfio.git.
* Replaced kvm_s390_module_hook structure with a function pointer to the
interception handler for the PQAP(AQIC) instruction.

Tony Krowiak (2):
s390/vfio-ap: r/w lock for PQAP interception handler function pointer
s390/vfio-ap: replace open coded locks for VFIO_GROUP_NOTIFY_SET_KVM
notification

arch/s390/include/asm/kvm_host.h | 8 +-
arch/s390/kvm/kvm-s390.c | 32 ++++++-
arch/s390/kvm/priv.c | 15 +--
drivers/s390/crypto/vfio_ap_ops.c | 127 +++++++++-----------------
drivers/s390/crypto/vfio_ap_private.h | 4 +-
5 files changed, 84 insertions(+), 102 deletions(-)
Applied to vfio next branch for v5.15. Thanks,

Alex

Thank you Alex.