mbox series

[0/7] dmaengine: idxd: Add interrupt handle revoke support

Message ID 163474864017.2608004.10983485368237365990.stgit@djiang5-desk3.ch.intel.com (mailing list archive)
Headers show
Series dmaengine: idxd: Add interrupt handle revoke support | expand

Message

Dave Jiang Oct. 20, 2021, 4:53 p.m. UTC
Hi Vinod,
I know this series came in late. If possible, can this be included for the 5.16
merge window please? If not possible, totally understand. Thanks!

The series adds support to refresh the interrupt handles when they become
invalid. Typically this happens during a VM live migration where a VM moves
from one machine to another. The driver will receive an interrupt to
indicate that interrupt handles need to be changed. The driver blocks the
current submissions and acquires new interrupt handles. All submissions
will be held off until the handle is refreshed. Already submitted descriptor
will error with status of "incorrect interrupt handle" and be resubmitted by the
driver.

---

Dave Jiang (7):
      dmaengine: idxd: rework descriptor free path on failure
      dmaengine: idxd: int handle management refactoring
      dmaengine: idxd: move interrupt handle assignment
      dmaengine: idxd: add helper for per interrupt handle drain
      dmaengine: idxd: create locked version of idxd_quiesce() call
      dmaengine: idxd: handle invalid interrupt handle descriptors
      dmaengine: idxd: handle interrupt handle revoked event


 drivers/dma/idxd/device.c    |  24 +++-
 drivers/dma/idxd/dma.c       |  18 ++-
 drivers/dma/idxd/idxd.h      |  13 +-
 drivers/dma/idxd/init.c      |  87 ++++++-------
 drivers/dma/idxd/irq.c       | 228 +++++++++++++++++++++++++++++++++++
 drivers/dma/idxd/registers.h |   1 +
 drivers/dma/idxd/submit.c    |  26 ++--
 drivers/dma/idxd/sysfs.c     |   1 -
 8 files changed, 333 insertions(+), 65 deletions(-)

--