diff options
| author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | 2026-01-21 10:34:28 -0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-02-25 16:39:17 +0530 |
| commit | 52d2edea0d63c935e82631e4b9e4a94eccf97b5b (patch) | |
| tree | 854f07f012d5061f8e40aef827574a163d7cfdd6 /include/asm-cris/git@git.tavy.me:linux.git | |
| parent | caf91cdf2de8b7134749d32cd4ae5520b108abb7 (diff) | |
dmaengine: idxd: Fix crash when the event log is disabled
If reporting errors to the event log is not supported by the hardware,
and an error that causes Function Level Reset (FLR) is received, the
driver will try to restore the event log even if it was not allocated.
Also, only try to free the event log if it was properly allocated.
Fixes: 6078a315aec1 ("dmaengine: idxd: Add idxd_device_config_save() and idxd_device_config_restore() helpers")
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-2-7ed70658a9d1@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/asm-cris/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
