[PATCH 6.6.y v2 0/2] dmaengine: idxd: fix event log crash and memory leak on FLR
From: Wenshan Lan
Date: Sat May 09 2026 - 03:50:07 EST
v1->v2: add commit 52d2edea0d63c ("dmaengine: idxd: Fix crash when the event log is disabled")
Backport of two upstream fixes for the dmaengine idxd event log handling
in drivers/dma/idxd/device.c. These fix a crash and a memory leak when
the event log is disabled or a Function Level Reset (FLR) occurs.
Backport notes:
- Commit 8a5084ab3af8: The upstream fix also touches idxd_device_config_restore(),
which does not exist in v6.6 (introduced in 6.14 via commit 6078a315aec1). Only
the idxd_device_evl_free() NULL check portion was backported.
- Commit 2ea19af4a590: Clean cherry-pick, no conflicts.
Vinicius Costa Gomes (2):
dmaengine: idxd: Fix crash when the event log is disabled
dmaengine: idxd: Fix leaking event log memory
drivers/dma/idxd/device.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--
2.43.0