diff options
| author | Marco Chiappero <[email protected]> | 2021-08-12 21:21:16 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2021-08-21 15:44:55 +0800 |
| commit | 3213488db01e7ddc389be2390cc154d926e714a2 (patch) | |
| tree | c68a007c1302af4ff503815d6e9eccb76974c775 /scripts/gdb/linux/mm.py | |
| parent | 7eadcfd633d8ef0082b194693c5057c9652fe243 (diff) | |
crypto: qat - prevent spurious MSI interrupt in PF
There is a chance that the PFVF handler, adf_vf2pf_req_hndl(), runs
twice for the same request when multiple interrupts come simultaneously
from different VFs.
Since the source VF is identified by a positional bit set in the ERRSOU
registers and that is not cleared until the bottom half completes, new
top halves from other VFs may reschedule a second bottom half for
previous interrupts.
This patch solves the problem in the ISR handler by not considering
sources with already disabled interrupts (and processing pending), as
set in the ERRMSK registers.
Also, move some definitions where actually needed.
Signed-off-by: Marco Chiappero <[email protected]>
Co-developed-by: Giovanni Cabiddu <[email protected]>
Signed-off-by: Giovanni Cabiddu <[email protected]>
Reviewed-by: Fiona Trahe <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions