[PATCH v5 0/4] s390/vfio-ap: Fix pre-existing bugs in vfio_ap device driver

Anthony Krowiak posted 4 patches 3 weeks, 4 days ago
There is a newer version of this series
drivers/s390/crypto/vfio_ap_ops.c | 273 ++++++++++++++++++++++++++----
1 file changed, 243 insertions(+), 30 deletions(-)
[PATCH v5 0/4] s390/vfio-ap: Fix pre-existing bugs in vfio_ap device driver
Posted by Anthony Krowiak 3 weeks, 4 days ago
The sashiko AI reported several pre-existing bugs in the vfio_ap device
driver code while reviewing unrelated patches. This series fixes four
such bugs.

Change log v4 => v5:
~~~~~~~~~~~~~~~~~~~
Patch 1/4: Fix leak of pinned NIB and registered NISC in vfio_ap_irq_enable
* Fixed bug in vfio_ap_irq_enable() whereby the AQIC resources are freed
  when vfio_ap_wait_for_irq_state() returns false.

Patch 3/4: Fix unbounded loop in apq_reset_check()
* Refactored apq_status_check() to verify the queue was zeroized.

Anthony Krowiak (4):
  s390/vfio-ap: Fix leak of pinned NIB and registered NISC in
    vfio_ap_irq_enable/disable()
  s390/vfio-ap: Fix failure to release IRQ notification eventfd contexts
  s390/vfio-ap: Fix unbounded loop in apq_reset_check()
  s390/vfio-ap: Use AP_DOMAINS for adm_add bitmap size in
    vfio_ap_mdev_cfg_add()

 drivers/s390/crypto/vfio_ap_ops.c | 273 ++++++++++++++++++++++++++----
 1 file changed, 243 insertions(+), 30 deletions(-)

-- 
2.53.0