Skip to content

RFC Eventfd signal on guest AP configuration change

Rorie Reyes kvm linux-s390 lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest2 patches 0 repliesNew
  2. v2 RFC posting 2/22 patches 1 replySuperseded
  3. v2 RFC posting 1/22 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch23 repliesSuperseded

Changes in v3 from the cover letter

- rebased the first commit b26ed71f9647 ("s390/vfio-ap: Signal eventfd when guest AP configuration is changed") since I moved signal_guest_ap_cfg_changed(matrix_mdev); to function vfio_ap_mdev_request
- Fixed commit message to give details regarding my changes for commit 76cd7c4edebf ("s390/vfio-ap: Adding mdev remove notification")

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2s390/vfio-ap: Signal eventfd when guest AP configuration is changeddrivers/s390/crypto/vfio_ap_ops.c drivers/s390/crypto/vfio_ap_private.h include/uapi/linux/vfio.h+53 -10 replies
2/2s390/vfio-ap: Adding mdev remove notificationdrivers/s390/crypto/vfio_ap_ops.c+14 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAnthony Krowiak
1/2R-b T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [RFC PATCH v3 0/2] Eventfd signal on guest AP configuration change

Changelog:

v2:
- Fixing remove notification for AP configuration

v3:
- rebased the first commit b26ed71f9647 ("s390/vfio-ap: Signal eventfd when guest AP configuration is changed") since I moved signal_guest_ap_cfg_changed(matrix_mdev); to function vfio_ap_mdev_request
- Fixed commit message to give details regarding my changes for commit 76cd7c4edebf ("s390/vfio-ap: Adding mdev remove notification")

--------------------------------------------------------------------------

The purpose of this patch is to provide immediate notification of changes made to a guest's AP configuration by the vfio_ap driver. This will enable the guest to take immediate action rather than relying on polling or some other inefficient mechanism to detect changes to its AP configuration.

Note that there are corresponding QEMU patches that will be shipped along with this patch (see vfio-ap: Report vfio-ap configuration changes) that will pick up the eventfd signal.

Rorie Reyes (2):
s390/vfio-ap: Signal eventfd when guest AP configuration is changed s390/vfio-ap: Adding mdev remove notification

 drivers/s390/crypto/vfio_ap_ops.c     | 65 ++++++++++++++++++++++++++-
 drivers/s390/crypto/vfio_ap_private.h |  2 +
 include/uapi/linux/vfio.h             |  1 +
 3 files changed, 67 insertions(+), 1 deletion(-)
Signature · 1 line
2.48.1