Files
linux-stable-mirror/drivers
Vinicius Costa Gomes 37cf97e374 dmaengine: idxd: Fix freeing the allocated ida too late
[ Upstream commit c311f5e924 ]

It can happen that when the cdev .release() is called, the driver
already called ida_destroy(). Move ida_free() to the _del() path.

We see with DEBUG_KOBJECT_RELEASE enabled and forcing an early PCI
unbind.

Fixes: 04922b7445 ("dmaengine: idxd: fix cdev setup and free device lifetime issues")
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Link: https://patch.msgid.link/20260121-idxd-fix-flr-on-kernel-queues-v3-v3-9-7ed70658a9d1@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-04-02 13:07:32 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-03-25 11:06:02 +01:00
…
…
…
…
…
2026-01-11 15:22:33 +01:00
…
2026-03-04 07:20:58 -05:00
…
…
…
…
…
…
…
…
…
…
…