diff options
author | Damian Muszynski <damian.muszynski@intel.com> | 2024-02-02 18:53:22 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-02-09 12:57:18 +0800 |
commit | f5419a4239af8b3951f990c83d0d8c865a485475 (patch) | |
tree | a0d1258e3e5c735f7239adb411bc0df5008804e4 /rust/bindings/lib.rs | |
parent | 2aaa1995a94a3187e52ddb9f127fa1307ee8ad00 (diff) | |
download | linux-stable-f5419a4239af8b3951f990c83d0d8c865a485475.tar.gz linux-stable-f5419a4239af8b3951f990c83d0d8c865a485475.tar.bz2 linux-stable-f5419a4239af8b3951f990c83d0d8c865a485475.zip |
crypto: qat - add auto reset on error
Expose the `auto_reset` sysfs attribute to configure the driver to reset
the device when a fatal error is detected.
When auto reset is enabled, the driver resets the device when it detects
either an heartbeat failure or a fatal error through an interrupt.
This patch is based on earlier work done by Shashank Gupta.
Signed-off-by: Damian Muszynski <damian.muszynski@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: Markas Rapoportas <markas.rapoportas@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Mun Chun Yep <mun.chun.yep@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/bindings/lib.rs')
0 files changed, 0 insertions, 0 deletions