Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH 0/5] s390/vfio-ap: Fixes for queue reset and AQIC handling
@ 2026-12-03 21:45 Jason J. Herne
  2026-12-03 21:45 ` [PATCH 1/5] s390/vfio-ap: Prevent passing unreset queues Jason J. Herne
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Jason J. Herne @ 2026-12-03 21:45 UTC (permalink / raw)
  To: linux-s390
  Cc: linux-kernel, akrowiak, borntraeger, agordeev, gor, hca, mjrosato,
	frankja, imbrenda, jrossi

This is a bugfix series to address problems found during ai lead code review.
Its focus is primarily reset & data security related.

Summary of changes:
- Patch 1: Prevent passing unreset, checkstopped, or deconfigured queues
  through to guests so we don't risk leaking sensitive leftover data.
- Patch 2: Bound the queue reset verification loop (2s timeout) to avoid
  infinite hangs if resets fail to complete (rare or impossible).
- Patch 3: Hold a private page reference on unconfirmed resets to satisfy
  VFIO DMA unmapping while preventing page reuse/corruption by hardware.
- Patch 4: Clear dangling matrix_mdev references and clean up AQIC resources
  for filtered queues during adapter/domain unassignment.
- Patch 5: Fix resource handling and state tracking for rejected or
  non-NORMAL AQIC enable requests.
 

Jason J. Herne (5):
  s390/vfio-ap: Prevent passing unreset queues
  s390/vfio-ap: bound the wait for queue reset verification
  s390/vfio-ap: Hold a private NIB page reference when a reset is
    unconfirmed
  s390/vfio-ap: clear matrix_mdev link for queues not reset on unassign
  s390/vfio-ap: Fix resource handling for rejected AQIC enable requests

 drivers/s390/crypto/vfio_ap_ops.c     | 140 +++++++++++++++++++++-----
 drivers/s390/crypto/vfio_ap_private.h |   2 +
 2 files changed, 119 insertions(+), 23 deletions(-)

-- 
2.56.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-12-03 22:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 21:45 [PATCH 0/5] s390/vfio-ap: Fixes for queue reset and AQIC handling Jason J. Herne
2026-12-03 21:45 ` [PATCH 1/5] s390/vfio-ap: Prevent passing unreset queues Jason J. Herne
2026-12-03 22:08   ` sashiko-bot
2026-12-03 21:45 ` [PATCH 2/5] s390/vfio-ap: bound the wait for queue reset verification Jason J. Herne
2026-12-03 22:08   ` sashiko-bot
2026-12-03 21:45 ` [PATCH 3/5] s390/vfio-ap: Hold a private NIB page reference when a reset is unconfirmed Jason J. Herne
2026-12-03 22:14   ` sashiko-bot
2026-12-03 21:45 ` [PATCH 4/5] s390/vfio-ap: clear matrix_mdev link for queues not reset on unassign Jason J. Herne
2026-12-03 22:02   ` sashiko-bot
2026-12-03 21:45 ` [PATCH 5/5] s390/vfio-ap: Fix resource handling for rejected AQIC enable requests Jason J. Herne
2026-12-03 22:14 ` [PATCH 0/5] s390/vfio-ap: Fixes for queue reset and AQIC handling sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox