[PATCH V2 0/3] dmaengine: idxd: Error path fixes

From: Reinette Chatre
Date: Wed Dec 07 2022 - 17:52:35 EST


Changes since v1:
- V1: https://lore.kernel.org/lkml/cover.1670005163.git.reinette.chatre@xxxxxxxxx/
- Cover trimmed after obtaining needed information.
- Added Reviewed-by tags.
- cc stable team.
- Please see individual patches for patch specific changes.

Dear Maintainers,

I have been using the IDXD driver to experiment with the upcoming core
changes in support of IMS ([1], [2], [3]). As part of this work I
happened to exercise the error paths within IDXD and encountered
a few issues that are addressed in this series. These changes are
independent from IMS and just aims to make the IDXD driver more
robust against errors.

Your feedback is greatly appreciated.

Reinette

[1] https://lore.kernel.org/lkml/20221111132706.104870257@xxxxxxxxxxxxx
[2] https://lore.kernel.org/lkml/20221111131813.914374272@xxxxxxxxxxxxxxx
[3] https://lore.kernel.org/lkml/20221111133158.196269823@xxxxxxxxxxxxx

Reinette Chatre (3):
dmaengine: idxd: Let probe fail when workqueue cannot be enabled
dmaengine: idxd: Prevent use after free on completion memory
dmaengine: idxd: Do not call DMX TX callbacks during workqueue disable

drivers/dma/idxd/device.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)


base-commit: 76dcd734eca23168cb008912c0f69ff408905235
--
2.34.1