diff options
| author | Giovanni Cabiddu <[email protected]> | 2021-08-12 21:21:15 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2021-08-21 15:44:55 +0800 |
| commit | 7eadcfd633d8ef0082b194693c5057c9652fe243 (patch) | |
| tree | e9cff2fdd337d835de5a4699028c0a16638bff23 /scripts/gdb/linux/mm.py | |
| parent | 0a73c762e1eee33a5e5dc0e3488f1b7cd17249b3 (diff) | |
crypto: qat - prevent spurious MSI interrupt in VF
QAT GEN2 devices suffer from a defect where the MSI interrupt can be
sent multiple times.
If the second (spurious) interrupt is handled before the bottom half
handler runs, then the extra interrupt is effectively ignored because
the bottom half is only scheduled once.
However, if the top half runs again after the bottom half runs, this
will appear as a spurious PF to VF interrupt.
This can be avoided by checking the interrupt mask register in addition
to the interrupt source register in the interrupt handler.
This patch is based on earlier work done by Conor McLoughlin.
Signed-off-by: Giovanni Cabiddu <[email protected]>
Co-developed-by: Marco Chiappero <[email protected]>
Signed-off-by: Marco Chiappero <[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