diff options
| author | Damian Muszynski <damian.muszynski@intel.com> | 2026-04-07 12:04:26 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-05-05 16:15:24 +0800 |
| commit | 2e96024632b386c86860aa78639940fc96d6fcc9 (patch) | |
| tree | 6e2664d237b301add457dd1b98ef31769acb2330 /tools/perf/scripts/python | |
| parent | 52d167bb09181452a8358163b034bb038b1d26dc (diff) | |
crypto: qat - fix heartbeat error injection
The current implementation of the heartbeat error injection uses
adf_disable_arb_thd() to stop a specific accelerator engine thread
from processing requests. This does not reliably prevent the device
from generating responses.
Fix the error injection by disabling the device arbiter through
exit_arb() instead. This properly simulates a device failure by
stopping all arbitration, which results in missing responses for
sent requests.
Remove the now unused adf_disable_arb_thd() function and its
declaration.
Fixes: e2b67859ab6e ("crypto: qat - add heartbeat error simulator")
Signed-off-by: Damian Muszynski <damian.muszynski@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
