Loading
crypto: qat - add auto reset on error
mainline inclusion from mainline-v6.9-rc1 commit f5419a4239af8b3951f990c83d0d8c865a485475 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I9A5BW CVE: N/A Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5419a4239af8b3951f990c83d0d8c865a485475 ------------------------------------- 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. Intel-SIG: commit f5419a4239af crypto: qat - add auto reset on error Backport to support QAT in-tree driver 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> [ Aichun Shi: amend commit log ] Signed-off-by:
Aichun Shi <aichun.shi@intel.com>