[RFC PATCH v2 0/2] Eventfd signal on guest AP configuration change

Rorie Reyes
2025-02-26T18:03:58Z

Changelog:

v2:
- Fixing remove notification for AP configuration

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

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: Fixing 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(-)

--
2.39.5 (Apple Git-154)