diff options
author | Dave Jiang <[email protected]> | 2023-04-07 13:31:28 -0700 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-04-12 23:18:44 +0530 |
commit | 0c40bfb4c2dfad00a15337bb6213f92a797e3695 (patch) | |
tree | d6537ecd8c441e12c8496143322b1a434b299c63 /scripts/generate_rust_analyzer.py | |
parent | c9566127f021c891e14c937b1b711874b7880e48 (diff) |
dmaengine: idxd: make misc interrupt one shot
Current code continuously processes the interrupt as long as the hardware
is setting the status bit. There's no reason to do that since the threaded
handler will get called again if another interrupt is asserted.
Also through testing, it has shown that if a misprogrammed (or malicious)
agent can continuously submit descriptors with bad completion record and
causes errors to be reported via the misc interrupt. Continuous processing
by the thread can cause software hang watchdog to kick off since the thread
isn't giving up the CPU.
Reported-by: Sanjay Kumar <[email protected]>
Tested-by: Tony Zhu <[email protected]>
Signed-off-by: Dave Jiang <[email protected]>
Co-developed-by: Fenghua Yu <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions