dmaengine: idxd: fix event log crash and memory leak on FLR
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 1 replyIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dmaengine: idxd: Fix crash when the event log is disableddrivers/ | +3 | 0 replies | |
| 2/2 | dmaengine: idxd: Fix leaking event log memorydrivers/ | +0 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Dave Jiang |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 6.6.y v2 0/2] dmaengine: idxd: fix event log crash and memory leak on FLR
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(-)
Signature · 1 line
2.43.0