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

From: Reinette Chatre
Date: Fri Dec 02 2022 - 13:25:32 EST


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.

It is not clear to me if these are appropriate for stable so I am
not including the stable team. Please let me know if you think
otherwise and I can add the necessary Cc. With the refactoring
through the history of the driver I was not able to
identify a Fixes: candidate for all. Patch #3 does look to be a
potentially complicated backport.

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 | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)


base-commit: a4412fdd49dc011bcc2c0d81ac4cab7457092650
--
2.34.1